Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.002048/0.002048, allocations: 107.2 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.002392/0.002392, allocations: 187.2 kB / 22.98 MB, free: 5.062 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.64/1.64, 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.3073/0.3073, allocations: 44.24 MB / 330.2 MB, free: 9.559 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.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces")
translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [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.002179/0.002179, allocations: 79.88 kB / 468 MB, free: 4.023 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1343, allocations: 61.02 MB / 0.5166 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01492/0.1492, allocations: 11.33 MB / 0.5276 GB, free: 11.48 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009833/0.159, allocations: 4.089 MB / 0.5316 GB, free: 7.375 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.161, allocations: 71.69 kB / 0.5317 GB, free: 7.305 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00578/0.1668, allocations: 2.881 MB / 0.5345 GB, free: 4.414 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005569/0.1723, allocations: 1.949 MB / 0.5364 GB, free: 2.457 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.1743, allocations: 0.7096 MB / 0.5371 GB, free: 1.746 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.2587/0.433, allocations: 4.179 MB / 0.5412 GB, free: 10.58 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003718/0.4367, allocations: 2.751 MB / 0.5439 GB, free: 10.38 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002921/0.4396, allocations: 1.622 MB / 0.5455 GB, free: 10.25 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003966/0.4436, allocations: 2.418 MB / 0.5478 GB, free: 10.01 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001462/0.4451, allocations: 377.9 kB / 0.5482 GB, free: 10.01 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.4487, allocations: 1.271 MB / 0.5494 GB, free: 10.01 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002649/0.4513, allocations: 2.098 MB / 0.5515 GB, free: 9.758 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003536/0.4549, allocations: 2.385 MB / 0.5538 GB, free: 8.363 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01101/0.4659, allocations: 7.925 MB / 0.5616 GB, free: 5.715 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4659, allocations: 3.375 kB / 0.5616 GB, free: 5.715 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.413e-06/0.4659, allocations: 0 / 0.5616 GB, free: 5.715 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.00025/0.4661, allocations: 4.531 kB / 0.5616 GB, free: 5.711 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: 1645
 * Number of variables: 1645
Notification: Performance of Generate backend data structure: time 0.01212/0.4783, allocations: 5.023 MB / 0.5665 GB, free: 2.961 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.4783, allocations: 9.188 kB / 0.5665 GB, free: 2.961 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/0.496, allocations: 2.576 MB / 0.569 GB, free: 1.703 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00903/0.505, allocations: 2.666 MB / 0.5716 GB, free: 220 kB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.5052, allocations: 250.8 kB / 0.5718 GB, free: 140 kB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/0.507, allocations: 337 kB / 0.5722 GB, free: 60 kB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02095/0.5279, allocations: 10.45 MB / 0.5824 GB, free: 9.898 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.528, allocations: 45.03 kB / 0.5824 GB, free: 9.891 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004489/0.5285, allocations: 160.3 kB / 0.5826 GB, free: 9.82 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003284/0.5318, allocations: 2.097 MB / 0.5846 GB, free: 9.031 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0174/0.5492, allocations: 8.731 MB / 0.5931 GB, free: 1.277 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05541/0.6046, allocations: 38.29 MB / 0.6305 GB, free: 10.48 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.006296/0.6109, allocations: 2.464 MB / 0.6329 GB, free: 8 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002698/0.6136, allocations: 1.588 MB / 0.6345 GB, free: 6.402 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.6139, allocations: 100.7 kB / 0.6346 GB, free: 6.316 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/0.6139, allocations: 59.36 kB / 0.6346 GB, free: 6.254 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=176): time 3.927e-06/0.6139, allocations: 0 / 0.6346 GB, free: 6.254 MB / 478.1 MB
Notification: Performance of matching and sorting (n=194): time 0.04114/0.6551, allocations: 14.78 MB / 0.6491 GB, free: 7.457 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/0.6553, allocations: 208.5 kB / 0.6493 GB, free: 7.211 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007749/0.663, allocations: 3.851 MB / 0.653 GB, free: 3.375 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0007342/0.6638, allocations: 53.7 kB / 0.6531 GB, free: 3.316 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.003194/0.6669, allocations: 3.32 MB / 0.6563 GB, free: 4 kB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.001398/0.6683, allocations: 0.7737 MB / 0.6571 GB, free: 15.24 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002065/0.6704, allocations: 1.258 MB / 0.6583 GB, free: 13.97 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0001316/0.6705, allocations: 301.1 kB / 0.6586 GB, free: 13.67 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003875/0.6744, allocations: 2.253 MB / 0.6608 GB, free: 11.41 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007026/0.6814, allocations: 5.953 MB / 0.6666 GB, free: 3.691 MB / 0.4981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/0.6942, allocations: 8.826 MB / 0.6752 GB, free: 9.086 MB / 0.5137 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001093/0.6943, allocations: 36 kB / 0.6753 GB, free: 9.051 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=802) (initialization): time 0.01921/0.7135, allocations: 8.492 MB / 0.6835 GB, free: 0.5547 MB / 0.5137 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.7137, allocations: 63.94 kB / 0.6836 GB, free: 0.4922 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002667/0.7139, allocations: 132.1 kB / 0.6837 GB, free: 372 kB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.716, allocations: 0.6838 MB / 0.6844 GB, free: 15.68 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005545/0.7215, allocations: 1.45 MB / 0.6858 GB, free: 14.22 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005968/0.7275, allocations: 4.268 MB / 0.69 GB, free: 9.848 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005119/0.7326, allocations: 360 kB / 0.6903 GB, free: 9.5 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/0.734, allocations: 380 kB / 0.6907 GB, free: 9.129 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 591
 * 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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (764):
 * Single equations (assignments): 760
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,14,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.005892/0.7399, allocations: 2.23 MB / 0.6929 GB, free: 6.887 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/0.741, allocations: 361.5 kB / 0.6932 GB, free: 6.531 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007795/0.7488, allocations: 3.248 MB / 0.6964 GB, free: 3.266 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.876e-05/0.7489, allocations: 28.03 kB / 0.6964 GB, free: 3.242 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.7489, allocations: 4 kB / 0.6964 GB, free: 3.238 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/0.7489, allocations: 7.969 kB / 0.6964 GB, free: 3.23 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01926/0.7682, allocations: 8.125 MB / 0.7044 GB, free: 11.09 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.7682, allocations: 0 / 0.7044 GB, free: 11.09 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/0.77, allocations: 343.5 kB / 0.7047 GB, free: 10.75 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/0.7716, allocations: 0.5002 MB / 0.7052 GB, free: 10.25 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002006/0.7718, allocations: 39.45 kB / 0.7052 GB, free: 10.21 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005556/0.7773, allocations: 3.824 MB / 0.709 GB, free: 6.281 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.7773, allocations: 7.969 kB / 0.709 GB, free: 6.273 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.7884, allocations: 5.937 MB / 0.7148 GB, free: 324 kB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002351/0.7907, allocations: 0.595 MB / 0.7153 GB, free: 15.72 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007256/0.7915, allocations: 28 kB / 0.7154 GB, free: 15.69 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.7931, allocations: 127.8 kB / 0.7155 GB, free: 15.57 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003646/0.7935, allocations: 129 kB / 0.7156 GB, free: 15.44 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.7936, allocations: 59.97 kB / 0.7157 GB, free: 15.38 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.004522/0.7981, allocations: 2.392 MB / 0.718 GB, free: 13 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.7981, allocations: 0 / 0.718 GB, free: 13 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.00598/0.8041, allocations: 1.031 MB / 0.719 GB, free: 11.98 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 2 (rev.phi,rev.w)
 * 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 (164):
 * Single equations (assignments): 160
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,11,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004985/0.8046, allocations: 158.9 kB / 0.7192 GB, free: 11.81 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.009426/0.814, allocations: 5.144 MB / 0.7242 GB, free: 6.691 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.814, allocations: 8 kB / 0.7242 GB, free: 6.684 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.00278/0.8168, allocations: 1.598 MB / 0.7258 GB, free: 5.074 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.8193, allocations: 425.1 kB / 0.7262 GB, free: 4.672 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.8387, allocations: 9.789 MB / 0.7357 GB, free: 10.84 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004426/0.8431, allocations: 3.459 MB / 0.7391 GB, free: 7.34 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.004692/0.8478, allocations: 1.936 MB / 0.741 GB, free: 5.395 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008225/0.8487, allocations: 255.4 kB / 0.7412 GB, free: 5.145 MB / 0.5762 GB
Notification: Performance of SimCode: time 8.11e-07/0.8487, allocations: 4 kB / 0.7412 GB, free: 5.141 MB / 0.5762 GB
Notification: Performance of Templates: time 0.349/1.198, allocations: 38.39 MB / 0.7787 GB, free: 193.3 MB / 0.5919 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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: 7.654718284495175]