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.00102/0.00102, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001132/0.001132, allocations: 165 kB / 24.56 MB, free: 16 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.042/1.042, allocations: 177.1 MB / 205 MB, free: 5.629 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.2937/0.2937, allocations: 32.81 MB / 294.3 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] 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.383e-06/1.383e-06, allocations: 0 / 376 MB, free: 4.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.812e-05, allocations: 2.312 kB / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.00679/0.006818, allocations: 7.272 MB / 383.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005099/0.01192, allocations: 3.278 MB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.01315, allocations: 43.81 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001991/0.01514, allocations: 0.8481 MB / 387.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.0188, allocations: 1.381 MB / 388.8 MB, free: 7.832 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.02016, allocations: 0.5804 MB / 389.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003544/0.02371, allocations: 2.955 MB / 392.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.02629, allocations: 1.451 MB / 393.8 MB, free: 2.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002772/0.02906, allocations: 1.255 MB / 395 MB, free: 1.562 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.03158, allocations: 1.286 MB / 396.3 MB, free: 280 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004998/0.03208, allocations: 140 kB / 396.5 MB, free: 140 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.03366, allocations: 0.8811 MB / 397.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009011/0.03456, allocations: 1.079 MB / 398.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009961/0.03555, allocations: 0.6422 MB / 399.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.03923, allocations: 2.817 MB / 401.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.03924, allocations: 0 / 401.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.03924, allocations: 0 / 401.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001068/0.03935, allocations: 0 / 401.9 MB, free: 10.7 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.005537/0.04488, allocations: 3.257 MB / 405.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.04493, allocations: 11.98 kB / 405.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005227/0.05016, allocations: 2 MB / 407.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002291/0.05245, allocations: 1.199 MB / 408.4 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.985e-05/0.05255, allocations: 123.4 kB / 408.5 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.0529, allocations: 156.3 kB / 408.6 MB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007554/0.06045, allocations: 3.959 MB / 412.6 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.06055, allocations: 35.7 kB / 412.6 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.06084, allocations: 79.89 kB / 412.7 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001719/0.06256, allocations: 1.386 MB / 414.1 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005078/0.06763, allocations: 2.032 MB / 416.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.215/0.2826, allocations: 31.13 MB / 447.2 MB, free: 70.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.2842, allocations: 0.8017 MB / 448 MB, free: 70.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.2845, allocations: 251.4 kB / 448.3 MB, free: 69.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00239/0.2869, allocations: 2.449 MB / 450.7 MB, free: 68.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.2869, allocations: 45.52 kB / 450.8 MB, free: 68.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=79): time 2.435e-06/0.2869, allocations: 0 / 450.8 MB, free: 68.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=86): time 0.00525/0.2922, allocations: 3.583 MB / 454.4 MB, free: 67.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.2922, allocations: 136.4 kB / 454.5 MB, free: 67.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.2946, allocations: 2.571 MB / 457.1 MB, free: 66.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.2947, allocations: 36.55 kB / 457.1 MB, free: 66.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009128/0.2956, allocations: 2.405 MB / 459.5 MB, free: 65.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.2958, allocations: 400 kB / 459.9 MB, free: 65.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007183/0.2965, allocations: 0.9655 MB / 460.9 MB, free: 64.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.139e-05/0.2966, allocations: 0.5309 MB / 461.4 MB, free: 64.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006016/0.2972, allocations: 406 kB / 461.8 MB, free: 64.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.2989, allocations: 4.825 MB / 466.6 MB, free: 58.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003224/0.3022, allocations: 5.757 MB / 472.4 MB, free: 52.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.856e-05/0.3022, allocations: 32.59 kB / 472.4 MB, free: 52.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.005792/0.308, allocations: 3.743 MB / 476.2 MB, free: 51.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.145e-05/0.3081, allocations: 53.41 kB / 476.2 MB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/0.3082, allocations: 106.6 kB / 476.3 MB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001128/0.3083, allocations: 145.3 kB / 476.5 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.3102, allocations: 1.04 MB / 477.5 MB, free: 51.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000156/0.3104, allocations: 209.5 kB / 477.7 MB, free: 51.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.3127, allocations: 277.4 kB / 478 MB, free: 51.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003378/0.313, allocations: 284.9 kB / 478.2 MB, free: 51.01 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 (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 (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.001065/0.3141, allocations: 0.5225 MB / 478.8 MB, free: 50.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003891/0.3145, allocations: 236.6 kB / 479 MB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005244/0.315, allocations: 414.2 kB / 479.4 MB, free: 50.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.315, allocations: 16.06 kB / 479.4 MB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.315, allocations: 4 kB / 479.4 MB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.315, allocations: 7 kB / 479.4 MB, free: 50.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.3186, allocations: 2.441 MB / 481.9 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.3186, allocations: 2.938 kB / 481.9 MB, free: 49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.3189, allocations: 131.2 kB / 482 MB, free: 48.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.3189, allocations: 12.39 kB / 482 MB, free: 48.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.319, allocations: 20.72 kB / 482 MB, free: 48.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.319, allocations: 12.66 kB / 482 MB, free: 48.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/0.319, allocations: 2.844 kB / 482 MB, free: 48.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.32, allocations: 1.289 MB / 483.3 MB, free: 47.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.3203, allocations: 213.7 kB / 483.5 MB, free: 47.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.3205, allocations: 22.58 kB / 483.6 MB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.3209, allocations: 66.78 kB / 483.6 MB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.321, allocations: 52.48 kB / 483.7 MB, free: 47.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.321, allocations: 27.69 kB / 483.7 MB, free: 47.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001219/0.3222, allocations: 1.083 MB / 484.8 MB, free: 47.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3222, allocations: 0 / 484.8 MB, free: 47.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003518/0.3258, allocations: 0.6177 MB / 485.4 MB, free: 47.32 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.0003958/0.3262, allocations: 160.9 kB / 485.6 MB, free: 47.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003528/0.3297, allocations: 1.827 MB / 487.4 MB, free: 46.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.3297, allocations: 1.094 kB / 487.4 MB, free: 46.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.3301, allocations: 230.9 kB / 487.6 MB, free: 46.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.3316, allocations: 243.2 kB / 487.9 MB, free: 46.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0064/0.338, allocations: 4.345 MB / 492.2 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/0.3387, allocations: 0.7285 MB / 492.9 MB, free: 43.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00187/0.3406, allocations: 1.186 MB / 494.1 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.3409, allocations: 154.7 kB / 494.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.284e-06/0.3409, allocations: 3.828 kB / 494.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of Templates: time 0.03115/0.3721, allocations: 14.45 MB / 0.4968 GB, free: 41.27 MB / 410.7 MB " [Timeout remaining time 660] 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.091504167765379]