Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001382/0.001382, allocations: 105.1 kB / 21.22 MB, free: 0.5117 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001679/0.001679, allocations: 217.3 kB / 24.54 MB, free: 3.898 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 230.3 MB / 258 MB, free: 8.18 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2446/0.2446, allocations: 46.93 MB / 361.4 MB, free: 4.383 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 79.86 kB / 0.4972 GB, free: 7.5 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3235, allocations: 66.04 MB / 0.5616 GB, free: 4.508 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01146/0.3349, allocations: 9.594 MB / 0.571 GB, free: 10.86 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006217/0.3411, allocations: 2.967 MB / 0.5739 GB, free: 7.891 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.3425, allocations: 59.81 kB / 0.574 GB, free: 7.832 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004485/0.347, allocations: 2.029 MB / 0.576 GB, free: 5.797 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004121/0.3511, allocations: 1.129 MB / 0.5771 GB, free: 4.664 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.3523, allocations: 291.4 kB / 0.5773 GB, free: 4.379 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004632/0.3569, allocations: 2.329 MB / 0.5796 GB, free: 2.043 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002973/0.3599, allocations: 1.625 MB / 0.5812 GB, free: 384 kB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.3617, allocations: 0.884 MB / 0.5821 GB, free: 15.49 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.3641, allocations: 1.254 MB / 0.5833 GB, free: 14.23 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0006339/0.3647, allocations: 196 kB / 0.5835 GB, free: 14.04 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.3663, allocations: 0.7255 MB / 0.5842 GB, free: 13.31 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001509/0.3678, allocations: 1.137 MB / 0.5853 GB, free: 12.17 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001852/0.3697, allocations: 1.308 MB / 0.5866 GB, free: 10.86 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005003/0.3747, allocations: 4.334 MB / 0.5908 GB, free: 6.504 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3747, allocations: 0 / 0.5908 GB, free: 6.504 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.283e-06/0.3747, allocations: 0 / 0.5908 GB, free: 6.504 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 4.871e-05/0.3748, allocations: 0 / 0.5908 GB, free: 6.504 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 975
 * Number of variables: 975
