Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 73.09 kB / 19.93 MB, free: 1.773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002421/0.002421, allocations: 170.5 kB / 23.22 MB, free: 4.883 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 158.6 MB / 185 MB, free: 6.41 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2099/0.2099, allocations: 32.38 MB / 269.6 MB, free: 2.824 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 407.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.354e-05/3.601e-05, allocations: 2.281 kB / 407.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01284/0.01288, allocations: 9.693 MB / 417 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007426/0.0203, allocations: 2.917 MB / 420 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001696/0.022, allocations: 67.81 kB / 420 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004595/0.02659, allocations: 2.06 MB / 422.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.03043, allocations: 1.279 MB / 423.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009446/0.03137, allocations: 315.1 kB / 423.7 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003813/0.03518, allocations: 2.543 MB / 426.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/0.03782, allocations: 1.863 MB / 428.1 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.03993, allocations: 1.427 MB / 429.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.04202, allocations: 1.278 MB / 430.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004023/0.04242, allocations: 220 kB / 431 MB, free: 9.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.04386, allocations: 0.6631 MB / 431.7 MB, free: 8.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001481/0.04534, allocations: 1.324 MB / 433 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.04656, allocations: 0.8098 MB / 433.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007384/0.05394, allocations: 4.816 MB / 438.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.05395, allocations: 0 / 438.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.05395, allocations: 0 / 438.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001018/0.05405, allocations: 0 / 438.6 MB, free: 1.426 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.006715/0.06077, allocations: 3.125 MB / 441.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.06081, allocations: 8.031 kB / 441.7 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00592/0.06673, allocations: 1.664 MB / 443.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.07029, allocations: 1.368 MB / 444.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.07044, allocations: 164.3 kB / 444.9 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004558/0.07089, allocations: 204.3 kB / 445.1 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/0.08498, allocations: 6.982 MB / 452.1 MB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.897e-05/0.08505, allocations: 15.88 kB / 452.1 MB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003558/0.0854, allocations: 91.89 kB / 452.2 MB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002623/0.08803, allocations: 1.521 MB / 453.7 MB, free: 1.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2787/0.3667, allocations: 5.93 MB / 459.7 MB, free: 52.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04738/0.4141, allocations: 20.18 MB / 479.9 MB, free: 38.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004995/0.4191, allocations: 1.741 MB / 481.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.4203, allocations: 0.7346 MB / 482.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007822/0.4281, allocations: 3.435 MB / 485.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.4281, allocations: 38.62 kB / 485.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 6.702e-06/0.4281, allocations: 0 / 485.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.006051/0.4342, allocations: 2.387 MB / 488.2 MB, free: 34.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.4343, allocations: 60.06 kB / 488.3 MB, free: 34.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/0.4383, allocations: 2.039 MB / 490.3 MB, free: 32.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001992/0.4385, allocations: 44.72 kB / 490.3 MB, free: 32.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001491/0.44, allocations: 2.078 MB / 492.4 MB, free: 30.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004383/0.4404, allocations: 392 kB / 492.8 MB, free: 29.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.4415, allocations: 0.6666 MB / 493.5 MB, free: 29.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4416, allocations: 349.9 kB / 493.8 MB, free: 28.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.4431, allocations: 0.998 MB / 494.8 MB, free: 27.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002664/0.4457, allocations: 2.994 MB / 497.8 MB, free: 23.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/0.4494, allocations: 4.358 MB / 0.4904 GB, free: 18.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-05/0.4495, allocations: 20 kB / 0.4904 GB, free: 18.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005245/0.4547, allocations: 3.887 MB / 0.4942 GB, free: 14.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.282e-05/0.4548, allocations: 36 kB / 0.4942 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.886e-05/0.4548, allocations: 68 kB / 0.4943 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.904e-05/0.4549, allocations: 99.94 kB / 0.4944 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/0.4567, allocations: 0.7252 MB / 0.4951 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.218e-05/0.4568, allocations: 143.4 kB / 0.4952 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.4588, allocations: 457 kB / 0.4957 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00021/0.459, allocations: 200 kB / 0.4959 GB, free: 12.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (401): * Single equations (assignments): 396 * 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.002084/0.4611, allocations: 1.461 MB / 0.4973 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.4613, allocations: 170.8 kB / 0.4975 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.4629, allocations: 1.235 MB / 0.4987 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.4629, allocations: 15.94 kB / 0.4987 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.463, allocations: 0 / 0.4987 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.463, allocations: 3.984 kB / 0.4987 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00568/0.4686, allocations: 3.971 MB / 0.5026 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.4687, allocations: 12 kB / 0.5026 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.4692, allocations: 139.7 kB / 0.5027 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/0.4692, allocations: 13.59 kB / 0.5027 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.521e-05/0.4693, allocations: 35.98 kB / 0.5028 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.4693, allocations: 23.88 kB / 0.5028 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.4693, allocations: 15.94 kB / 0.5028 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.4708, allocations: 1.546 MB / 0.5043 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.4711, allocations: 187.4 kB / 0.5045 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.4713, allocations: 24 kB / 0.5045 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.4719, allocations: 43.91 kB / 0.5045 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.472, allocations: 83.66 kB / 0.5046 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/0.472, allocations: 39.98 kB / 0.5047 GB, free: 3.453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001234/0.4733, allocations: 1.171 MB / 0.5058 GB, free: 2.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4733, allocations: 0 / 0.5058 GB, free: 2.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002843/0.4761, allocations: 0.8018 MB / 0.5066 GB, free: 1.484 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0003269/0.4764, allocations: 158.4 kB / 0.5067 GB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00344/0.4799, allocations: 2.219 MB / 0.5089 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.4799, allocations: 4.812 kB / 0.5089 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008395/0.4807, allocations: 0.5291 MB / 0.5094 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.4821, allocations: 199.2 kB / 0.5096 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.4927, allocations: 5.778 MB / 0.5153 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002709/0.4954, allocations: 1.892 MB / 0.5171 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002511/0.4979, allocations: 1.017 MB / 0.5181 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/0.4983, allocations: 132.5 kB / 0.5182 GB, free: 5.387 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4983, allocations: 0 / 0.5182 GB, free: 5.387 MB / 398.1 MB Notification: Performance of Templates: time 0.03353/0.5318, allocations: 12.83 MB / 0.5308 GB, free: 8.645 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.141563292592764]