Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007953/0.0007954, allocations: 90.25 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009103/0.0009103, allocations: 203.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.128/1.128, allocations: 227.7 MB / 246.8 MB, free: 9.699 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1625/0.1625, allocations: 46.19 MB / 345.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002137/0.0002137, allocations: 11.94 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08818, allocations: 63.56 MB / 483.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1983/0.2865, allocations: 36.77 MB / 0.5076 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.2993, allocations: 7.583 MB / 0.5151 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005115/0.3044, allocations: 156.2 kB / 0.5152 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008573/0.3053, allocations: 316.6 kB / 0.5155 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002486/0.3078, allocations: 1.121 MB / 0.5166 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.3085, allocations: 321.8 kB / 0.5169 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003734/0.3122, allocations: 3.767 MB / 0.5206 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004558/0.3168, allocations: 4.176 MB / 0.5247 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008853/0.3177, allocations: 0.7135 MB / 0.5254 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.3188, allocations: 1.171 MB / 0.5265 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.3189, allocations: 99.31 kB / 0.5266 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000976/0.3199, allocations: 0.6382 MB / 0.5272 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007099/0.3206, allocations: 1.157 MB / 0.5284 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006759/0.3213, allocations: 1.357 MB / 0.5297 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.3241, allocations: 4.729 MB / 0.5343 GB, free: 2.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.3241, allocations: 3.984 kB / 0.5343 GB, free: 2.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3241, allocations: 4 kB / 0.5343 GB, free: 2.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.008e-05/0.3241, allocations: 2.312 kB / 0.5343 GB, free: 2.531 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.00294/0.3271, allocations: 2.657 MB / 0.5369 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.3271, allocations: 9.344 kB / 0.5369 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004206/0.3313, allocations: 1.647 MB / 0.5385 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.3331, allocations: 1.482 MB / 0.54 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.943e-05/0.3332, allocations: 178.7 kB / 0.5401 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/0.3336, allocations: 232.9 kB / 0.5404 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007907/0.3415, allocations: 7.107 MB / 0.5473 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.494e-05/0.3415, allocations: 11.88 kB / 0.5473 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002341/0.3418, allocations: 108.6 kB / 0.5474 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00179/0.3436, allocations: 1.45 MB / 0.5488 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008016/0.3516, allocations: 5.958 MB / 0.5546 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0208/0.3724, allocations: 22.46 MB / 0.5766 GB, free: 10.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.3763, allocations: 2.189 MB / 0.5787 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008471/0.3771, allocations: 0.7764 MB / 0.5795 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004903/0.382, allocations: 3.849 MB / 0.5832 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.3821, allocations: 47.05 kB / 0.5833 GB, free: 3.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 2.174e-06/0.3821, allocations: 4 kB / 0.5833 GB, free: 3.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.005162/0.3872, allocations: 2.239 MB / 0.5855 GB, free: 1.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.3873, allocations: 67.97 kB / 0.5855 GB, free: 1.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002075/0.3894, allocations: 2.052 MB / 0.5875 GB, free: 15.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.3894, allocations: 37.7 kB / 0.5876 GB, free: 15.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.3904, allocations: 2.032 MB / 0.5896 GB, free: 13.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/0.3907, allocations: 342.3 kB / 0.5899 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.3909, allocations: 295.9 kB / 0.5902 GB, free: 12.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3911, allocations: 353.9 kB / 0.5905 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.3921, allocations: 0.9352 MB / 0.5914 GB, free: 11.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.3942, allocations: 2.876 MB / 0.5942 GB, free: 7.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/0.3977, allocations: 4.151 MB / 0.5983 GB, free: 2.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/0.3977, allocations: 20 kB / 0.5983 GB, free: 2.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.004218/0.4019, allocations: 3.693 MB / 0.6019 GB, free: 14.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.402, allocations: 36 kB / 0.6019 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.914e-05/0.402, allocations: 68.88 kB / 0.602 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-05/0.4021, allocations: 95.94 kB / 0.6021 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.4037, allocations: 0.6901 MB / 0.6028 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.531e-05/0.4038, allocations: 135.5 kB / 0.6029 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/0.4052, allocations: 435.3 kB / 0.6033 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.4054, allocations: 198.6 kB / 0.6035 GB, free: 13.07 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 377 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001744/0.4072, allocations: 1.503 MB / 0.605 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.4073, allocations: 169.8 kB / 0.6051 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.4077, allocations: 218.2 kB / 0.6053 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.4077, allocations: 8 kB / 0.6054 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.4077, allocations: 0 / 0.6054 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4077, allocations: 3.984 kB / 0.6054 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005718/0.4135, allocations: 4.934 MB / 0.6102 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.4135, allocations: 11.94 kB / 0.6102 GB, free: 6.059 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000369/0.4139, allocations: 119.8 kB / 0.6103 GB, free: 5.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.4139, allocations: 12.03 kB / 0.6103 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.044e-05/0.4139, allocations: 24 kB / 0.6103 GB, free: 5.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.4139, allocations: 15.92 kB / 0.6104 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.4139, allocations: 15.94 kB / 0.6104 GB, free: 5.875 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.4152, allocations: 1.398 MB / 0.6117 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.4155, allocations: 294.3 kB / 0.612 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.4157, allocations: 27.98 kB / 0.612 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000465/0.4161, allocations: 31.88 kB / 0.6121 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.131e-05/0.4162, allocations: 70.05 kB / 0.6121 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.4163, allocations: 39.98 kB / 0.6122 GB, free: 3.883 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001626/0.4179, allocations: 1.444 MB / 0.6136 GB, free: 2.418 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4179, allocations: 0 / 0.6136 GB, free: 2.418 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002153/0.4201, allocations: 0.7658 MB / 0.6143 GB, free: 1.648 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002405/0.4203, allocations: 157.9 kB / 0.6145 GB, free: 1.484 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.4226, allocations: 2.143 MB / 0.6166 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4226, allocations: 0 / 0.6166 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005098/0.4231, allocations: 0.5009 MB / 0.6171 GB, free: 14.86 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.4259, allocations: 261.1 kB / 0.6173 GB, free: 14.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007216/0.4331, allocations: 7.271 MB / 0.6244 GB, free: 7.203 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/0.4352, allocations: 2.503 MB / 0.6269 GB, free: 4.668 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001959/0.4372, allocations: 1.028 MB / 0.6279 GB, free: 3.637 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.4375, allocations: 135.4 kB / 0.628 GB, free: 3.508 MB / 478.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4375, allocations: 0 / 0.628 GB, free: 3.508 MB / 478.1 MB Notification: Performance of Templates: time 0.0241/0.4616, allocations: 15.47 MB / 0.6431 GB, free: 4.109 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches