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.0014/0.0014, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001217/0.001217, allocations: 165.9 kB / 24.99 MB, free: 8.805 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 0.9643/0.9643, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.2683/0.2683, allocations: 34.26 MB / 296 MB, free: 0.793 MB / 266.7 MB " [Timeout remaining time 180] 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.[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.1.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.1.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 378 MB, free: 3.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.893e-05/2.053e-05, allocations: 9.484 kB / 378 MB, free: 3.023 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005973/0.005993, allocations: 7.242 MB / 385.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003931/0.009924, allocations: 3.27 MB / 388.5 MB, free: 8.461 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.01026, allocations: 43.81 kB / 388.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.01136, allocations: 0.852 MB / 389.4 MB, free: 7.562 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.013, allocations: 1.377 MB / 390.8 MB, free: 6.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.0136, allocations: 0.565 MB / 391.3 MB, free: 5.613 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.0155, allocations: 2.955 MB / 394.3 MB, free: 2.652 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.01664, allocations: 1.451 MB / 395.7 MB, free: 1.184 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000912/0.01755, allocations: 1.216 MB / 397 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001115/0.01866, allocations: 1.321 MB / 398.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.01883, allocations: 144 kB / 398.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009/0.01973, allocations: 0.8734 MB / 399.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006139/0.02035, allocations: 1.071 MB / 400.4 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.02082, allocations: 0.6539 MB / 401 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.02292, allocations: 2.829 MB / 403.8 MB, free: 9.055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.02292, allocations: 4 kB / 403.8 MB, free: 9.051 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.02292, allocations: 0 / 403.8 MB, free: 9.051 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.488e-05/0.02294, allocations: 0 / 403.8 MB, free: 9.051 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.003093/0.02604, allocations: 3.238 MB / 407.1 MB, free: 5.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.02607, allocations: 8.031 kB / 407.1 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003734/0.02981, allocations: 2 MB / 409.1 MB, free: 3.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.03102, allocations: 1.179 MB / 410.3 MB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.03109, allocations: 119.4 kB / 410.4 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.0313, allocations: 160.3 kB / 410.5 MB, free: 2.266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/0.03518, allocations: 3.971 MB / 414.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.931e-05/0.03523, allocations: 35.7 kB / 414.6 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001746/0.0354, allocations: 87.89 kB / 414.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001601/0.037, allocations: 1.444 MB / 416.1 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004842/0.04184, allocations: 2.133 MB / 418.2 MB, free: 9.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1791/0.221, allocations: 31.01 MB / 449.2 MB, free: 74.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.223, allocations: 0.9246 MB / 450.2 MB, free: 74.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/0.2234, allocations: 338.6 kB / 450.5 MB, free: 74.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.2235, allocations: 27.11 kB / 450.5 MB, free: 74.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.2235, allocations: 51.12 kB / 450.6 MB, free: 74.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.586e-06/0.2235, allocations: 0.7188 kB / 450.6 MB, free: 74.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01027/0.2338, allocations: 4.846 MB / 455.4 MB, free: 72.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.2338, allocations: 148.4 kB / 455.5 MB, free: 72.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002461/0.2363, allocations: 2.491 MB / 458 MB, free: 72.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/0.2364, allocations: 42.95 kB / 458.1 MB, free: 72.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009693/0.2373, allocations: 2.33 MB / 460.4 MB, free: 70.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003537/0.2377, allocations: 493.1 kB / 460.9 MB, free: 70.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008911/0.2386, allocations: 0.9735 MB / 461.9 MB, free: 70.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.2387, allocations: 0.5277 MB / 462.4 MB, free: 69.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009094/0.2396, allocations: 463.7 kB / 462.8 MB, free: 69.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.2416, allocations: 4.713 MB / 467.6 MB, free: 63.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004224/0.2458, allocations: 5.711 MB / 473.3 MB, free: 57.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.975e-05/0.2459, allocations: 29.78 kB / 473.3 MB, free: 57.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.006105/0.252, allocations: 3.808 MB / 477.1 MB, free: 56.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.89e-05/0.2521, allocations: 47.91 kB / 477.2 MB, free: 56.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/0.2522, allocations: 100.6 kB / 477.3 MB, free: 56.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.2523, allocations: 136.7 kB / 477.4 MB, free: 56.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/0.2553, allocations: 1.231 MB / 478.6 MB, free: 55.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001204/0.2554, allocations: 205 kB / 478.8 MB, free: 55.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002552/0.258, allocations: 272.5 kB / 479.1 MB, free: 55.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000383/0.2584, allocations: 283.3 kB / 479.4 MB, free: 55.76 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.001078/0.2594, allocations: 0.5248 MB / 479.9 MB, free: 55.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.2599, allocations: 251.3 kB / 480.1 MB, free: 55.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009811/0.2609, allocations: 0.6295 MB / 480.8 MB, free: 54.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.2609, allocations: 12.06 kB / 480.8 MB, free: 54.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.2609, allocations: 6.906 kB / 480.8 MB, free: 54.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.2609, allocations: 3.422 kB / 480.8 MB, free: 54.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/0.266, allocations: 3.258 MB / 484 MB, free: 53.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.266, allocations: 4.406 kB / 484 MB, free: 53.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.2672, allocations: 367.5 kB / 484.4 MB, free: 53.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.461e-05/0.2673, allocations: 11.97 kB / 484.4 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/0.2673, allocations: 20.28 kB / 484.4 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.2673, allocations: 8.5 kB / 484.4 MB, free: 53.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.2673, allocations: 11.78 kB / 484.5 MB, free: 53.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.2689, allocations: 1.494 MB / 485.9 MB, free: 52.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.2692, allocations: 218.5 kB / 486.2 MB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.2694, allocations: 17.72 kB / 486.2 MB, free: 52.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007659/0.2702, allocations: 94.45 kB / 486.3 MB, free: 52.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.2703, allocations: 70.25 kB / 486.3 MB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.2704, allocations: 37.03 kB / 486.4 MB, free: 52.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001377/0.2718, allocations: 1.048 MB / 487.4 MB, free: 51.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2718, allocations: 0 / 487.4 MB, free: 51.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003073/0.2748, allocations: 0.6668 MB / 488.1 MB, free: 51.58 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.0003692/0.2752, allocations: 176.5 kB / 488.3 MB, free: 51.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003474/0.2787, allocations: 1.939 MB / 490.2 MB, free: 50.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.2787, allocations: 5.188 kB / 490.2 MB, free: 50.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.2792, allocations: 320 kB / 490.5 MB, free: 50.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.2807, allocations: 252.4 kB / 490.8 MB, free: 50.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006707/0.2874, allocations: 4.534 MB / 495.3 MB, free: 48.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.288, allocations: 0.7408 MB / 496 MB, free: 47.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001639/0.2897, allocations: 1.219 MB / 497.3 MB, free: 47.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/0.29, allocations: 164.7 kB / 497.4 MB, free: 47.85 MB / 410.7 MB Notification: Performance of SimCode: time 2.445e-06/0.29, allocations: 3.969 kB / 497.4 MB, free: 47.85 MB / 410.7 MB Notification: Performance of Templates: time 0.02792/0.318, allocations: 18.03 MB / 0.5034 GB, free: 38.42 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] 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","",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.0210973240900785]