Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.001665/0.001665, allocations: 113.7 kB / 19.69 MB, free: 2.199 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.001464/0.001464, allocations: 186.2 kB / 22.98 MB, free: 5.078 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.562/1.562, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.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.2383/0.2383, allocations: 44.24 MB / 330.2 MB, free: 9.543 MB / 270.1 MB
"
[Timeout remaining time 179]
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.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3")
translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 70.56 kB / 467.9 MB, free: 4.035 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.139, allocations: 61.03 MB / 0.5166 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01604/0.1551, allocations: 12.7 MB / 0.529 GB, free: 10.1 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008539/0.1636, allocations: 3.384 MB / 0.5323 GB, free: 6.711 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002276/0.1659, allocations: 71.81 kB / 0.5323 GB, free: 6.641 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005859/0.1717, allocations: 2.699 MB / 0.535 GB, free: 3.934 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004258/0.176, allocations: 1.401 MB / 0.5364 GB, free: 2.527 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.1773, allocations: 351.3 kB / 0.5367 GB, free: 2.184 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.3092/0.4865, allocations: 2.868 MB / 0.5395 GB, free: 10.78 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.004295/0.4908, allocations: 2.282 MB / 0.5417 GB, free: 10.63 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.4934, allocations: 1.214 MB / 0.5429 GB, free: 10.58 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003462/0.4968, allocations: 1.761 MB / 0.5446 GB, free: 10.41 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001084/0.4979, allocations: 295.3 kB / 0.5449 GB, free: 10.41 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.5002, allocations: 0.8022 MB / 0.5457 GB, free: 10.41 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002461/0.5027, allocations: 1.593 MB / 0.5472 GB, free: 10.21 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002784/0.5055, allocations: 1.838 MB / 0.549 GB, free: 9.562 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01038/0.5158, allocations: 6.022 MB / 0.5549 GB, free: 7.789 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.5158, allocations: 0.5625 kB / 0.5549 GB, free: 7.789 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.415e-06/0.5159, allocations: 1.812 kB / 0.5549 GB, free: 7.789 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0002737/0.5161, allocations: 0 / 0.5549 GB, free: 7.789 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: 1331
 * Number of variables: 1331
