Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.001892/0.001892, allocations: 109 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.002139/0.002139, allocations: 213.9 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.434/1.434, allocations: 230.3 MB / 257.9 MB, free: 8.211 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.221/0.221, allocations: 46.89 MB / 361.3 MB, free: 4.406 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.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces")
translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 75.88 kB / 0.4971 GB, free: 7.547 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.319, allocations: 66.03 MB / 0.5615 GB, free: 4.562 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01334/0.3324, allocations: 9.578 MB / 0.5709 GB, free: 10.94 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0105/0.3429, allocations: 3.874 MB / 0.5747 GB, free: 7.055 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.3446, allocations: 67.69 kB / 0.5747 GB, free: 6.988 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.006921/0.3515, allocations: 2.8 MB / 0.5775 GB, free: 4.18 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006749/0.3583, allocations: 1.662 MB / 0.5791 GB, free: 2.512 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.361, allocations: 0.7212 MB / 0.5798 GB, free: 1.789 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.007475/0.3685, allocations: 3.887 MB / 0.5836 GB, free: 13.89 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.006241/0.3747, allocations: 2.562 MB / 0.5861 GB, free: 11.27 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003794/0.3785, allocations: 1.429 MB / 0.5875 GB, free: 9.836 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00424/0.3827, allocations: 2.048 MB / 0.5895 GB, free: 7.781 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001075/0.3838, allocations: 312 kB / 0.5898 GB, free: 7.477 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.3872, allocations: 1.229 MB / 0.591 GB, free: 6.246 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002953/0.3901, allocations: 1.78 MB / 0.5927 GB, free: 4.461 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002563/0.3927, allocations: 2.016 MB / 0.5947 GB, free: 2.434 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008426/0.4011, allocations: 6.693 MB / 0.6012 GB, free: 11.71 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4011, allocations: 0 / 0.6012 GB, free: 11.71 MB / 446.1 MB
Notification: Performance of FrontEnd: time 2.024e-06/0.4011, allocations: 0 / 0.6012 GB, free: 11.71 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0001694/0.4013, allocations: 4 kB / 0.6012 GB, free: 11.71 MB / 446.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1367
 * Number of variables: 1367
