Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 106 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 189.2 kB / 24.51 MB, free: 4.051 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2316/0.2316, allocations: 44.91 MB / 353.5 MB, free: 11.85 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 63.91 kB / 497.7 MB, free: 1.031 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3518, allocations: 64.28 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01265/0.3645, allocations: 9.814 MB / 0.5584 GB, free: 5.512 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007493/0.372, allocations: 2.957 MB / 0.5613 GB, free: 2.66 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002209/0.3742, allocations: 55.81 kB / 0.5613 GB, free: 2.605 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004078/0.3783, allocations: 2.033 MB / 0.5633 GB, free: 0.5664 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003223/0.3815, allocations: 1.164 MB / 0.5645 GB, free: 15.4 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007721/0.3822, allocations: 287.4 kB / 0.5647 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00341/0.3857, allocations: 2.329 MB / 0.567 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002533/0.3882, allocations: 1.648 MB / 0.5686 GB, free: 11.09 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.3895, allocations: 0.9112 MB / 0.5695 GB, free: 10.18 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.3913, allocations: 1.285 MB / 0.5708 GB, free: 8.891 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003843/0.3917, allocations: 196 kB / 0.5709 GB, free: 8.699 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.393, allocations: 0.7294 MB / 0.5717 GB, free: 7.969 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001202/0.3942, allocations: 1.184 MB / 0.5728 GB, free: 6.781 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001545/0.3958, allocations: 1.351 MB / 0.5741 GB, free: 5.422 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00561/0.4014, allocations: 4.47 MB / 0.5785 GB, free: 0.9336 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.4014, allocations: 4 kB / 0.5785 GB, free: 0.9297 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.465e-06/0.4014, allocations: 0 / 0.5785 GB, free: 0.9297 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0001115/0.4015, allocations: 0 / 0.5785 GB, free: 0.9297 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1004
 * Number of variables: 1004
