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.001077/0.001077, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001261/0.001261, allocations: 169 kB / 24.24 MB, free: 316 kB / 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 0.9196/0.9196, allocations: 158.6 MB / 186 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] 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.17/0.17, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.[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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 347.6 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.77e-05, allocations: 8.281 kB / 347.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005263/0.00529, allocations: 7.289 MB / 354.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004356/0.009647, allocations: 3.267 MB / 358.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008263/0.01047, allocations: 39.81 kB / 358.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.01184, allocations: 0.8403 MB / 359.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.01439, allocations: 1.408 MB / 360.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.01555, allocations: 0.5727 MB / 361.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002955/0.01851, allocations: 2.904 MB / 364 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.02022, allocations: 1.467 MB / 365.4 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.02195, allocations: 1.235 MB / 366.7 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.02338, allocations: 1.325 MB / 368 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.02365, allocations: 144 kB / 368.1 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.02507, allocations: 0.8773 MB / 369 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007877/0.02586, allocations: 1.106 MB / 370.1 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007587/0.02662, allocations: 0.6656 MB / 370.8 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.03038, allocations: 2.872 MB / 373.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.03039, allocations: 0 / 373.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03039, allocations: 0 / 373.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.526e-05/0.03045, allocations: 4 kB / 373.6 MB, free: 15.7 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.00399/0.03444, allocations: 3.276 MB / 376.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.03448, allocations: 12.03 kB / 376.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003755/0.03824, allocations: 1.996 MB / 378.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.04014, allocations: 1.195 MB / 380.1 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.027e-05/0.04021, allocations: 123.4 kB / 380.2 MB, free: 9.016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.04045, allocations: 160.2 kB / 380.4 MB, free: 8.859 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004617/0.04506, allocations: 3.975 MB / 384.4 MB, free: 4.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.492e-05/0.04512, allocations: 31.7 kB / 384.4 MB, free: 4.129 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/0.04529, allocations: 83.89 kB / 384.5 MB, free: 4.047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001697/0.04698, allocations: 1.441 MB / 385.9 MB, free: 2.605 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00393/0.05091, allocations: 2.149 MB / 388.1 MB, free: 460 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02264/0.07356, allocations: 31.01 MB / 419.1 MB, free: 392 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.0757, allocations: 0.9274 MB / 420 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.07622, allocations: 347.2 kB / 420.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/0.07636, allocations: 28.3 kB / 420.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.07639, allocations: 45.72 kB / 420.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=100): time 3.497e-06/0.0764, allocations: 0 / 420.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=112): time 0.01247/0.08886, allocations: 4.892 MB / 425.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.08894, allocations: 137 kB / 425.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004495/0.09344, allocations: 2.514 MB / 428 MB, free: 7.344 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001672/0.0936, allocations: 37.7 kB / 428 MB, free: 7.301 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001744/0.09535, allocations: 2.333 MB / 430.3 MB, free: 4.941 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006464/0.09599, allocations: 496.4 kB / 430.8 MB, free: 4.453 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/0.09745, allocations: 0.9766 MB / 431.8 MB, free: 3.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.09762, allocations: 0.5277 MB / 432.3 MB, free: 2.926 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009523/0.09857, allocations: 472.5 kB / 432.8 MB, free: 2.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003207/0.1018, allocations: 4.715 MB / 437.5 MB, free: 11.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00508/0.1069, allocations: 5.702 MB / 443.2 MB, free: 4.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.323e-05/0.1069, allocations: 28 kB / 443.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.006077/0.113, allocations: 3.791 MB / 447 MB, free: 272 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.1131, allocations: 52 kB / 447.1 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/0.1132, allocations: 100 kB / 447.2 MB, free: 120 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1467/0.2599, allocations: 137.8 kB / 447.3 MB, free: 99.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003624/0.2635, allocations: 1.229 MB / 448.5 MB, free: 99.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001798/0.2637, allocations: 203.9 kB / 448.7 MB, free: 99.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/0.2664, allocations: 283 kB / 449 MB, free: 99.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/0.2668, allocations: 282.1 kB / 449.3 MB, free: 99.47 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.0008323/0.2676, allocations: 0.5239 MB / 449.8 MB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/0.268, allocations: 256 kB / 450.1 MB, free: 99.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.269, allocations: 0.6346 MB / 450.7 MB, free: 99.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.269, allocations: 12.53 kB / 450.7 MB, free: 99.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.269, allocations: 5.312 kB / 450.7 MB, free: 99.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.269, allocations: 10.33 kB / 450.7 MB, free: 99.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004892/0.2739, allocations: 3.247 MB / 454 MB, free: 98.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.2739, allocations: 6.375 kB / 454 MB, free: 98.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.2751, allocations: 366.4 kB / 454.3 MB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.2751, allocations: 7.625 kB / 454.3 MB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.578e-05/0.2751, allocations: 25.61 kB / 454.4 MB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.2751, allocations: 7.688 kB / 454.4 MB, free: 98.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2752, allocations: 11.75 kB / 454.4 MB, free: 98.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.2764, allocations: 1.491 MB / 455.9 MB, free: 97.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.2769, allocations: 358.9 kB / 456.2 MB, free: 97.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.2771, allocations: 26.55 kB / 456.3 MB, free: 97.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.2778, allocations: 95.27 kB / 456.4 MB, free: 97.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.278, allocations: 73.48 kB / 456.4 MB, free: 97.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/0.278, allocations: 42.94 kB / 456.5 MB, free: 97.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001141/0.2792, allocations: 1.063 MB / 457.5 MB, free: 97.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2792, allocations: 3.844 kB / 457.5 MB, free: 97.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002939/0.2821, allocations: 0.6897 MB / 458.2 MB, free: 97.46 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.0003275/0.2824, allocations: 175.9 kB / 458.4 MB, free: 97.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002626/0.285, allocations: 1.938 MB / 460.3 MB, free: 96.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.2851, allocations: 2.438 kB / 460.3 MB, free: 96.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.2855, allocations: 313.7 kB / 460.6 MB, free: 96.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.2867, allocations: 250.5 kB / 460.9 MB, free: 96.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.292, allocations: 4.57 MB / 465.5 MB, free: 92.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.2926, allocations: 0.7425 MB / 466.2 MB, free: 91.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002116/0.2947, allocations: 1.223 MB / 467.4 MB, free: 90.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.2952, allocations: 164.5 kB / 467.6 MB, free: 90.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2952, allocations: 0 / 467.6 MB, free: 90.73 MB / 378.7 MB Notification: Performance of Templates: time 0.02669/0.3219, allocations: 18.36 MB / 485.9 MB, free: 72.55 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","",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.062098063994199]