Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002505/0.002505, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2241/0.2241, allocations: 34.28 MB / 295 MB, free: 14.56 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 442.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.048e-05, allocations: 6.219 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.198/0.1981, allocations: 6.673 MB / 449.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008368/0.2064, allocations: 3.174 MB / 452.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.2077, allocations: 41.03 kB / 452.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.2102, allocations: 0.8159 MB / 453.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004846/0.2151, allocations: 1.373 MB / 454.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.2171, allocations: 0.5693 MB / 455.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005396/0.2225, allocations: 2.947 MB / 458.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002754/0.2253, allocations: 1.397 MB / 459.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.2277, allocations: 1.217 MB / 460.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.2306, allocations: 1.311 MB / 462.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004913/0.2311, allocations: 141.9 kB / 462.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.2339, allocations: 0.8728 MB / 463.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.2354, allocations: 1.075 MB / 464.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.2367, allocations: 0.6474 MB / 464.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006884/0.2435, allocations: 4.043 MB / 468.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2435, allocations: 0 / 468.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2435, allocations: 3.938 kB / 469 MB, free: 7.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001092/0.2437, allocations: 0 / 469 MB, free: 7.574 MB / 366.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.008859/0.2525, allocations: 2.965 MB / 471.9 MB, free: 5.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2526, allocations: 13.62 kB / 471.9 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009698/0.2623, allocations: 1.738 MB / 473.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.2657, allocations: 1.27 MB / 474.9 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.834e-05/0.2658, allocations: 121.1 kB / 475.1 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000385/0.2661, allocations: 162.2 kB / 475.2 MB, free: 3.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009447/0.2756, allocations: 6.483 MB / 481.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.643e-05/0.2757, allocations: 31.7 kB / 481.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/0.2759, allocations: 83.89 kB / 481.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00293/0.2789, allocations: 1.448 MB / 483.3 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/0.291, allocations: 5.724 MB / 489 MB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03805/0.3291, allocations: 25.33 MB / 0.5023 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004532/0.3336, allocations: 1.65 MB / 0.5039 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001399/0.335, allocations: 0.9571 MB / 0.5048 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.3351, allocations: 28.31 kB / 0.5048 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.3352, allocations: 42.83 kB / 0.5049 GB, free: 10.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.096e-06/0.3352, allocations: 0 / 0.5049 GB, free: 10.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.02603/0.3612, allocations: 6.76 MB / 0.5115 GB, free: 3.492 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.3613, allocations: 145 kB / 0.5116 GB, free: 3.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0061/0.3674, allocations: 2.736 MB / 0.5143 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003169/0.3678, allocations: 41.64 kB / 0.5143 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00249/0.3703, allocations: 2.194 MB / 0.5165 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.3713, allocations: 464.5 kB / 0.5169 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001954/0.3733, allocations: 0.8896 MB / 0.5178 GB, free: 12.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002801/0.3736, allocations: 358.1 kB / 0.5181 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004002/0.3776, allocations: 1.437 MB / 0.5195 GB, free: 11.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007397/0.385, allocations: 4.307 MB / 0.5237 GB, free: 5.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/0.3973, allocations: 6.218 MB / 0.5298 GB, free: 13.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.3974, allocations: 32 kB / 0.5298 GB, free: 13.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01628/0.4137, allocations: 5.51 MB / 0.5352 GB, free: 8.168 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.4138, allocations: 52 kB / 0.5353 GB, free: 8.117 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001715/0.414, allocations: 100 kB / 0.5354 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/0.4142, allocations: 136 kB / 0.5355 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007548/0.4217, allocations: 1.232 MB / 0.5367 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003042/0.422, allocations: 199.2 kB / 0.5369 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005738/0.4278, allocations: 296.6 kB / 0.5372 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006948/0.4285, allocations: 287.9 kB / 0.5374 GB, free: 5.883 MB / 446.1 MB 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.003414/0.4319, allocations: 1.388 MB / 0.5388 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008495/0.4327, allocations: 218.5 kB / 0.539 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/0.436, allocations: 1.212 MB / 0.5402 GB, free: 3.055 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.436, allocations: 12 kB / 0.5402 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.436, allocations: 0 / 0.5402 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/0.4361, allocations: 12.86 kB / 0.5402 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.4498, allocations: 3.993 MB / 0.5441 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/0.4498, allocations: 4 kB / 0.5441 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003352/0.4532, allocations: 372.3 kB / 0.5445 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.988e-05/0.4532, allocations: 11.94 kB / 0.5445 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.4534, allocations: 31.92 kB / 0.5445 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.253e-05/0.4534, allocations: 11.19 kB / 0.5445 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/0.4534, allocations: 7.938 kB / 0.5445 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004871/0.4583, allocations: 2.113 MB / 0.5466 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009893/0.4593, allocations: 230.2 kB / 0.5468 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006679/0.4599, allocations: 24 kB / 0.5468 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/0.462, allocations: 95.84 kB / 0.5469 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002554/0.4622, allocations: 67.78 kB / 0.547 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/0.4624, allocations: 39.98 kB / 0.547 GB, free: 11.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003905/0.4663, allocations: 1.566 MB / 0.5486 GB, free: 10.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4663, allocations: 0 / 0.5486 GB, free: 10.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006106/0.4724, allocations: 0.6756 MB / 0.5492 GB, free: 9.617 MB / 462.1 MB 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.0006245/0.473, allocations: 166.9 kB / 0.5494 GB, free: 9.445 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008391/0.4814, allocations: 3.161 MB / 0.5525 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.4814, allocations: 0 / 0.5525 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002026/0.4835, allocations: 0.7529 MB / 0.5532 GB, free: 5.559 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.4865, allocations: 229.8 kB / 0.5534 GB, free: 5.336 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.5018, allocations: 5.562 MB / 0.5588 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/0.5053, allocations: 1.638 MB / 0.5604 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005563/0.5109, allocations: 1.43 MB / 0.5618 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009232/0.5118, allocations: 164.5 kB / 0.562 GB, free: 12.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5118, allocations: 0 / 0.562 GB, free: 12.4 MB / 478.1 MB Notification: Performance of Templates: time 0.05251/0.5643, allocations: 17.95 MB / 0.5795 GB, free: 10.71 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.395750999450684]