Notification: Performance of Generate backend data structure: time 0.005509/0.407, allocations: 2.943 MB / 0.5814 GB, free: 13.95 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.4071, allocations: 12.03 kB / 0.5814 GB, free: 13.93 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005446/0.4125, allocations: 1.606 MB / 0.583 GB, free: 12.32 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.4154, allocations: 1.29 MB / 0.5842 GB, free: 11 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.4155, allocations: 148.1 kB / 0.5844 GB, free: 10.86 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003793/0.4159, allocations: 195.8 kB / 0.5845 GB, free: 10.67 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.4262, allocations: 6.428 MB / 0.5908 GB, free: 3.969 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/0.4262, allocations: 11.88 kB / 0.5908 GB, free: 3.957 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/0.4265, allocations: 87.91 kB / 0.5909 GB, free: 3.871 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002292/0.4288, allocations: 1.414 MB / 0.5923 GB, free: 2.453 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.4391, allocations: 5.495 MB / 0.5977 GB, free: 12.94 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03293/0.4721, allocations: 20.4 MB / 0.6176 GB, free: 7.949 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004516/0.4766, allocations: 1.485 MB / 0.619 GB, free: 6.445 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00121/0.4778, allocations: 0.6419 MB / 0.6197 GB, free: 5.801 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.007933/0.4857, allocations: 3.191 MB / 0.6228 GB, free: 2.582 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.4858, allocations: 39 kB / 0.6228 GB, free: 2.535 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=78): time 4.579e-06/0.4858, allocations: 0 / 0.6228 GB, free: 2.535 MB / 462.1 MB
Notification: Performance of matching and sorting (n=78): time 0.006035/0.4918, allocations: 1.986 MB / 0.6248 GB, free: 0.5469 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.4919, allocations: 59.84 kB / 0.6248 GB, free: 488 kB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004164/0.496, allocations: 1.963 MB / 0.6267 GB, free: 14.51 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.752e-05/0.4961, allocations: 37.7 kB / 0.6268 GB, free: 14.46 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.002089/0.4982, allocations: 1.965 MB / 0.6287 GB, free: 12.48 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004628/0.4987, allocations: 325.5 kB / 0.629 GB, free: 12.16 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.4999, allocations: 0.6274 MB / 0.6296 GB, free: 11.52 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002009/0.5001, allocations: 357.9 kB / 0.63 GB, free: 11.16 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.5017, allocations: 0.8881 MB / 0.6308 GB, free: 10.27 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003175/0.5048, allocations: 2.774 MB / 0.6335 GB, free: 6.559 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005157/0.51, allocations: 4 MB / 0.6374 GB, free: 1.617 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.144e-05/0.5101, allocations: 23.94 kB / 0.6375 GB, free: 1.594 MB / 478.1 MB
Notification: Performance of matching and sorting (n=399) (initialization): time 0.006641/0.5167, allocations: 3.565 MB / 0.6409 GB, free: 14.02 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.874e-05/0.5168, allocations: 32 kB / 0.641 GB, free: 13.99 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.5169, allocations: 68 kB / 0.641 GB, free: 13.93 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.517, allocations: 92.78 kB / 0.6411 GB, free: 13.84 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.5192, allocations: 0.6589 MB / 0.6418 GB, free: 13.18 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001387/0.5193, allocations: 135.5 kB / 0.6419 GB, free: 13.04 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.5215, allocations: 424.8 kB / 0.6423 GB, free: 12.62 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003377/0.5219, allocations: 191.9 kB / 0.6425 GB, free: 12.44 MB / 494.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 304
 * Number of states: 0 ()
 * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 (365):
 * Single equations (assignments): 360
 * 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.002473/0.5244, allocations: 1.377 MB / 0.6438 GB, free: 11.05 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.5247, allocations: 170.8 kB / 0.644 GB, free: 10.88 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.5251, allocations: 197.2 kB / 0.6442 GB, free: 10.69 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/0.5252, allocations: 8 kB / 0.6442 GB, free: 10.68 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.5252, allocations: 0 / 0.6442 GB, free: 10.68 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5252, allocations: 3.984 kB / 0.6442 GB, free: 10.68 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007815/0.533, allocations: 4.073 MB / 0.6482 GB, free: 6.465 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/0.533, allocations: 8 kB / 0.6482 GB, free: 6.457 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.5335, allocations: 103.8 kB / 0.6483 GB, free: 6.355 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/0.5335, allocations: 12 kB / 0.6483 GB, free: 6.344 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.5336, allocations: 16 kB / 0.6483 GB, free: 6.328 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-05/0.5336, allocations: 19.92 kB / 0.6483 GB, free: 6.309 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-05/0.5336, allocations: 11.94 kB / 0.6483 GB, free: 6.297 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.5355, allocations: 1.259 MB / 0.6496 GB, free: 4.93 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000518/0.536, allocations: 190.5 kB / 0.6497 GB, free: 4.742 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003239/0.5364, allocations: 19.94 kB / 0.6498 GB, free: 4.723 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006322/0.537, allocations: 31.92 kB / 0.6498 GB, free: 4.691 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.5371, allocations: 63.75 kB / 0.6499 GB, free: 4.629 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.656e-05/0.5372, allocations: 35.97 kB / 0.6499 GB, free: 4.594 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.002443/0.5396, allocations: 1.283 MB / 0.6511 GB, free: 3.32 MB / 494.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.5396, allocations: 0 / 0.6511 GB, free: 3.32 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.003082/0.5427, allocations: 0.7086 MB / 0.6518 GB, free: 2.609 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 28
 * 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 (57):
 * Single equations (assignments): 54
 * 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.000362/0.5431, allocations: 151.4 kB / 0.652 GB, free: 2.449 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.00339/0.5465, allocations: 1.976 MB / 0.6539 GB, free: 500 kB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.832e-06/0.5465, allocations: 0 / 0.6539 GB, free: 500 kB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006722/0.5471, allocations: 429.5 kB / 0.6543 GB, free: 72 kB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.5488, allocations: 253.2 kB / 0.6546 GB, free: 15.83 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.5597, allocations: 5.245 MB / 0.6597 GB, free: 10.46 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004402/0.5641, allocations: 2.316 MB / 0.6619 GB, free: 8.113 MB / 0.4981 GB
Notification: Performance of simCode: alias equations: time 0.002636/0.5667, allocations: 0.9678 MB / 0.6629 GB, free: 7.141 MB / 0.4981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.5671, allocations: 119.4 kB / 0.663 GB, free: 7.023 MB / 0.4981 GB
Notification: Performance of SimCode: time 1.162e-06/0.5671, allocations: 0 / 0.663 GB, free: 7.023 MB / 0.4981 GB
Notification: Performance of Templates: time 0.04025/0.6074, allocations: 17.48 MB / 0.6801 GB, free: 5.582 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.002455205656588]