Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.001577/0.001577, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001694/0.001694, allocations: 181.2 kB / 24.46 MB, free: 4.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.438/1.438, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque")
translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [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.001723/0.001723, allocations: 59.92 kB / 347.7 MB, free: 9.562 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2626, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01138/0.2739, allocations: 12.57 MB / 409.4 MB, free: 0.6602 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01065/0.2846, allocations: 4.242 MB / 413.6 MB, free: 13.84 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/0.2877, allocations: 85.94 kB / 413.7 MB, free: 13.82 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00672/0.2944, allocations: 3.283 MB / 417 MB, free: 11.82 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.007583/0.302, allocations: 2.145 MB / 419.1 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.3047, allocations: 0.8339 MB / 420 MB, free: 9.723 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.007815/0.3125, allocations: 4.563 MB / 424.5 MB, free: 7.219 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003899/0.3164, allocations: 2.974 MB / 427.5 MB, free: 4.613 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.3192, allocations: 1.787 MB / 429.3 MB, free: 2.82 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003408/0.3226, allocations: 2.547 MB / 431.9 MB, free: 272 kB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000707/0.3233, allocations: 388 kB / 432.2 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.3257, allocations: 1.311 MB / 433.5 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002235/0.3279, allocations: 2.279 MB / 435.8 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002901/0.3308, allocations: 2.551 MB / 438.4 MB, free: 9.723 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009531/0.3404, allocations: 8.279 MB / 446.7 MB, free: 1.414 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3404, allocations: 8 kB / 446.7 MB, free: 1.406 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.302e-06/0.3404, allocations: 0 / 446.7 MB, free: 1.406 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 0.0001496/0.3405, allocations: 0 / 446.7 MB, free: 1.406 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1737
 * Number of variables: 1737
Notification: Performance of Generate backend data structure: time 0.009971/0.3505, allocations: 5.588 MB / 452.2 MB, free: 11.75 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3505, allocations: 15.98 kB / 452.3 MB, free: 11.74 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008709/0.3592, allocations: 2.256 MB / 454.5 MB, free: 9.477 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008182/0.3674, allocations: 2.947 MB / 457.5 MB, free: 6.48 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.3676, allocations: 266.8 kB / 457.7 MB, free: 6.219 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008528/0.3685, allocations: 355.8 kB / 458.1 MB, free: 5.871 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/0.3905, allocations: 11.65 MB / 469.7 MB, free: 9.508 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.3906, allocations: 39.64 kB / 469.8 MB, free: 9.469 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004752/0.3911, allocations: 167.8 kB / 469.9 MB, free: 9.305 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003992/0.3951, allocations: 2.342 MB / 472.3 MB, free: 6.957 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/0.4157, allocations: 9.971 MB / 482.2 MB, free: 12.97 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05953/0.4753, allocations: 44.2 MB / 0.5141 GB, free: 15.61 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.4879, allocations: 4.667 MB / 0.5187 GB, free: 10.91 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003764/0.4917, allocations: 2.579 MB / 0.5212 GB, free: 8.32 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01252/0.5042, allocations: 7.455 MB / 0.5285 GB, free: 0.8281 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/0.5043, allocations: 59.88 kB / 0.5285 GB, free: 0.7617 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=216): time 5.039e-06/0.5043, allocations: 0 / 0.5285 GB, free: 0.7617 MB / 446.1 MB
Notification: Performance of matching and sorting (n=237): time 0.05344/0.5577, allocations: 20.83 MB / 0.5489 GB, free: 11.86 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.5578, allocations: 180.2 kB / 0.549 GB, free: 11.65 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00752/0.5653, allocations: 4.778 MB / 0.5537 GB, free: 6.859 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0005539/0.5659, allocations: 57.7 kB / 0.5537 GB, free: 6.797 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.003202/0.5691, allocations: 3.525 MB / 0.5572 GB, free: 3.238 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.00141/0.5705, allocations: 0.9341 MB / 0.5581 GB, free: 2.297 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002251/0.5728, allocations: 1.389 MB / 0.5595 GB, free: 0.8984 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001346/0.5729, allocations: 301.1 kB / 0.5597 GB, free: 0.6016 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.1912/0.7641, allocations: 2.704 MB / 0.5624 GB, free: 145.2 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005786/0.7699, allocations: 6.611 MB / 0.5688 GB, free: 139.2 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.781, allocations: 10.08 MB / 0.5787 GB, free: 131.2 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001816/0.7812, allocations: 38.31 kB / 0.5787 GB, free: 131.2 MB / 478.1 MB
Notification: Performance of matching and sorting (n=893) (initialization): time 0.01808/0.7993, allocations: 10.19 MB / 0.5887 GB, free: 127.7 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.567e-05/0.7994, allocations: 62.38 kB / 0.5887 GB, free: 127.7 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/0.7995, allocations: 142.8 kB / 0.5889 GB, free: 127.7 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002478/0.802, allocations: 1.205 MB / 0.59 GB, free: 127.5 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004647/0.8066, allocations: 1.608 MB / 0.5916 GB, free: 127.3 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00726/0.8139, allocations: 7.144 MB / 0.5986 GB, free: 123 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004525/0.8184, allocations: 391 kB / 0.599 GB, free: 122.7 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006047/0.819, allocations: 411.3 kB / 0.5994 GB, free: 122.3 MB / 478.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 624
 * Number of states: 0 ()
 * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (835):
 * Single equations (assignments): 829
 * Array equations: 5
 * 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,23,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.002732/0.8218, allocations: 2.373 MB / 0.6017 GB, free: 120.3 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/0.8223, allocations: 435.5 kB / 0.6021 GB, free: 120.1 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006533/0.8288, allocations: 4.758 MB / 0.6067 GB, free: 115.7 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/0.8289, allocations: 27.94 kB / 0.6068 GB, free: 115.6 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.8289, allocations: 8 kB / 0.6068 GB, free: 115.6 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.8289, allocations: 15.95 kB / 0.6068 GB, free: 115.6 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/0.843, allocations: 10.74 MB / 0.6173 GB, free: 104.9 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.856e-05/0.843, allocations: 8 kB / 0.6173 GB, free: 104.9 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.8448, allocations: 428 kB / 0.6177 GB, free: 104.4 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/0.847, allocations: 1.023 MB / 0.6187 GB, free: 103.4 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/0.8472, allocations: 44 kB / 0.6187 GB, free: 103.4 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006797/0.854, allocations: 6.787 MB / 0.6254 GB, free: 96.53 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.854, allocations: 8 kB / 0.6254 GB, free: 96.52 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009446/0.8635, allocations: 8.174 MB / 0.6333 GB, free: 88.37 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001968/0.8654, allocations: 0.7913 MB / 0.6341 GB, free: 87.59 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007275/0.8662, allocations: 40 kB / 0.6342 GB, free: 87.55 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/0.8681, allocations: 143.8 kB / 0.6343 GB, free: 87.41 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.8685, allocations: 161.5 kB / 0.6344 GB, free: 87.25 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/0.8686, allocations: 69.8 kB / 0.6345 GB, free: 87.18 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.003634/0.8722, allocations: 3.054 MB / 0.6375 GB, free: 84.13 MB / 478.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.8722, allocations: 0 / 0.6375 GB, free: 84.13 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.00528/0.8775, allocations: 1.184 MB / 0.6387 GB, free: 82.95 MB / 478.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 25
 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198):
 * Single equations (assignments): 194
 * 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
   {(4,18,75.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0005167/0.878, allocations: 181.6 kB / 0.6388 GB, free: 82.78 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.008237/0.8863, allocations: 6.253 MB / 0.6449 GB, free: 76.55 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.8863, allocations: 4 kB / 0.6449 GB, free: 76.54 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.003384/0.8897, allocations: 2.236 MB / 0.6471 GB, free: 74.3 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003436/0.8931, allocations: 0.5078 MB / 0.6476 GB, free: 73.79 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.9104, allocations: 11.49 MB / 0.6588 GB, free: 62.21 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003257/0.9137, allocations: 3.669 MB / 0.6624 GB, free: 58.5 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.004006/0.9177, allocations: 2.215 MB / 0.6646 GB, free: 56.28 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008541/0.9185, allocations: 295.4 kB / 0.6649 GB, free: 55.99 MB / 478.1 MB
Notification: Performance of SimCode: time 8.52e-07/0.9185, allocations: 0 / 0.6649 GB, free: 55.99 MB / 478.1 MB
Notification: Performance of Templates: time 0.06869/0.9872, allocations: 47.78 MB / 0.7115 GB, free: 8.316 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.7493358226493]