Notification: Performance of Generate backend data structure: time 0.004575/0.3793, allocations: 2.874 MB / 0.5936 GB, free: 3.586 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.3794, allocations: 8.031 kB / 0.5936 GB, free: 3.578 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005312/0.3847, allocations: 1.574 MB / 0.5952 GB, free: 2 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.387, allocations: 1.275 MB / 0.5964 GB, free: 0.6953 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.3871, allocations: 148 kB / 0.5965 GB, free: 0.5508 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.3875, allocations: 191.8 kB / 0.5967 GB, free: 372 kB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.009418/0.3969, allocations: 6.242 MB / 0.6028 GB, free: 9.844 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.441e-05/0.3969, allocations: 11.88 kB / 0.6028 GB, free: 9.832 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.3972, allocations: 91.91 kB / 0.6029 GB, free: 9.742 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002208/0.3994, allocations: 1.34 MB / 0.6042 GB, free: 8.398 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009221/0.4086, allocations: 5.34 MB / 0.6094 GB, free: 3.047 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0269/0.4355, allocations: 19.99 MB / 0.629 GB, free: 14.47 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003965/0.4395, allocations: 1.484 MB / 0.6304 GB, free: 12.98 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0009524/0.4404, allocations: 0.6484 MB / 0.631 GB, free: 12.32 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006295/0.4467, allocations: 3.156 MB / 0.6341 GB, free: 9.137 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4468, allocations: 42.92 kB / 0.6342 GB, free: 9.086 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=78): time 3.045e-06/0.4468, allocations: 4 kB / 0.6342 GB, free: 9.082 MB / 478.1 MB
Notification: Performance of matching and sorting (n=78): time 0.005616/0.4524, allocations: 1.982 MB / 0.6361 GB, free: 7.09 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.4524, allocations: 59.78 kB / 0.6362 GB, free: 7.02 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002741/0.4552, allocations: 1.942 MB / 0.6381 GB, free: 5.074 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.4552, allocations: 37.64 kB / 0.6381 GB, free: 5.031 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001418/0.4566, allocations: 1.907 MB / 0.64 GB, free: 3.102 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000302/0.4569, allocations: 325.5 kB / 0.6403 GB, free: 2.781 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007821/0.4577, allocations: 0.6273 MB / 0.6409 GB, free: 2.145 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001889/0.4579, allocations: 353.9 kB / 0.6412 GB, free: 1.793 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.4592, allocations: 0.8881 MB / 0.6421 GB, free: 0.9023 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/0.4622, allocations: 2.755 MB / 0.6448 GB, free: 13.21 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004768/0.467, allocations: 3.958 MB / 0.6486 GB, free: 8.332 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.744e-05/0.467, allocations: 20 kB / 0.6487 GB, free: 8.312 MB / 494.1 MB
Notification: Performance of matching and sorting (n=396) (initialization): time 0.005581/0.4726, allocations: 3.538 MB / 0.6521 GB, free: 4.77 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.4726, allocations: 32 kB / 0.6521 GB, free: 4.738 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.511e-05/0.4727, allocations: 72 kB / 0.6522 GB, free: 4.668 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 8.919e-05/0.4728, allocations: 87.94 kB / 0.6523 GB, free: 4.582 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.4746, allocations: 0.6595 MB / 0.6529 GB, free: 3.922 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001202/0.4747, allocations: 127.5 kB / 0.6531 GB, free: 3.797 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.4769, allocations: 428.8 kB / 0.6535 GB, free: 3.375 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/0.4771, allocations: 196 kB / 0.6537 GB, free: 3.184 MB / 494.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 301
 * Number of states: 0 ()
 * Number of discrete variables: 26 (cutTorque.torqueArrow.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 (362):
 * Single equations (assignments): 357
 * 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.002245/0.4794, allocations: 1.338 MB / 0.655 GB, free: 1.832 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.4796, allocations: 166.9 kB / 0.6551 GB, free: 1.668 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.48, allocations: 196.9 kB / 0.6553 GB, free: 1.473 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.48, allocations: 11.94 kB / 0.6553 GB, free: 1.461 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.4801, allocations: 0 / 0.6553 GB, free: 1.461 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.4801, allocations: 3.984 kB / 0.6553 GB, free: 1.457 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/0.4866, allocations: 4.001 MB / 0.6592 GB, free: 13.32 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4866, allocations: 4 kB / 0.6592 GB, free: 13.31 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.487, allocations: 107.8 kB / 0.6593 GB, free: 13.21 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/0.487, allocations: 12 kB / 0.6594 GB, free: 13.2 MB / 0.4981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.4871, allocations: 19.94 kB / 0.6594 GB, free: 13.18 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/0.4871, allocations: 11.98 kB / 0.6594 GB, free: 13.16 MB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.4871, allocations: 11.94 kB / 0.6594 GB, free: 13.15 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.4887, allocations: 1.267 MB / 0.6606 GB, free: 11.78 MB / 0.4981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/0.4891, allocations: 182.6 kB / 0.6608 GB, free: 11.6 MB / 0.4981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.4893, allocations: 24 kB / 0.6608 GB, free: 11.58 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.4897, allocations: 31.92 kB / 0.6609 GB, free: 11.55 MB / 0.4981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.4898, allocations: 47.81 kB / 0.6609 GB, free: 11.5 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.4899, allocations: 39.97 kB / 0.6609 GB, free: 11.46 MB / 0.4981 GB
Notification: Performance of sorting global known variables: time 0.001887/0.4918, allocations: 1.275 MB / 0.6622 GB, free: 10.2 MB / 0.4981 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.4918, allocations: 0 / 0.6622 GB, free: 10.2 MB / 0.4981 GB
Notification: Performance of remove unused functions: time 0.002541/0.4943, allocations: 0.6775 MB / 0.6629 GB, free: 9.516 MB / 0.4981 GB
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.0003371/0.4947, allocations: 142.9 kB / 0.663 GB, free: 9.363 MB / 0.4981 GB
Notification: Performance of simCode: created initialization part: time 0.003274/0.4979, allocations: 1.96 MB / 0.6649 GB, free: 7.418 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.498, allocations: 8.188 kB / 0.6649 GB, free: 7.41 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.4986, allocations: 431.9 kB / 0.6653 GB, free: 6.988 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.4999, allocations: 246.2 kB / 0.6656 GB, free: 6.754 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009486/0.5094, allocations: 5.126 MB / 0.6706 GB, free: 1.5 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/0.5121, allocations: 2.275 MB / 0.6728 GB, free: 15.2 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.002408/0.5145, allocations: 0.9558 MB / 0.6737 GB, free: 14.23 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.5148, allocations: 123.4 kB / 0.6738 GB, free: 14.11 MB / 0.5137 GB
Notification: Performance of SimCode: time 9.62e-07/0.5148, allocations: 0 / 0.6738 GB, free: 14.11 MB / 0.5137 GB
Notification: Performance of Templates: time 0.04841/0.5632, allocations: 17.14 MB / 0.6906 GB, free: 13 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.842996857129037]