Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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.001399/0.001399, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001454/0.001454, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.457/1.457, allocations: 230.3 MB / 258 MB, free: 8.203 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.2365/0.2365, allocations: 46.93 MB / 361.4 MB, free: 4.375 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.CutTorque3,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.CutTorque3")
translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,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.CutTorque3") [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.002347/0.002347, allocations: 75.88 kB / 0.4972 GB, free: 7.504 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3387, allocations: 66.04 MB / 0.5616 GB, free: 4.508 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01204/0.3508, allocations: 9.595 MB / 0.571 GB, free: 10.86 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006314/0.3571, allocations: 2.967 MB / 0.5739 GB, free: 7.891 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.3584, allocations: 55.81 kB / 0.574 GB, free: 7.836 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004265/0.3627, allocations: 2.025 MB / 0.5759 GB, free: 5.805 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00311/0.3658, allocations: 1.137 MB / 0.5771 GB, free: 4.664 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008629/0.3667, allocations: 295.4 kB / 0.5773 GB, free: 4.375 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00385/0.3705, allocations: 2.333 MB / 0.5796 GB, free: 2.039 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002084/0.3726, allocations: 1.621 MB / 0.5812 GB, free: 384 kB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.3742, allocations: 0.888 MB / 0.5821 GB, free: 15.48 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.3762, allocations: 1.258 MB / 0.5833 GB, free: 14.22 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003575/0.3766, allocations: 192 kB / 0.5835 GB, free: 14.03 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.3778, allocations: 0.7254 MB / 0.5842 GB, free: 13.31 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001129/0.379, allocations: 1.137 MB / 0.5853 GB, free: 12.17 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001398/0.3804, allocations: 1.305 MB / 0.5866 GB, free: 10.86 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004973/0.3853, allocations: 4.334 MB / 0.5908 GB, free: 6.504 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3853, allocations: 0 / 0.5908 GB, free: 6.504 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.513e-06/0.3853, allocations: 0 / 0.5908 GB, free: 6.504 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 6.682e-05/0.3854, allocations: 4 kB / 0.5908 GB, free: 6.5 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.00488/0.3903, allocations: 2.866 MB / 0.5936 GB, free: 3.59 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.3903, allocations: 12.03 kB / 0.5936 GB, free: 3.578 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/0.3953, allocations: 1.578 MB / 0.5952 GB, free: 1.996 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.3981, allocations: 1.275 MB / 0.5964 GB, free: 0.6914 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.3983, allocations: 148 kB / 0.5965 GB, free: 0.5469 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004159/0.3987, allocations: 191.8 kB / 0.5967 GB, free: 368 kB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01178/0.4105, allocations: 6.25 MB / 0.6028 GB, free: 9.832 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.4105, allocations: 11.88 kB / 0.6028 GB, free: 9.82 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002549/0.4108, allocations: 87.91 kB / 0.6029 GB, free: 9.734 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002133/0.4129, allocations: 1.34 MB / 0.6042 GB, free: 8.391 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.4243, allocations: 5.344 MB / 0.6095 GB, free: 3.035 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0323/0.4566, allocations: 19.99 MB / 0.629 GB, free: 14.46 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004172/0.4607, allocations: 1.484 MB / 0.6304 GB, free: 12.97 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.4618, allocations: 0.6445 MB / 0.6311 GB, free: 12.31 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006643/0.4684, allocations: 3.152 MB / 0.6341 GB, free: 9.137 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.4685, allocations: 42.94 kB / 0.6342 GB, free: 9.086 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=78): time 3.126e-06/0.4685, allocations: 0 / 0.6342 GB, free: 9.086 MB / 478.1 MB
Notification: Performance of matching and sorting (n=78): time 0.005429/0.4739, allocations: 1.982 MB / 0.6361 GB, free: 7.094 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.474, allocations: 67.77 kB / 0.6362 GB, free: 7.016 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.4768, allocations: 1.938 MB / 0.6381 GB, free: 5.074 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.4768, allocations: 37.64 kB / 0.6381 GB, free: 5.031 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001509/0.4784, allocations: 1.907 MB / 0.64 GB, free: 3.102 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003063/0.4787, allocations: 333.5 kB / 0.6403 GB, free: 2.773 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008255/0.4795, allocations: 0.6234 MB / 0.6409 GB, free: 2.141 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.000213/0.4797, allocations: 353.9 kB / 0.6412 GB, free: 1.789 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.4811, allocations: 0.8842 MB / 0.6421 GB, free: 0.9023 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002967/0.484, allocations: 2.751 MB / 0.6448 GB, free: 13.22 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004843/0.4889, allocations: 3.966 MB / 0.6487 GB, free: 8.328 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-05/0.4889, allocations: 16 kB / 0.6487 GB, free: 8.312 MB / 494.1 MB
Notification: Performance of matching and sorting (n=396) (initialization): time 0.006005/0.4949, allocations: 3.538 MB / 0.6521 GB, free: 4.77 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/0.495, allocations: 36.16 kB / 0.6522 GB, free: 4.734 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-05/0.495, allocations: 68 kB / 0.6522 GB, free: 4.668 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.4952, allocations: 91.94 kB / 0.6523 GB, free: 4.578 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.4971, allocations: 0.6549 MB / 0.6529 GB, free: 3.922 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001164/0.4972, allocations: 131.5 kB / 0.6531 GB, free: 3.793 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.499, allocations: 432.9 kB / 0.6535 GB, free: 3.367 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.4993, allocations: 184 kB / 0.6537 GB, free: 3.188 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.002033/0.5013, allocations: 1.35 MB / 0.655 GB, free: 1.824 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.5016, allocations: 162.9 kB / 0.6551 GB, free: 1.664 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.5019, allocations: 196.9 kB / 0.6553 GB, free: 1.469 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.5019, allocations: 11.94 kB / 0.6553 GB, free: 1.457 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.5019, allocations: 0 / 0.6553 GB, free: 1.457 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.5019, allocations: 3.984 kB / 0.6553 GB, free: 1.453 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006773/0.5087, allocations: 3.996 MB / 0.6592 GB, free: 13.32 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.5087, allocations: 8 kB / 0.6592 GB, free: 13.31 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.5091, allocations: 103.8 kB / 0.6593 GB, free: 13.21 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.5091, allocations: 8 kB / 0.6594 GB, free: 13.2 MB / 0.4981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.745e-05/0.5092, allocations: 20 kB / 0.6594 GB, free: 13.18 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/0.5092, allocations: 20.52 kB / 0.6594 GB, free: 13.16 MB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/0.5092, allocations: 7.938 kB / 0.6594 GB, free: 13.15 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.511, allocations: 1.274 MB / 0.6606 GB, free: 11.77 MB / 0.4981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.5115, allocations: 178.6 kB / 0.6608 GB, free: 11.6 MB / 0.4981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.5116, allocations: 19.98 kB / 0.6608 GB, free: 11.58 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.5121, allocations: 31.94 kB / 0.6609 GB, free: 11.55 MB / 0.4981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.5122, allocations: 59.8 kB / 0.6609 GB, free: 11.49 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.5123, allocations: 24 kB / 0.6609 GB, free: 11.46 MB / 0.4981 GB
Notification: Performance of sorting global known variables: time 0.002009/0.5143, allocations: 1.271 MB / 0.6622 GB, free: 10.2 MB / 0.4981 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.5143, allocations: 4 kB / 0.6622 GB, free: 10.2 MB / 0.4981 GB
Notification: Performance of remove unused functions: time 0.002824/0.5171, allocations: 0.6814 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.0003805/0.5175, allocations: 150.8 kB / 0.663 GB, free: 9.355 MB / 0.4981 GB
Notification: Performance of simCode: created initialization part: time 0.003431/0.5209, allocations: 1.959 MB / 0.6649 GB, free: 7.41 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.5209, allocations: 0 / 0.6649 GB, free: 7.41 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006352/0.5216, allocations: 434.6 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.001356/0.5229, allocations: 241.5 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.009576/0.5325, allocations: 5.122 MB / 0.6706 GB, free: 1.504 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/0.5353, allocations: 2.283 MB / 0.6728 GB, free: 15.19 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.002182/0.5375, allocations: 0.9636 MB / 0.6737 GB, free: 14.22 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.5377, allocations: 115.4 kB / 0.6738 GB, free: 14.11 MB / 0.5137 GB
Notification: Performance of SimCode: time 9.82e-07/0.5377, allocations: 0 / 0.6738 GB, free: 14.11 MB / 0.5137 GB
Notification: Performance of Templates: time 0.0378/0.5755, 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.CutTorque3.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutTorque3.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.6655837977305055]