Notification: Performance of Generate backend data structure: time 0.01158/0.5277, allocations: 3.773 MB / 0.5586 GB, free: 5.633 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.5277, allocations: 8.312 kB / 0.5586 GB, free: 5.633 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006532/0.5343, allocations: 1.735 MB / 0.5603 GB, free: 5.324 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004385/0.5387, allocations: 1.598 MB / 0.5619 GB, free: 4.57 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.5389, allocations: 207.8 kB / 0.5621 GB, free: 4.504 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008856/0.5398, allocations: 262.9 kB / 0.5623 GB, free: 4.445 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02107/0.5608, allocations: 8.368 MB / 0.5705 GB, free: 0.5508 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.811e-05/0.5609, allocations: 16.38 kB / 0.5705 GB, free: 0.5508 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004002/0.5613, allocations: 119.7 kB / 0.5706 GB, free: 0.4961 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00361/0.5649, allocations: 1.775 MB / 0.5724 GB, free: 15.82 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0197/0.5846, allocations: 7.033 MB / 0.5792 GB, free: 12.68 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05361/0.6382, allocations: 25.68 MB / 0.6043 GB, free: 4.844 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.006871/0.6451, allocations: 1.991 MB / 0.6062 GB, free: 2.855 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.6472, allocations: 0.8934 MB / 0.6071 GB, free: 1.961 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01199/0.6591, allocations: 3.995 MB / 0.611 GB, free: 13.99 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.5e-05/0.6592, allocations: 51.56 kB / 0.6111 GB, free: 13.93 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=120): time 6.422e-06/0.6592, allocations: 0 / 0.6111 GB, free: 13.93 MB / 462.1 MB
Notification: Performance of matching and sorting (n=120): time 0.00939/0.6686, allocations: 2.737 MB / 0.6137 GB, free: 11.19 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.6687, allocations: 64.41 kB / 0.6138 GB, free: 11.12 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005847/0.6745, allocations: 2.262 MB / 0.616 GB, free: 8.816 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001715/0.6747, allocations: 37.7 kB / 0.616 GB, free: 8.773 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.002573/0.6773, allocations: 2.412 MB / 0.6184 GB, free: 6.367 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0007681/0.6781, allocations: 490.1 kB / 0.6189 GB, free: 5.898 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/0.6798, allocations: 0.7466 MB / 0.6196 GB, free: 5.145 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001584/0.6799, allocations: 309.1 kB / 0.6199 GB, free: 4.84 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002525/0.6825, allocations: 1.124 MB / 0.621 GB, free: 3.715 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005367/0.6878, allocations: 3.285 MB / 0.6242 GB, free: 15.4 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.008414/0.6962, allocations: 4.814 MB / 0.6289 GB, free: 9.832 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.785e-05/0.6963, allocations: 26.62 kB / 0.6289 GB, free: 9.809 MB / 478.1 MB
Notification: Performance of matching and sorting (n=484) (initialization): time 0.01046/0.7068, allocations: 4.329 MB / 0.6332 GB, free: 5.699 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.707, allocations: 40.03 kB / 0.6332 GB, free: 5.66 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/0.7072, allocations: 79.98 kB / 0.6333 GB, free: 5.582 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.7073, allocations: 100 kB / 0.6334 GB, free: 5.484 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/0.7105, allocations: 0.8149 MB / 0.6342 GB, free: 4.668 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001787/0.7106, allocations: 151.4 kB / 0.6343 GB, free: 4.52 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/0.7143, allocations: 0.5041 MB / 0.6348 GB, free: 4.012 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008488/0.7152, allocations: 222.8 kB / 0.635 GB, free: 3.797 MB / 478.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 347
 * Number of states: 0 ()
 * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 (450):
 * Single equations (assignments): 445
 * 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.004214/0.7194, allocations: 1.708 MB / 0.6367 GB, free: 2.082 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006092/0.72, allocations: 206.6 kB / 0.6369 GB, free: 1.879 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/0.7235, allocations: 1.514 MB / 0.6384 GB, free: 364 kB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-05/0.7235, allocations: 14.5 kB / 0.6384 GB, free: 352 kB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.7235, allocations: 3.938 kB / 0.6384 GB, free: 348 kB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.7235, allocations: 3.984 kB / 0.6384 GB, free: 344 kB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/0.7423, allocations: 7.356 MB / 0.6456 GB, free: 8.738 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.199e-05/0.7423, allocations: 16.22 kB / 0.6456 GB, free: 8.723 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009297/0.7433, allocations: 199.2 kB / 0.6458 GB, free: 8.531 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-05/0.7433, allocations: 20 kB / 0.6458 GB, free: 8.512 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.7434, allocations: 37.48 kB / 0.6458 GB, free: 8.477 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.642e-05/0.7435, allocations: 23.92 kB / 0.6458 GB, free: 8.453 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.241e-05/0.7435, allocations: 23.88 kB / 0.6459 GB, free: 8.43 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/0.7472, allocations: 2.007 MB / 0.6478 GB, free: 6.215 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009673/0.7482, allocations: 266.1 kB / 0.6481 GB, free: 5.953 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007391/0.7489, allocations: 38.66 kB / 0.6481 GB, free: 5.918 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.7503, allocations: 55.91 kB / 0.6482 GB, free: 5.863 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.7505, allocations: 111.4 kB / 0.6483 GB, free: 5.754 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.7506, allocations: 55.98 kB / 0.6483 GB, free: 5.699 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.00374/0.7544, allocations: 1.574 MB / 0.6499 GB, free: 4.109 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1.21e-07/0.7544, allocations: 0 / 0.6499 GB, free: 4.109 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.00502/0.7594, allocations: 0.9399 MB / 0.6508 GB, free: 3.168 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 64
 * 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 (98):
 * Single equations (assignments): 95
 * 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.0005714/0.76, allocations: 168.8 kB / 0.6509 GB, free: 2.992 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.005168/0.7651, allocations: 2.547 MB / 0.6534 GB, free: 480 kB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.49e-05/0.7651, allocations: 4 kB / 0.6534 GB, free: 476 kB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001177/0.7663, allocations: 0.6664 MB / 0.6541 GB, free: 15.8 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.7688, allocations: 333.8 kB / 0.6544 GB, free: 15.49 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.7846, allocations: 7.024 MB / 0.6613 GB, free: 8.238 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00416/0.7888, allocations: 2.825 MB / 0.664 GB, free: 5.395 MB / 0.4981 GB
Notification: Performance of simCode: alias equations: time 0.002899/0.7917, allocations: 1.171 MB / 0.6652 GB, free: 4.219 MB / 0.4981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.7922, allocations: 159.4 kB / 0.6653 GB, free: 4.062 MB / 0.4981 GB
Notification: Performance of SimCode: time 7.72e-07/0.7922, allocations: 4 kB / 0.6653 GB, free: 4.059 MB / 0.4981 GB
Notification: Performance of Templates: time 0.05138/0.8435, allocations: 21.7 MB / 0.6865 GB, free: 14.44 MB / 0.5294 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.64040485303849]