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.00135/0.00135, allocations: 91.22 kB / 20.42 MB, free: 4.145 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.001168/0.001168, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.9583/0.9583, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1483/0.1483, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 2.845e-06/2.845e-06, allocations: 0 / 347.6 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.486e-05/4.77e-05, allocations: 12.22 kB / 347.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.007032/0.00708, allocations: 7.316 MB / 355 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006374/0.01345, allocations: 3.264 MB / 358.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.0149, allocations: 39.81 kB / 358.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.01676, allocations: 0.8481 MB / 359.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.02009, allocations: 1.412 MB / 360.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.02132, allocations: 0.5805 MB / 361.1 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003225/0.02454, allocations: 2.9 MB / 364 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002062/0.0266, allocations: 1.475 MB / 365.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002115/0.02872, allocations: 1.263 MB / 366.7 MB, free: 6.312 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.03061, allocations: 1.309 MB / 368 MB, free: 5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004198/0.03103, allocations: 140 kB / 368.2 MB, free: 4.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.03259, allocations: 0.8773 MB / 369.1 MB, free: 3.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.03364, allocations: 1.102 MB / 370.2 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.03519, allocations: 0.6617 MB / 370.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004622/0.03981, allocations: 2.86 MB / 373.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.03982, allocations: 0 / 373.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.03982, allocations: 4 kB / 373.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001377/0.03996, allocations: 0 / 373.7 MB, free: 15.34 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.006116/0.04607, allocations: 3.28 MB / 377 MB, free: 12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.04612, allocations: 8.031 kB / 377 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005506/0.05163, allocations: 2 MB / 379 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.05398, allocations: 1.235 MB / 380.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.05408, allocations: 127.3 kB / 380.3 MB, free: 8.598 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.05443, allocations: 156.3 kB / 380.5 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006052/0.06048, allocations: 3.959 MB / 384.4 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.313e-05/0.06054, allocations: 35.7 kB / 384.5 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002112/0.06075, allocations: 87.89 kB / 384.6 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001694/0.06245, allocations: 1.378 MB / 385.9 MB, free: 2.262 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00465/0.0671, allocations: 2.032 MB / 388 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02654/0.09363, allocations: 31.14 MB / 419.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/0.09575, allocations: 0.801 MB / 419.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/0.09619, allocations: 255.1 kB / 420.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003159/0.09935, allocations: 2.463 MB / 422.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.0994, allocations: 41.39 kB / 422.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 3.617e-06/0.0994, allocations: 4 kB / 422.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.006216/0.1056, allocations: 3.62 MB / 426.3 MB, free: 8.672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.1057, allocations: 136.5 kB / 426.4 MB, free: 8.508 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002899/0.1086, allocations: 2.596 MB / 429 MB, free: 5.879 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.1086, allocations: 37.7 kB / 429.1 MB, free: 5.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.11, allocations: 2.406 MB / 431.5 MB, free: 3.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.1103, allocations: 401.2 kB / 431.9 MB, free: 3.008 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008515/0.1112, allocations: 0.9608 MB / 432.8 MB, free: 2.031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.1113, allocations: 0.5316 MB / 433.4 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007201/0.1121, allocations: 412.5 kB / 433.8 MB, free: 1.082 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00316/0.1152, allocations: 4.819 MB / 438.6 MB, free: 10.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/0.1199, allocations: 5.766 MB / 444.3 MB, free: 2.379 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-05/0.12, allocations: 32 kB / 444.4 MB, free: 2.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.1921/0.3121, allocations: 3.731 MB / 448.1 MB, free: 91.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.3122, allocations: 51.81 kB / 448.2 MB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002267/0.3124, allocations: 109.8 kB / 448.3 MB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.3127, allocations: 141 kB / 448.4 MB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/0.3155, allocations: 1.049 MB / 449.4 MB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002501/0.3157, allocations: 206.1 kB / 449.6 MB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/0.3183, allocations: 284.1 kB / 449.9 MB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004254/0.3187, allocations: 290.1 kB / 450.2 MB, free: 91.79 MB / 378.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.0011/0.3198, allocations: 0.5246 MB / 450.7 MB, free: 91.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004189/0.3202, allocations: 245.9 kB / 451 MB, free: 91.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005399/0.3208, allocations: 403.4 kB / 451.4 MB, free: 91.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.3208, allocations: 11 kB / 451.4 MB, free: 91.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3208, allocations: 0 / 451.4 MB, free: 91.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3208, allocations: 3.484 kB / 451.4 MB, free: 91.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/0.3245, allocations: 2.461 MB / 453.8 MB, free: 91.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.3246, allocations: 4.812 kB / 453.8 MB, free: 91.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.3249, allocations: 133.8 kB / 454 MB, free: 91.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.3249, allocations: 7.125 kB / 454 MB, free: 91.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.3249, allocations: 21 kB / 454 MB, free: 91.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.3249, allocations: 7.156 kB / 454 MB, free: 91.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3249, allocations: 10.19 kB / 454 MB, free: 91.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/0.3258, allocations: 1.28 MB / 455.3 MB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004766/0.3263, allocations: 300.3 kB / 455.6 MB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.3265, allocations: 20.88 kB / 455.6 MB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004769/0.327, allocations: 71.06 kB / 455.7 MB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.3271, allocations: 54.56 kB / 455.7 MB, free: 90.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.3271, allocations: 32.34 kB / 455.8 MB, free: 90.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001388/0.3285, allocations: 1.096 MB / 456.9 MB, free: 90.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3285, allocations: 0 / 456.9 MB, free: 90.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002608/0.3311, allocations: 0.6376 MB / 457.5 MB, free: 90.1 MB / 378.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.0003615/0.3315, allocations: 175.9 kB / 457.7 MB, free: 90.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002864/0.3343, allocations: 1.832 MB / 459.5 MB, free: 89.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.3343, allocations: 0 / 459.5 MB, free: 89.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.3346, allocations: 225.2 kB / 459.7 MB, free: 89.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.3356, allocations: 239.7 kB / 460 MB, free: 89.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/0.3413, allocations: 4.372 MB / 464.3 MB, free: 87.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.3419, allocations: 0.7367 MB / 465.1 MB, free: 86.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001602/0.3435, allocations: 1.189 MB / 466.3 MB, free: 86.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.3437, allocations: 159.5 kB / 466.4 MB, free: 86.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.893e-06/0.3437, allocations: 0 / 466.4 MB, free: 86.04 MB / 378.7 MB Notification: Performance of Templates: time 0.02786/0.3716, allocations: 14.75 MB / 481.2 MB, free: 72.64 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: 3.967356780078262]