Notification: Performance of Generate backend data structure: time 0.009162/0.4105, allocations: 4.375 MB / 0.6055 GB, free: 7.281 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4105, allocations: 8.031 kB / 0.6055 GB, free: 7.273 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/0.4271, allocations: 2.467 MB / 0.6079 GB, free: 4.801 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006557/0.4337, allocations: 2.397 MB / 0.6103 GB, free: 2.352 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.4339, allocations: 218 kB / 0.6105 GB, free: 2.137 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009449/0.4349, allocations: 299.9 kB / 0.6108 GB, free: 1.844 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.4502, allocations: 8.72 MB / 0.6193 GB, free: 8.48 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.4503, allocations: 51.64 kB / 0.6193 GB, free: 8.43 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003745/0.4506, allocations: 135.9 kB / 0.6195 GB, free: 8.297 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002839/0.4535, allocations: 1.653 MB / 0.6211 GB, free: 6.641 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/0.4669, allocations: 7.219 MB / 0.6281 GB, free: 15.41 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04414/0.511, allocations: 33.33 MB / 0.6607 GB, free: 13.08 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.005119/0.5161, allocations: 1.902 MB / 0.6625 GB, free: 11.14 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.5182, allocations: 1.187 MB / 0.6637 GB, free: 9.938 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002968/0.5185, allocations: 108.1 kB / 0.6638 GB, free: 9.832 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.5185, allocations: 47.06 kB / 0.6638 GB, free: 9.777 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=122): time 4.178e-06/0.5185, allocations: 0 / 0.6638 GB, free: 9.777 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=140): time 0.02928/0.5478, allocations: 11.42 MB / 0.675 GB, free: 14.28 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.5479, allocations: 196.5 kB / 0.6752 GB, free: 14.05 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005047/0.553, allocations: 3.59 MB / 0.6787 GB, free: 10.46 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.5531, allocations: 45.7 kB / 0.6787 GB, free: 10.41 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002348/0.5555, allocations: 2.924 MB / 0.6816 GB, free: 7.457 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0006559/0.5561, allocations: 0.5855 MB / 0.6821 GB, free: 6.867 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/0.5576, allocations: 1.107 MB / 0.6832 GB, free: 5.75 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001325/0.5577, allocations: 309.1 kB / 0.6835 GB, free: 5.445 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002814/0.5605, allocations: 1.802 MB / 0.6853 GB, free: 3.637 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00571/0.5662, allocations: 5.182 MB / 0.6903 GB, free: 12.75 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.009723/0.576, allocations: 7.532 MB / 0.6977 GB, free: 3.543 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.291e-05/0.576, allocations: 32 kB / 0.6977 GB, free: 3.512 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=701) (initialization): time 0.01362/0.5897, allocations: 7.224 MB / 0.7048 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 8.02e-05/0.5897, allocations: 56.19 kB / 0.7048 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/0.5899, allocations: 124 kB / 0.705 GB, free: 12.1 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.5916, allocations: 0.6741 MB / 0.7056 GB, free: 11.42 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003714/0.5953, allocations: 1.244 MB / 0.7068 GB, free: 10.18 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005717/0.601, allocations: 4.251 MB / 0.711 GB, free: 5.816 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003963/0.605, allocations: 296.1 kB / 0.7113 GB, free: 5.527 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009742/0.606, allocations: 332 kB / 0.7116 GB, free: 5.203 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 544
 * Number of states: 0 ()
 * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (663):
 * Single equations (assignments): 659
 * 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
   {(2,13,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.003999/0.6099, allocations: 1.96 MB / 0.7135 GB, free: 3.23 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008401/0.6108, allocations: 313.9 kB / 0.7138 GB, free: 2.922 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/0.6158, allocations: 2.241 MB / 0.716 GB, free: 0.668 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/0.6158, allocations: 19.98 kB / 0.716 GB, free: 0.6484 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.6159, allocations: 4 kB / 0.716 GB, free: 0.6445 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/0.6159, allocations: 11.98 kB / 0.716 GB, free: 0.6328 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/0.6279, allocations: 6.115 MB / 0.722 GB, free: 10.45 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.628, allocations: 4 kB / 0.722 GB, free: 10.45 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.629, allocations: 207.7 kB / 0.7222 GB, free: 10.24 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.6304, allocations: 0.5079 MB / 0.7227 GB, free: 9.73 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.186e-05/0.6305, allocations: 27.98 kB / 0.7227 GB, free: 9.703 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004867/0.6354, allocations: 3.813 MB / 0.7264 GB, free: 5.773 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6354, allocations: 0 / 0.7264 GB, free: 5.773 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007048/0.6424, allocations: 4.41 MB / 0.7307 GB, free: 1.344 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007935/0.6432, allocations: 297.7 kB / 0.731 GB, free: 1.051 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003771/0.6436, allocations: 20 kB / 0.731 GB, free: 1.031 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.6447, allocations: 87.91 kB / 0.7311 GB, free: 0.9453 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/0.645, allocations: 100.5 kB / 0.7312 GB, free: 0.8477 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.6451, allocations: 39.98 kB / 0.7313 GB, free: 0.8086 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.251/0.8961, allocations: 2.226 MB / 0.7334 GB, free: 151.9 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 2.51e-07/0.8961, allocations: 3.391 kB / 0.7334 GB, free: 151.9 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.004428/0.9005, allocations: 0.8461 MB / 0.7343 GB, free: 151.9 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 (107):
 * Single equations (assignments): 103
 * 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.0003232/0.9008, allocations: 148.5 kB / 0.7344 GB, free: 151.8 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.006588/0.9074, allocations: 4.146 MB / 0.7385 GB, free: 150.7 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.9074, allocations: 3.938 kB / 0.7385 GB, free: 150.7 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.001617/0.909, allocations: 1.168 MB / 0.7396 GB, free: 150.3 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.9112, allocations: 383.1 kB / 0.74 GB, free: 150.1 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.9227, allocations: 8.131 MB / 0.7479 GB, free: 146.7 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002362/0.9251, allocations: 3.038 MB / 0.7509 GB, free: 145.2 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.003095/0.9282, allocations: 1.708 MB / 0.7525 GB, free: 144.2 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.9287, allocations: 218.8 kB / 0.7528 GB, free: 144 MB / 0.5606 GB
Notification: Performance of SimCode: time 9.62e-07/0.9287, allocations: 0 / 0.7528 GB, free: 144 MB / 0.5606 GB
Notification: Performance of Templates: time 0.04934/0.978, allocations: 30.9 MB / 0.7829 GB, free: 114 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.701986238360405]