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.002858/0.002858, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.002063/0.002063, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 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.507/1.507, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 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.2018/0.2018, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] 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.543e-06/1.543e-06, allocations: 0 / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.62e-05, allocations: 6.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006635/0.006661, allocations: 7.25 MB / 354.2 MB, free: 2.531 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006442/0.0131, allocations: 3.244 MB / 357.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.01424, allocations: 39.81 kB / 357.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.01651, allocations: 0.8481 MB / 358.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004201/0.02071, allocations: 1.408 MB / 359.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.02233, allocations: 0.5689 MB / 360.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004915/0.02725, allocations: 2.906 MB / 363.2 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002548/0.0298, allocations: 1.471 MB / 364.6 MB, free: 8.012 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.03238, allocations: 1.239 MB / 365.9 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.03476, allocations: 1.325 MB / 367.2 MB, free: 5.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004153/0.03518, allocations: 147.9 kB / 367.4 MB, free: 5.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.0371, allocations: 0.8734 MB / 368.2 MB, free: 4.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.03843, allocations: 1.102 MB / 369.3 MB, free: 3.312 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.03956, allocations: 0.6656 MB / 370 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005916/0.04548, allocations: 4.099 MB / 374.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.04548, allocations: 0 / 374.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.04548, allocations: 0 / 374.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.544e-05/0.04558, allocations: 4 kB / 374.1 MB, free: 14.53 MB / 314.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.00786/0.05344, allocations: 3.534 MB / 377.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.05348, allocations: 8.031 kB / 377.6 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007318/0.0608, allocations: 2 MB / 379.6 MB, free: 8.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003783/0.06458, allocations: 1.206 MB / 380.8 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.06474, allocations: 123.4 kB / 381 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004999/0.06524, allocations: 164.2 kB / 381.1 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009436/0.07468, allocations: 4.224 MB / 385.4 MB, free: 2.465 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.441e-05/0.07477, allocations: 35.7 kB / 385.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/0.07505, allocations: 79.89 kB / 385.5 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002967/0.07801, allocations: 1.441 MB / 386.9 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007661/0.08567, allocations: 2.409 MB / 389.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0427/0.1284, allocations: 33.02 MB / 422.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003869/0.1322, allocations: 0.9712 MB / 423.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008137/0.1331, allocations: 351.3 kB / 423.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.1332, allocations: 28.31 kB / 423.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.1333, allocations: 49.66 kB / 423.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 3.917e-06/0.1333, allocations: 0 / 423.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=112): time 0.01572/0.149, allocations: 4.959 MB / 428.7 MB, free: 5.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.1491, allocations: 141 kB / 428.8 MB, free: 5.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004859/0.154, allocations: 3.1 MB / 431.9 MB, free: 2.672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001837/0.1541, allocations: 45.69 kB / 432 MB, free: 2.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002314/0.1564, allocations: 2.466 MB / 434.4 MB, free: 132 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007622/0.1572, allocations: 0.5045 MB / 434.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001708/0.1589, allocations: 1.121 MB / 436.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003669/0.1593, allocations: 0.5548 MB / 436.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.1606, allocations: 0.5083 MB / 437.1 MB, free: 13.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005555/0.1662, allocations: 4.907 MB / 442 MB, free: 6.516 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1782/0.3444, allocations: 5.928 MB / 448 MB, free: 95.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001577/0.3446, allocations: 29.12 kB / 448 MB, free: 95.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.007865/0.3524, allocations: 3.916 MB / 451.9 MB, free: 94.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.663e-05/0.3525, allocations: 48.25 kB / 451.9 MB, free: 94.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/0.3527, allocations: 101.8 kB / 452 MB, free: 94.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/0.353, allocations: 136.9 kB / 452.2 MB, free: 94.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003884/0.3568, allocations: 1.231 MB / 453.4 MB, free: 94.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001297/0.357, allocations: 198.8 kB / 453.6 MB, free: 94.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.3596, allocations: 282.3 kB / 453.9 MB, free: 94.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/0.3599, allocations: 282.7 kB / 454.2 MB, free: 94.8 MB / 378.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.0008766/0.3608, allocations: 0.5972 MB / 454.8 MB, free: 94.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.3611, allocations: 248.9 kB / 455 MB, free: 94.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.3624, allocations: 0.6707 MB / 455.7 MB, free: 94.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.3624, allocations: 18.44 kB / 455.7 MB, free: 94.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3624, allocations: 0 / 455.7 MB, free: 94.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.3624, allocations: 3.609 kB / 455.7 MB, free: 94.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006539/0.369, allocations: 3.82 MB / 459.5 MB, free: 93.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/0.369, allocations: 19.48 kB / 459.5 MB, free: 93.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/0.3708, allocations: 363.3 kB / 459.9 MB, free: 93.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/0.3708, allocations: 7.531 kB / 459.9 MB, free: 93.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/0.3709, allocations: 22 kB / 459.9 MB, free: 93.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.3709, allocations: 14.92 kB / 459.9 MB, free: 93.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.3709, allocations: 9.469 kB / 459.9 MB, free: 93.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.3729, allocations: 1.563 MB / 461.5 MB, free: 92.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009891/0.3739, allocations: 365.9 kB / 461.9 MB, free: 92.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/0.3741, allocations: 20.47 kB / 461.9 MB, free: 92.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.3751, allocations: 93.88 kB / 462 MB, free: 92.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.3753, allocations: 68.97 kB / 462 MB, free: 92.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.3754, allocations: 36.17 kB / 462.1 MB, free: 92.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001925/0.3773, allocations: 1.271 MB / 463.3 MB, free: 92.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3773, allocations: 0 / 463.3 MB, free: 92.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003406/0.3807, allocations: 0.6809 MB / 464 MB, free: 91.41 MB / 378.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.0003933/0.3811, allocations: 181.5 kB / 464.2 MB, free: 91.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003639/0.3847, allocations: 2.172 MB / 466.4 MB, free: 89.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.3847, allocations: 0 / 466.4 MB, free: 89.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006403/0.3854, allocations: 356.1 kB / 466.7 MB, free: 89.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.3872, allocations: 244.6 kB / 467 MB, free: 88.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006927/0.3941, allocations: 4.631 MB / 471.6 MB, free: 84.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.3955, allocations: 1.475 MB / 473.1 MB, free: 83.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002379/0.3978, allocations: 1.235 MB / 474.3 MB, free: 81.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000508/0.3983, allocations: 160.5 kB / 474.5 MB, free: 81.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.944e-06/0.3983, allocations: 0 / 474.5 MB, free: 81.68 MB / 378.7 MB Notification: Performance of Templates: time 0.03309/0.4314, allocations: 18.33 MB / 492.8 MB, free: 63.5 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] 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.289475094992667]