Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001456/0.001456, allocations: 75.72 kB / 19.93 MB, free: 1.785 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.001652/0.001652, allocations: 164.6 kB / 23.21 MB, free: 4.906 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.639/1.639, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.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.2183/0.2183, allocations: 32.38 MB / 269.6 MB, free: 4.672 MB / 254.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.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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 407.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.682e-05, allocations: 2.281 kB / 407.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009477/0.009504, allocations: 6.732 MB / 414.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00751/0.01701, allocations: 3.143 MB / 417.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000908/0.01792, allocations: 43.81 kB / 417.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.01982, allocations: 0.8207 MB / 418.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003733/0.02355, allocations: 1.396 MB / 419.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.02514, allocations: 0.5688 MB / 420 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004307/0.02945, allocations: 2.912 MB / 422.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002185/0.03164, allocations: 1.419 MB / 424.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.03373, allocations: 1.231 MB / 425.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.0358, allocations: 1.321 MB / 426.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.03612, allocations: 140 kB / 427.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.03814, allocations: 0.8889 MB / 427.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001263/0.0394, allocations: 1.094 MB / 429 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.04041, allocations: 0.6695 MB / 429.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005499/0.0459, allocations: 4.088 MB / 433.8 MB, free: 8.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.04591, allocations: 3.984 kB / 433.8 MB, free: 8.477 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.04592, allocations: 0 / 433.8 MB, free: 8.477 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.623e-05/0.04598, allocations: 0 / 433.8 MB, free: 8.477 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.005677/0.05166, allocations: 2.982 MB / 436.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.0517, allocations: 8.031 kB / 436.8 MB, free: 5.441 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006754/0.05845, allocations: 1.746 MB / 438.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.06156, allocations: 1.317 MB / 439.8 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.06169, allocations: 119.4 kB / 440 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004/0.06209, allocations: 168.2 kB / 440.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01197/0.07407, allocations: 6.465 MB / 446.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.07417, allocations: 35.7 kB / 446.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003219/0.07449, allocations: 83.89 kB / 446.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002875/0.07736, allocations: 1.444 MB / 448.2 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/0.08954, allocations: 5.732 MB / 453.9 MB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2884/0.3779, allocations: 25.35 MB / 479.2 MB, free: 50.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004586/0.3825, allocations: 1.648 MB / 480.9 MB, free: 50.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.384, allocations: 0.9542 MB / 481.8 MB, free: 50.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.3842, allocations: 23.02 kB / 481.9 MB, free: 50.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.3842, allocations: 48.17 kB / 481.9 MB, free: 50.14 MB / 398.1 MB Notification: Performance of pre-optimization done (n=100): time 4.779e-06/0.3842, allocations: 3.5 kB / 481.9 MB, free: 50.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=112): time 0.02054/0.4047, allocations: 6.802 MB / 488.7 MB, free: 47.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.4048, allocations: 138.5 kB / 488.9 MB, free: 47.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004605/0.4094, allocations: 2.787 MB / 491.6 MB, free: 46.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.4096, allocations: 43.81 kB / 491.7 MB, free: 46.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.4109, allocations: 2.195 MB / 493.9 MB, free: 45.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/0.4114, allocations: 469.5 kB / 494.3 MB, free: 44.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.4125, allocations: 0.8922 MB / 495.2 MB, free: 44.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4127, allocations: 356.5 kB / 495.6 MB, free: 43.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002491/0.4152, allocations: 1.431 MB / 497 MB, free: 43.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.4185, allocations: 4.31 MB / 0.4896 GB, free: 39.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005548/0.4241, allocations: 6.224 MB / 0.4956 GB, free: 34.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-05/0.4241, allocations: 33.19 kB / 0.4957 GB, free: 34.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008638/0.4328, allocations: 5.505 MB / 0.5011 GB, free: 31.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.4328, allocations: 55.98 kB / 0.5011 GB, free: 31.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.842e-05/0.4329, allocations: 101.8 kB / 0.5012 GB, free: 31.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.86e-05/0.433, allocations: 136 kB / 0.5013 GB, free: 30.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004075/0.4371, allocations: 1.232 MB / 0.5025 GB, free: 29.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001209/0.4372, allocations: 203.2 kB / 0.5027 GB, free: 29.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004804/0.442, allocations: 299.9 kB / 0.503 GB, free: 29.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005943/0.4426, allocations: 290.2 kB / 0.5033 GB, free: 28.92 MB / 398.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.002331/0.4449, allocations: 1.387 MB / 0.5046 GB, free: 27.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007623/0.4457, allocations: 222.5 kB / 0.5049 GB, free: 27.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.4474, allocations: 1.209 MB / 0.506 GB, free: 26.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.028e-05/0.4475, allocations: 12 kB / 0.5061 GB, free: 26.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.4475, allocations: 4 kB / 0.5061 GB, free: 26.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.4475, allocations: 7.984 kB / 0.5061 GB, free: 26.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006811/0.4543, allocations: 3.994 MB / 0.51 GB, free: 22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.4543, allocations: 7.281 kB / 0.51 GB, free: 21.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/0.4561, allocations: 375.8 kB / 0.5103 GB, free: 21.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.4561, allocations: 12 kB / 0.5103 GB, free: 21.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/0.4562, allocations: 16 kB / 0.5104 GB, free: 21.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/0.4562, allocations: 11.94 kB / 0.5104 GB, free: 21.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.4562, allocations: 8 kB / 0.5104 GB, free: 21.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.4585, allocations: 2.133 MB / 0.5125 GB, free: 19.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008925/0.4594, allocations: 386.2 kB / 0.5128 GB, free: 19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.4597, allocations: 24 kB / 0.5128 GB, free: 18.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.4608, allocations: 111.8 kB / 0.513 GB, free: 18.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.461, allocations: 63.78 kB / 0.513 GB, free: 18.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.402e-05/0.4611, allocations: 39.98 kB / 0.5131 GB, free: 18.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002054/0.4631, allocations: 1.606 MB / 0.5146 GB, free: 17.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4631, allocations: 0 / 0.5146 GB, free: 17.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00378/0.4669, allocations: 0.6855 MB / 0.5153 GB, free: 16.47 MB / 398.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.0004573/0.4674, allocations: 185.8 kB / 0.5155 GB, free: 16.28 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004793/0.4722, allocations: 3.166 MB / 0.5186 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4722, allocations: 0.875 kB / 0.5186 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008131/0.473, allocations: 0.7338 MB / 0.5193 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.4746, allocations: 246.5 kB / 0.5195 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/0.4824, allocations: 5.562 MB / 0.5249 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001644/0.484, allocations: 1.651 MB / 0.5266 GB, free: 4.848 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002882/0.4869, allocations: 1.426 MB / 0.5279 GB, free: 3.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006024/0.4875, allocations: 168.4 kB / 0.5281 GB, free: 3.254 MB / 398.1 MB Notification: Performance of SimCode: time 1.884e-06/0.4875, allocations: 0 / 0.5281 GB, free: 3.254 MB / 398.1 MB Notification: Performance of Templates: time 0.04547/0.533, allocations: 18.28 MB / 0.546 GB, free: 1.109 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.9306415766477585]