Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001539/0.001539, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001197/0.001197, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 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.127/1.127, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3912/0.3912, allocations: 32.8 MB / 294.6 MB, free: 1.246 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 376.4 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.253e-05/4.452e-05, allocations: 6.25 kB / 376.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01227/0.01231, allocations: 7.14 MB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006682/0.019, allocations: 3.235 MB / 386.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007162/0.01971, allocations: 35.88 kB / 386.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.02114, allocations: 0.852 MB / 387.7 MB, free: 9.137 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.02323, allocations: 1.381 MB / 389.1 MB, free: 7.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008238/0.02406, allocations: 0.5688 MB / 389.7 MB, free: 7.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00221/0.02627, allocations: 2.963 MB / 392.6 MB, free: 4.215 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.02745, allocations: 1.459 MB / 394.1 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.02859, allocations: 1.247 MB / 395.3 MB, free: 1.488 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.02977, allocations: 1.301 MB / 396.6 MB, free: 188 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.02994, allocations: 140 kB / 396.8 MB, free: 48 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.03105, allocations: 0.8694 MB / 397.6 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007766/0.03182, allocations: 1.075 MB / 398.7 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005499/0.03237, allocations: 0.65 MB / 399.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00344/0.03581, allocations: 2.813 MB / 402.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.03582, allocations: 4 kB / 402.2 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.03582, allocations: 4 kB / 402.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.03585, allocations: 0 / 402.2 MB, free: 10.61 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.003653/0.0395, allocations: 3.105 MB / 405.3 MB, free: 7.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.03956, allocations: 15.98 kB / 405.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/0.0421, allocations: 1.088 MB / 406.4 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.04341, allocations: 1.085 MB / 407.5 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/0.04349, allocations: 123.4 kB / 407.6 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.0437, allocations: 156.3 kB / 407.7 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/0.04719, allocations: 3.623 MB / 411.4 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.212e-05/0.04724, allocations: 39.64 kB / 411.4 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/0.04742, allocations: 87.88 kB / 411.5 MB, free: 500 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001193/0.04861, allocations: 1.211 MB / 412.7 MB, free: 15.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.05145, allocations: 1.609 MB / 414.3 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3444/0.3959, allocations: 30.11 MB / 444.4 MB, free: 71.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.3979, allocations: 0.7002 MB / 445.1 MB, free: 71.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000329/0.3983, allocations: 215.2 kB / 445.3 MB, free: 71.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00407/0.4023, allocations: 2.355 MB / 447.7 MB, free: 70.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.4024, allocations: 46.11 kB / 447.7 MB, free: 69.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=79): time 5.781e-06/0.4024, allocations: 0 / 447.7 MB, free: 69.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=86): time 0.005247/0.4076, allocations: 1.786 MB / 449.5 MB, free: 69.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.4077, allocations: 144.8 kB / 449.7 MB, free: 69.56 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/0.4106, allocations: 2.566 MB / 452.2 MB, free: 69.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.4107, allocations: 34.83 kB / 452.3 MB, free: 69.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.412, allocations: 2.422 MB / 454.7 MB, free: 67.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003261/0.4123, allocations: 396 kB / 455.1 MB, free: 67.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009319/0.4133, allocations: 0.9852 MB / 456.1 MB, free: 67.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.4134, allocations: 0.5342 MB / 456.6 MB, free: 66.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/0.4141, allocations: 363 kB / 456.9 MB, free: 66.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002673/0.4168, allocations: 4.81 MB / 461.8 MB, free: 61.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004701/0.4215, allocations: 5.682 MB / 467.4 MB, free: 55.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000145/0.4216, allocations: 35.12 kB / 467.5 MB, free: 55.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.006148/0.4278, allocations: 3.512 MB / 471 MB, free: 54.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.257e-05/0.4278, allocations: 55.92 kB / 471 MB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/0.428, allocations: 105.9 kB / 471.1 MB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001349/0.4281, allocations: 143.9 kB / 471.3 MB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002016/0.4301, allocations: 1.007 MB / 472.3 MB, free: 54.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001842/0.4303, allocations: 205.1 kB / 472.5 MB, free: 54.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00324/0.4336, allocations: 207.9 kB / 472.7 MB, free: 54.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003841/0.4339, allocations: 247.7 kB / 472.9 MB, free: 54.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 486 * Number of states: 0 () * Number of discrete variables: 18 (Body1.sphereColor[1],Body1.sphereColor[2],Body1.sphereColor[3],ActuatedRevolute1.cylinderColor[1],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * 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.001191/0.4351, allocations: 0.523 MB / 473.5 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00056/0.4357, allocations: 246.9 kB / 473.7 MB, free: 53.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006191/0.4363, allocations: 388.7 kB / 474.1 MB, free: 53.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.4363, allocations: 9.781 kB / 474.1 MB, free: 53.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.4363, allocations: 0 / 474.1 MB, free: 53.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.4363, allocations: 10.59 kB / 474.1 MB, free: 53.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/0.4408, allocations: 2.426 MB / 476.5 MB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.4408, allocations: 6.875 kB / 476.5 MB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003441/0.4412, allocations: 112.8 kB / 476.6 MB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.4412, allocations: 6.062 kB / 476.6 MB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.4412, allocations: 17.06 kB / 476.7 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.484e-05/0.4412, allocations: 12.25 kB / 476.7 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/0.4412, allocations: 10.38 kB / 476.7 MB, free: 52.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.4426, allocations: 1.246 MB / 477.9 MB, free: 51.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/0.4431, allocations: 209 kB / 478.1 MB, free: 51.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.4432, allocations: 20.78 kB / 478.2 MB, free: 51.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.4436, allocations: 17.77 kB / 478.2 MB, free: 51.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.613e-05/0.4437, allocations: 61.27 kB / 478.2 MB, free: 51.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/0.4438, allocations: 28.03 kB / 478.3 MB, free: 51.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001191/0.4449, allocations: 1.007 MB / 479.3 MB, free: 51.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4449, allocations: 0 / 479.3 MB, free: 51.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004426/0.4494, allocations: 0.6145 MB / 479.9 MB, free: 51.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 61 * 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.0005464/0.4499, allocations: 167.5 kB / 480 MB, free: 50.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003992/0.4539, allocations: 1.743 MB / 481.8 MB, free: 50.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/0.4539, allocations: 1 kB / 481.8 MB, free: 50.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003736/0.4543, allocations: 207.4 kB / 482 MB, free: 50.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.4559, allocations: 240.3 kB / 482.2 MB, free: 50.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00998/0.4659, allocations: 4.346 MB / 486.6 MB, free: 47.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.4669, allocations: 0.7322 MB / 487.3 MB, free: 47.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00147/0.4684, allocations: 338.6 kB / 487.6 MB, free: 47.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/0.4691, allocations: 390.3 kB / 488 MB, free: 47.38 MB / 410.7 MB Notification: Performance of SimCode: time 3.216e-06/0.4691, allocations: 0 / 488 MB, free: 47.38 MB / 410.7 MB Notification: Performance of Templates: time 0.03873/0.5078, allocations: 15.69 MB / 0.4919 GB, free: 45.29 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.453864261973649]