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.001945/0.001945, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002017/0.002017, allocations: 165.6 kB / 24.27 MB, free: 156 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.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.3963/0.3963, allocations: 34.26 MB / 295.3 MB, free: 0.668 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.643e-06/1.643e-06, allocations: 0 / 377.2 MB, free: 3.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.903e-05, allocations: 2.312 kB / 377.2 MB, free: 3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01093/0.01096, allocations: 7.207 MB / 384.5 MB, free: 11.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007629/0.01858, allocations: 3.267 MB / 387.7 MB, free: 8.477 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.01986, allocations: 43.81 kB / 387.8 MB, free: 8.434 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.02223, allocations: 0.8442 MB / 388.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003798/0.02603, allocations: 1.381 MB / 390 MB, free: 6.199 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.02766, allocations: 0.5689 MB / 390.6 MB, free: 5.629 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004791/0.03245, allocations: 2.959 MB / 393.5 MB, free: 2.664 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002899/0.03535, allocations: 1.459 MB / 395 MB, free: 1.188 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.03739, allocations: 1.212 MB / 396.2 MB, free: 15.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.03972, allocations: 1.317 MB / 397.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003284/0.04005, allocations: 140 kB / 397.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.04187, allocations: 0.8734 MB / 398.5 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001229/0.0431, allocations: 1.079 MB / 399.6 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009616/0.04406, allocations: 0.65 MB / 400.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005244/0.0493, allocations: 4.052 MB / 404.3 MB, free: 7.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.04931, allocations: 0 / 404.3 MB, free: 7.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.04931, allocations: 4 kB / 404.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.21e-05/0.04935, allocations: 0 / 404.3 MB, free: 7.836 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.00661/0.05596, allocations: 3.503 MB / 407.8 MB, free: 4.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.056, allocations: 8.031 kB / 407.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007211/0.06321, allocations: 2 MB / 409.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.0669, allocations: 1.183 MB / 411 MB, free: 1.055 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.06704, allocations: 123.4 kB / 411.1 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004154/0.06745, allocations: 160.3 kB / 411.3 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008635/0.07609, allocations: 4.224 MB / 415.5 MB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-05/0.07617, allocations: 35.69 kB / 415.5 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/0.07644, allocations: 83.89 kB / 415.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002865/0.0793, allocations: 1.444 MB / 417.1 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007185/0.08649, allocations: 2.402 MB / 419.5 MB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2006/0.2871, allocations: 32.99 MB / 452.4 MB, free: 72.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.2901, allocations: 0.9838 MB / 453.4 MB, free: 71.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005745/0.2907, allocations: 352 kB / 453.8 MB, free: 71.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.2909, allocations: 23.27 kB / 453.8 MB, free: 71.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.2909, allocations: 51.86 kB / 453.8 MB, free: 71.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 2.995e-06/0.2909, allocations: 0 / 453.8 MB, free: 71.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01311/0.304, allocations: 4.928 MB / 458.8 MB, free: 70.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.304, allocations: 137.4 kB / 458.9 MB, free: 70.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00331/0.3073, allocations: 3.089 MB / 462 MB, free: 69.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.3075, allocations: 43.3 kB / 462 MB, free: 69.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.3086, allocations: 2.464 MB / 464.5 MB, free: 67.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.309, allocations: 0.5042 MB / 465 MB, free: 67.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/0.3101, allocations: 1.133 MB / 466.1 MB, free: 67.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3103, allocations: 0.5453 MB / 466.7 MB, free: 66.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.3114, allocations: 0.507 MB / 467.2 MB, free: 66.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.3138, allocations: 4.901 MB / 472.1 MB, free: 60.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004117/0.3179, allocations: 5.951 MB / 478 MB, free: 54.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-05/0.318, allocations: 30.44 kB / 478.1 MB, free: 54.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.005941/0.3239, allocations: 3.907 MB / 482 MB, free: 52.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/0.324, allocations: 48.69 kB / 482 MB, free: 52.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.065e-05/0.3241, allocations: 103.9 kB / 482.1 MB, free: 52.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.3242, allocations: 133 kB / 482.3 MB, free: 52.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003849/0.3281, allocations: 1.228 MB / 483.5 MB, free: 52.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001422/0.3282, allocations: 199.1 kB / 483.7 MB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/0.3311, allocations: 281.5 kB / 484 MB, free: 52.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00036/0.3315, allocations: 283.3 kB / 484.2 MB, free: 52.24 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.001027/0.3325, allocations: 0.598 MB / 484.8 MB, free: 51.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004673/0.333, allocations: 249.4 kB / 485.1 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.3344, allocations: 0.6583 MB / 485.7 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.3344, allocations: 13.53 kB / 485.7 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.3344, allocations: 5.656 kB / 485.8 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.3344, allocations: 4.344 kB / 485.8 MB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008567/0.343, allocations: 3.849 MB / 489.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.343, allocations: 4.875 kB / 489.6 MB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/0.3449, allocations: 367.1 kB / 490 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.3449, allocations: 7.594 kB / 490 MB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.417e-05/0.345, allocations: 30.5 kB / 490 MB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.286e-05/0.345, allocations: 12.78 kB / 490 MB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.345, allocations: 5.625 kB / 490 MB, free: 49.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/0.3473, allocations: 1.559 MB / 491.6 MB, free: 48.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005706/0.3479, allocations: 214.4 kB / 491.8 MB, free: 48.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.3481, allocations: 25.97 kB / 491.8 MB, free: 48.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.3492, allocations: 91.56 kB / 491.9 MB, free: 48.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.3493, allocations: 75.09 kB / 492 MB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.053e-05/0.3494, allocations: 37.81 kB / 492 MB, free: 48.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002309/0.3517, allocations: 1.248 MB / 493.3 MB, free: 47.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3517, allocations: 0 / 493.3 MB, free: 47.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003924/0.3556, allocations: 0.6627 MB / 493.9 MB, free: 47.61 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.000394/0.356, allocations: 173.5 kB / 494.1 MB, free: 47.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00426/0.3603, allocations: 2.172 MB / 496.3 MB, free: 46.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3603, allocations: 3.094 kB / 496.3 MB, free: 46.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000622/0.3609, allocations: 358.4 kB / 496.6 MB, free: 46.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.3625, allocations: 253.8 kB / 496.9 MB, free: 46.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/0.3693, allocations: 4.601 MB / 0.4897 GB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.3708, allocations: 1.474 MB / 0.4912 GB, free: 43.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002581/0.3734, allocations: 1.222 MB / 0.4924 GB, free: 43.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/0.3739, allocations: 166.6 kB / 0.4925 GB, free: 43.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.3739, allocations: 0 / 0.4925 GB, free: 43.5 MB / 410.7 MB Notification: Performance of Templates: time 0.0348/0.4087, allocations: 18.02 MB / 0.5101 GB, free: 32.09 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","/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.383901525987312]