Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.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.001891/0.001891, 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.002436/0.002436, allocations: 211.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.553/1.553, allocations: 230.3 MB / 258 MB, free: 8.188 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2298/0.2298, allocations: 46.94 MB / 361.4 MB, free: 4.391 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove")
translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 75.88 kB / 0.4971 GB, free: 7.531 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3746, allocations: 66.05 MB / 0.5616 GB, free: 4.539 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009843/0.3844, allocations: 7.54 MB / 0.569 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006538/0.391, allocations: 3.403 MB / 0.5723 GB, free: 9.547 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007892/0.3917, allocations: 43.81 kB / 0.5724 GB, free: 9.504 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001766/0.3935, allocations: 0.8131 MB / 0.5732 GB, free: 8.688 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002971/0.3965, allocations: 1.327 MB / 0.5745 GB, free: 7.359 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.3976, allocations: 0.5223 MB / 0.575 GB, free: 6.836 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003728/0.4013, allocations: 2.598 MB / 0.5775 GB, free: 4.23 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.4028, allocations: 1.026 MB / 0.5785 GB, free: 3.191 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.4038, allocations: 0.7822 MB / 0.5793 GB, free: 2.406 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.4053, allocations: 1.226 MB / 0.5805 GB, free: 1.176 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000252/0.4056, allocations: 140 kB / 0.5806 GB, free: 1.039 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.4073, allocations: 0.9633 MB / 0.5815 GB, free: 76 kB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001028/0.4084, allocations: 1.032 MB / 0.5825 GB, free: 15.04 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001142/0.4095, allocations: 1.211 MB / 0.5837 GB, free: 13.82 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004806/0.4143, allocations: 4.037 MB / 0.5877 GB, free: 9.77 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4143, allocations: 3.938 kB / 0.5877 GB, free: 9.766 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.603e-06/0.4143, allocations: 3.938 kB / 0.5877 GB, free: 9.762 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 5.562e-05/0.4144, allocations: 0 / 0.5877 GB, free: 9.762 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: 954
 * Number of variables: 954
