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.001763/0.001763, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001966/0.001966, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 18.57 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.464/1.464, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3658/0.3658, allocations: 34.26 MB / 295.3 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 179] 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 1.423e-06/1.423e-06, allocations: 0 / 377.3 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.554e-05, allocations: 2.312 kB / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01011/0.01013, allocations: 6.677 MB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00702/0.01715, allocations: 3.169 MB / 387.1 MB, free: 9.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007495/0.0179, allocations: 39.81 kB / 387.1 MB, free: 9.051 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.01987, allocations: 0.8325 MB / 388 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003642/0.02351, allocations: 1.385 MB / 389.4 MB, free: 6.824 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.02486, allocations: 0.5611 MB / 389.9 MB, free: 6.262 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003976/0.02884, allocations: 2.959 MB / 392.9 MB, free: 3.301 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.03087, allocations: 1.459 MB / 394.3 MB, free: 1.824 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.0326, allocations: 1.216 MB / 395.5 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.03488, allocations: 1.309 MB / 396.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002867/0.03517, allocations: 140 kB / 397 MB, free: 15.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.0368, allocations: 0.8695 MB / 397.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.03796, allocations: 1.083 MB / 398.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009034/0.03886, allocations: 0.6461 MB / 399.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00535/0.04421, allocations: 4.045 MB / 403.6 MB, free: 8.492 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.04421, allocations: 0 / 403.6 MB, free: 8.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.04422, allocations: 0 / 403.6 MB, free: 8.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.188e-05/0.0443, allocations: 0 / 403.6 MB, free: 8.492 MB / 378.7 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.006414/0.05071, allocations: 2.963 MB / 406.6 MB, free: 5.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.05075, allocations: 8.031 kB / 406.6 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007187/0.05794, allocations: 2.078 MB / 408.7 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.06064, allocations: 1.278 MB / 410 MB, free: 2.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.06077, allocations: 119.4 kB / 410.1 MB, free: 1.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003964/0.06117, allocations: 164.2 kB / 410.2 MB, free: 1.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.07248, allocations: 6.473 MB / 416.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-05/0.07256, allocations: 35.7 kB / 416.7 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002672/0.07283, allocations: 79.89 kB / 416.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00297/0.0758, allocations: 1.437 MB / 418.3 MB, free: 9.254 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/0.08699, allocations: 5.74 MB / 424 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2147/0.3017, allocations: 25.38 MB / 449.4 MB, free: 81.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004516/0.3062, allocations: 1.649 MB / 451 MB, free: 81.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.3073, allocations: 0.9608 MB / 452 MB, free: 81.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.3075, allocations: 30.69 kB / 452 MB, free: 81.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3075, allocations: 43.64 kB / 452.1 MB, free: 81.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.757e-06/0.3075, allocations: 0 / 452.1 MB, free: 81.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01619/0.3237, allocations: 6.805 MB / 458.9 MB, free: 79.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.3238, allocations: 142 kB / 459 MB, free: 78.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003594/0.3274, allocations: 2.734 MB / 461.7 MB, free: 77.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.3275, allocations: 36.98 kB / 461.8 MB, free: 77.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.3285, allocations: 2.195 MB / 464 MB, free: 76.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004411/0.329, allocations: 466 kB / 464.4 MB, free: 75.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.3301, allocations: 0.8904 MB / 465.3 MB, free: 75.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.3302, allocations: 351.2 kB / 465.7 MB, free: 75.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.3322, allocations: 1.433 MB / 467.1 MB, free: 74.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003054/0.3353, allocations: 4.308 MB / 471.4 MB, free: 70.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005464/0.3407, allocations: 6.221 MB / 477.6 MB, free: 65.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001283/0.3409, allocations: 33.81 kB / 477.7 MB, free: 65.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.0098/0.3507, allocations: 5.738 MB / 483.4 MB, free: 63.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.3508, allocations: 53.06 kB / 483.4 MB, free: 63.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002468/0.3511, allocations: 104.8 kB / 483.6 MB, free: 63.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/0.3513, allocations: 134.9 kB / 483.7 MB, free: 63.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004586/0.3558, allocations: 1.232 MB / 484.9 MB, free: 63.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003233/0.3562, allocations: 203.2 kB / 485.1 MB, free: 62.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/0.3597, allocations: 299 kB / 485.4 MB, free: 62.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000588/0.3603, allocations: 287.2 kB / 485.7 MB, free: 62.86 MB / 410.7 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.00248/0.3628, allocations: 1.379 MB / 487.1 MB, free: 62.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000809/0.3636, allocations: 252.9 kB / 487.3 MB, free: 62.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.3656, allocations: 1.215 MB / 488.5 MB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/0.3656, allocations: 13.75 kB / 488.5 MB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.3657, allocations: 1.375 kB / 488.5 MB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3657, allocations: 12.03 kB / 488.6 MB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/0.3719, allocations: 3.987 MB / 492.5 MB, free: 59.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.3719, allocations: 3.312 kB / 492.5 MB, free: 59.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/0.3735, allocations: 371.2 kB / 492.9 MB, free: 59.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.3735, allocations: 7.219 kB / 492.9 MB, free: 59.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/0.3736, allocations: 23.53 kB / 492.9 MB, free: 59.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.3736, allocations: 11.66 kB / 492.9 MB, free: 59.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.3736, allocations: 7.688 kB / 493 MB, free: 59.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.3756, allocations: 2.162 MB / 495.1 MB, free: 58.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003487/0.376, allocations: 220.1 kB / 495.3 MB, free: 58.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.3762, allocations: 21.97 kB / 495.4 MB, free: 58.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009741/0.3772, allocations: 95.59 kB / 495.4 MB, free: 58.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.3773, allocations: 70.83 kB / 495.5 MB, free: 58.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.493e-05/0.3774, allocations: 37.39 kB / 495.6 MB, free: 58.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001672/0.3791, allocations: 1.576 MB / 497.1 MB, free: 58.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3791, allocations: 1.641 kB / 497.1 MB, free: 58.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003145/0.3822, allocations: 0.6638 MB / 497.8 MB, free: 58.01 MB / 410.7 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.0003299/0.3825, allocations: 180.3 kB / 498 MB, free: 57.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003672/0.3862, allocations: 3.167 MB / 0.4894 GB, free: 56.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3862, allocations: 0.8125 kB / 0.4894 GB, free: 56.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007624/0.387, allocations: 0.7408 MB / 0.4901 GB, free: 56.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.3884, allocations: 247.5 kB / 0.4904 GB, free: 56.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006885/0.3953, allocations: 5.632 MB / 0.4959 GB, free: 50.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/0.397, allocations: 1.642 MB / 0.4975 GB, free: 49.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002835/0.3998, allocations: 1.429 MB / 0.4989 GB, free: 48.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005058/0.4004, allocations: 165.7 kB / 0.499 GB, free: 48.57 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4004, allocations: 0 / 0.499 GB, free: 48.57 MB / 410.7 MB Notification: Performance of Templates: time 0.0307/0.4311, allocations: 18.09 MB / 0.5167 GB, free: 32.89 MB / 410.7 MB " [Timeout remaining time 660] 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.212128565995954]