Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001328/0.001328, 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.001451/0.001451, 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.473/1.473, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.89 MB / 361.3 MB, free: 4.434 MB / 286.1 MB
"
[Timeout remaining time 180]
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.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 75.81 kB / 0.497 GB, free: 7.594 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3373, allocations: 66.02 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01196/0.3493, allocations: 9.598 MB / 0.5709 GB, free: 10.99 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006325/0.3556, allocations: 2.967 MB / 0.5738 GB, free: 8.016 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.3568, allocations: 59.81 kB / 0.5738 GB, free: 7.957 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00382/0.3606, allocations: 2.025 MB / 0.5758 GB, free: 5.926 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002888/0.3635, allocations: 1.129 MB / 0.5769 GB, free: 4.793 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.3642, allocations: 295.4 kB / 0.5772 GB, free: 4.504 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003366/0.3676, allocations: 2.329 MB / 0.5795 GB, free: 2.172 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.3698, allocations: 1.629 MB / 0.5811 GB, free: 0.5 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.3711, allocations: 0.8801 MB / 0.5819 GB, free: 15.62 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.3727, allocations: 1.258 MB / 0.5832 GB, free: 14.36 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.3731, allocations: 199.9 kB / 0.5834 GB, free: 14.16 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.3743, allocations: 0.7216 MB / 0.5841 GB, free: 13.44 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00116/0.3755, allocations: 1.137 MB / 0.5852 GB, free: 12.3 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001404/0.3769, allocations: 1.305 MB / 0.5864 GB, free: 10.98 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00545/0.3823, allocations: 4.338 MB / 0.5907 GB, free: 6.629 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3824, allocations: 0 / 0.5907 GB, free: 6.629 MB / 430.1 MB
Notification: Performance of FrontEnd: time 2.254e-06/0.3824, allocations: 0 / 0.5907 GB, free: 6.629 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 0.0001196/0.3825, allocations: 3.938 kB / 0.5907 GB, free: 6.625 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.005686/0.3882, allocations: 2.862 MB / 0.5935 GB, free: 3.719 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3882, allocations: 12.03 kB / 0.5935 GB, free: 3.707 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/0.3934, allocations: 1.574 MB / 0.595 GB, free: 2.129 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003314/0.3967, allocations: 1.279 MB / 0.5963 GB, free: 0.8203 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.3969, allocations: 144 kB / 0.5964 GB, free: 0.6797 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/0.3973, allocations: 195.8 kB / 0.5966 GB, free: 500 kB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.4077, allocations: 6.242 MB / 0.6027 GB, free: 9.969 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 4.634e-05/0.4077, allocations: 11.88 kB / 0.6027 GB, free: 9.957 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.408, allocations: 87.91 kB / 0.6028 GB, free: 9.871 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002121/0.4101, allocations: 1.344 MB / 0.6041 GB, free: 8.523 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.4205, allocations: 5.336 MB / 0.6093 GB, free: 3.176 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03264/0.4531, allocations: 19.99 MB / 0.6288 GB, free: 14.6 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004426/0.4575, allocations: 1.492 MB / 0.6303 GB, free: 13.1 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.4586, allocations: 0.6406 MB / 0.6309 GB, free: 12.45 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.007142/0.4658, allocations: 3.16 MB / 0.634 GB, free: 9.262 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.4658, allocations: 35 kB / 0.634 GB, free: 9.219 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=78): time 3.376e-06/0.4658, allocations: 4 kB / 0.634 GB, free: 9.215 MB / 478.1 MB
Notification: Performance of matching and sorting (n=78): time 0.005704/0.4715, allocations: 1.986 MB / 0.636 GB, free: 7.219 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.4716, allocations: 63.78 kB / 0.636 GB, free: 7.145 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/0.4751, allocations: 1.942 MB / 0.6379 GB, free: 5.199 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.4752, allocations: 33.7 kB / 0.638 GB, free: 5.16 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.4768, allocations: 1.903 MB / 0.6398 GB, free: 3.234 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004356/0.4773, allocations: 333.5 kB / 0.6402 GB, free: 2.906 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009581/0.4782, allocations: 0.6234 MB / 0.6408 GB, free: 2.273 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001978/0.4784, allocations: 353.9 kB / 0.6411 GB, free: 1.922 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.4799, allocations: 0.8919 MB / 0.642 GB, free: 1.027 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/0.483, allocations: 2.755 MB / 0.6447 GB, free: 13.34 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004791/0.4878, allocations: 3.964 MB / 0.6485 GB, free: 8.453 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.837e-05/0.4879, allocations: 20 kB / 0.6486 GB, free: 8.434 MB / 494.1 MB
Notification: Performance of matching and sorting (n=396) (initialization): time 0.005568/0.4934, allocations: 3.535 MB / 0.652 GB, free: 4.891 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.062e-05/0.4935, allocations: 32 kB / 0.652 GB, free: 4.859 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.604e-05/0.4935, allocations: 71.94 kB / 0.6521 GB, free: 4.789 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 8.803e-05/0.4936, allocations: 84 kB / 0.6522 GB, free: 4.707 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.4955, allocations: 0.6627 MB / 0.6528 GB, free: 4.043 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001063/0.4956, allocations: 124.1 kB / 0.6529 GB, free: 3.922 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.4975, allocations: 428.9 kB / 0.6534 GB, free: 3.5 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/0.4977, allocations: 188 kB / 0.6535 GB, free: 3.316 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.001955/0.4997, allocations: 1.348 MB / 0.6549 GB, free: 1.957 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.4999, allocations: 162.9 kB / 0.655 GB, free: 1.797 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.5003, allocations: 196.9 kB / 0.6552 GB, free: 1.602 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.5003, allocations: 15.88 kB / 0.6552 GB, free: 1.586 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.5003, allocations: 3.984 kB / 0.6552 GB, free: 1.582 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5003, allocations: 0 / 0.6552 GB, free: 1.582 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006145/0.5065, allocations: 4.001 MB / 0.6591 GB, free: 13.44 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.5065, allocations: 8.156 kB / 0.6591 GB, free: 13.43 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.5069, allocations: 103.8 kB / 0.6592 GB, free: 13.33 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.5069, allocations: 12 kB / 0.6592 GB, free: 13.32 MB / 0.4981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.5069, allocations: 19.98 kB / 0.6593 GB, free: 13.3 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/0.507, allocations: 8 kB / 0.6593 GB, free: 13.29 MB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.507, allocations: 11.94 kB / 0.6593 GB, free: 13.28 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.5085, allocations: 1.27 MB / 0.6605 GB, free: 11.91 MB / 0.4981 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.5089, allocations: 182.6 kB / 0.6607 GB, free: 11.73 MB / 0.4981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.509, allocations: 20 kB / 0.6607 GB, free: 11.71 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.5095, allocations: 31.94 kB / 0.6607 GB, free: 11.68 MB / 0.4981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/0.5096, allocations: 51.8 kB / 0.6608 GB, free: 11.62 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/0.5096, allocations: 31.94 kB / 0.6608 GB, free: 11.59 MB / 0.4981 GB
Notification: Performance of sorting global known variables: time 0.001782/0.5114, allocations: 1.279 MB / 0.6621 GB, free: 10.32 MB / 0.4981 GB
Notification: Performance of sort global known variables: time 7e-08/0.5114, allocations: 0 / 0.6621 GB, free: 10.32 MB / 0.4981 GB
Notification: Performance of remove unused functions: time 0.002936/0.5143, allocations: 0.6814 MB / 0.6627 GB, free: 9.641 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.0003576/0.5147, allocations: 142.9 kB / 0.6629 GB, free: 9.488 MB / 0.4981 GB
Notification: Performance of simCode: created initialization part: time 0.00328/0.518, allocations: 1.956 MB / 0.6648 GB, free: 7.547 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.518, allocations: 0 / 0.6648 GB, free: 7.547 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006232/0.5186, allocations: 440.1 kB / 0.6652 GB, free: 7.117 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.52, allocations: 253.4 kB / 0.6654 GB, free: 6.875 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009695/0.5297, allocations: 5.118 MB / 0.6704 GB, free: 1.629 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002667/0.5324, allocations: 2.271 MB / 0.6727 GB, free: 15.33 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.002144/0.5345, allocations: 0.9636 MB / 0.6736 GB, free: 14.36 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.5348, allocations: 123.4 kB / 0.6737 GB, free: 14.24 MB / 0.5137 GB
Notification: Performance of SimCode: time 1.353e-06/0.5348, allocations: 0 / 0.6737 GB, free: 14.24 MB / 0.5137 GB
Notification: Performance of Templates: time 0.03608/0.5709, allocations: 17.14 MB / 0.6905 GB, free: 13.12 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.655794656835496]