Notification: Performance of Generate backend data structure: time 0.005451/0.4198, allocations: 2.939 MB / 0.5905 GB, free: 6.777 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4199, allocations: 12.03 kB / 0.5906 GB, free: 6.766 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005849/0.4257, allocations: 1.656 MB / 0.5922 GB, free: 5.105 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.4284, allocations: 1.263 MB / 0.5934 GB, free: 3.812 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.4285, allocations: 131.4 kB / 0.5935 GB, free: 3.684 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003633/0.4289, allocations: 164 kB / 0.5937 GB, free: 3.523 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.4395, allocations: 6.456 MB / 0.6 GB, free: 12.53 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.959e-05/0.4396, allocations: 31.7 kB / 0.6 GB, free: 12.5 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.4399, allocations: 83.89 kB / 0.6001 GB, free: 12.42 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002566/0.4424, allocations: 1.441 MB / 0.6015 GB, free: 10.98 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.4548, allocations: 5.724 MB / 0.6071 GB, free: 5.254 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04165/0.4965, allocations: 26.65 MB / 0.6331 GB, free: 9.73 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00464/0.5011, allocations: 1.612 MB / 0.6347 GB, free: 8.078 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.5026, allocations: 0.9592 MB / 0.6356 GB, free: 7.109 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.5028, allocations: 28.3 kB / 0.6357 GB, free: 7.082 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.286e-05/0.5029, allocations: 42.89 kB / 0.6357 GB, free: 7.031 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=100): time 3.807e-06/0.5029, allocations: 0 / 0.6357 GB, free: 7.031 MB / 478.1 MB
Notification: Performance of matching and sorting (n=112): time 0.01771/0.5206, allocations: 6.501 MB / 0.6421 GB, free: 0.5117 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.5207, allocations: 148.8 kB / 0.6422 GB, free: 344 kB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00522/0.5259, allocations: 2.886 MB / 0.645 GB, free: 13.44 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.5261, allocations: 37.7 kB / 0.6451 GB, free: 13.39 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001797/0.5279, allocations: 2.202 MB / 0.6472 GB, free: 11.17 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005491/0.5285, allocations: 472.5 kB / 0.6477 GB, free: 10.71 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001348/0.5298, allocations: 0.9015 MB / 0.6485 GB, free: 9.793 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001345/0.5299, allocations: 305.1 kB / 0.6488 GB, free: 9.492 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/0.5325, allocations: 1.43 MB / 0.6502 GB, free: 8.055 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00618/0.5387, allocations: 4.295 MB / 0.6544 GB, free: 2.309 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.008845/0.5475, allocations: 6.204 MB / 0.6605 GB, free: 10.66 MB / 0.4981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/0.5476, allocations: 28 kB / 0.6605 GB, free: 10.64 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=581) (initialization): time 0.01113/0.5588, allocations: 5.523 MB / 0.6659 GB, free: 5.109 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 9.9e-05/0.5589, allocations: 48 kB / 0.6659 GB, free: 5.062 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001609/0.559, allocations: 108.1 kB / 0.666 GB, free: 4.957 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.5592, allocations: 136 kB / 0.6662 GB, free: 4.824 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004446/0.5637, allocations: 1.224 MB / 0.6674 GB, free: 3.598 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002437/0.5639, allocations: 207.1 kB / 0.6676 GB, free: 3.395 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/0.5671, allocations: 239.7 kB / 0.6678 GB, free: 3.16 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006211/0.5677, allocations: 287.9 kB / 0.6681 GB, free: 2.879 MB / 0.4981 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 466
 * Number of states: 0 ()
 * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (557):
 * Single equations (assignments): 554
 * 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 prepare postOptimizeDAE: time 0.002527/0.5702, allocations: 1.384 MB / 0.6694 GB, free: 1.48 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005374/0.5708, allocations: 254.3 kB / 0.6697 GB, free: 1.23 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.5731, allocations: 1.233 MB / 0.6709 GB, free: 15.98 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/0.5732, allocations: 23.84 kB / 0.6709 GB, free: 15.96 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.5732, allocations: 3.938 kB / 0.6709 GB, free: 15.96 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5732, allocations: 3.938 kB / 0.6709 GB, free: 15.96 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009499/0.5827, allocations: 4.526 MB / 0.6753 GB, free: 11.33 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.5827, allocations: 7.984 kB / 0.6753 GB, free: 11.32 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.5845, allocations: 363.3 kB / 0.6757 GB, free: 10.97 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.548e-05/0.5845, allocations: 8.531 kB / 0.6757 GB, free: 10.96 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.442e-05/0.5846, allocations: 28 kB / 0.6757 GB, free: 10.93 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.8e-05/0.5847, allocations: 11.98 kB / 0.6757 GB, free: 10.92 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/0.5847, allocations: 11.94 kB / 0.6757 GB, free: 10.91 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003237/0.5879, allocations: 2.164 MB / 0.6778 GB, free: 8.68 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007504/0.5887, allocations: 238.1 kB / 0.6781 GB, free: 8.445 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/0.5891, allocations: 27.98 kB / 0.6781 GB, free: 8.418 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.5903, allocations: 59.94 kB / 0.6782 GB, free: 8.359 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.5904, allocations: 67.77 kB / 0.6782 GB, free: 8.293 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.5905, allocations: 43.91 kB / 0.6783 GB, free: 8.25 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 0.003609/0.5941, allocations: 1.811 MB / 0.68 GB, free: 6.434 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 1e-07/0.5941, allocations: 0 / 0.68 GB, free: 6.434 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.003418/0.5976, allocations: 0.621 MB / 0.6806 GB, free: 5.812 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 21
 * 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 (90):
 * Single equations (assignments): 87
 * 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.0004224/0.598, allocations: 162.8 kB / 0.6808 GB, free: 5.645 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.005506/0.6035, allocations: 3.15 MB / 0.6839 GB, free: 2.512 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6035, allocations: 288 / 0.6839 GB, free: 2.512 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.001163/0.6047, allocations: 0.7454 MB / 0.6846 GB, free: 1.77 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.6067, allocations: 279.6 kB / 0.6849 GB, free: 1.5 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.6187, allocations: 5.625 MB / 0.6904 GB, free: 11.78 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003393/0.6221, allocations: 2.202 MB / 0.6925 GB, free: 9.543 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.004149/0.6262, allocations: 1.455 MB / 0.6939 GB, free: 8.082 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008164/0.627, allocations: 175.4 kB / 0.6941 GB, free: 7.91 MB / 0.5294 GB
Notification: Performance of SimCode: time 1.653e-06/0.627, allocations: 0 / 0.6941 GB, free: 7.91 MB / 0.5294 GB
Notification: Performance of Templates: time 0.05022/0.6773, allocations: 22.77 MB / 0.7163 GB, free: 1.18 MB / 0.545 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.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.616105322726071]