Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009236/0.0009236, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.005332/0.005332, allocations: 161 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9066/0.9066, allocations: 177 MB / 204.9 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2471/0.2471, allocations: 34.24 MB / 295.6 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.391e-05, allocations: 2.281 kB / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.2318/0.2318, allocations: 6.675 MB / 450.1 MB, free: 40.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004827/0.2366, allocations: 3.159 MB / 453.2 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009485/0.2376, allocations: 38.09 kB / 453.3 MB, free: 38.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.2391, allocations: 0.8172 MB / 454.1 MB, free: 38.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.2417, allocations: 1.378 MB / 455.5 MB, free: 37.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.2428, allocations: 0.5624 MB / 456 MB, free: 37.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002739/0.2456, allocations: 2.951 MB / 459 MB, free: 36.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.2473, allocations: 1.406 MB / 460.4 MB, free: 36.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001851/0.2492, allocations: 1.213 MB / 461.6 MB, free: 35.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.2505, allocations: 1.303 MB / 462.9 MB, free: 35.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.2507, allocations: 146.3 kB / 463 MB, free: 35.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.2518, allocations: 0.8801 MB / 463.9 MB, free: 35.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005728/0.2524, allocations: 1.072 MB / 465 MB, free: 34.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.2529, allocations: 0.6464 MB / 465.6 MB, free: 34.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.2563, allocations: 4.034 MB / 469.7 MB, free: 33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2563, allocations: 0 / 469.7 MB, free: 33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2563, allocations: 2.906 kB / 469.7 MB, free: 33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.736e-05/0.2564, allocations: 0 / 469.7 MB, free: 33 MB / 410.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.004403/0.2608, allocations: 2.971 MB / 472.7 MB, free: 31.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2608, allocations: 9 kB / 472.7 MB, free: 31.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003019/0.2639, allocations: 1.705 MB / 474.4 MB, free: 31.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.2654, allocations: 1.254 MB / 475.6 MB, free: 30.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.2655, allocations: 131.8 kB / 475.7 MB, free: 30.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.2657, allocations: 169.7 kB / 475.9 MB, free: 30.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006398/0.2721, allocations: 6.464 MB / 482.4 MB, free: 27.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-05/0.2721, allocations: 33.45 kB / 482.4 MB, free: 27.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.2723, allocations: 84.42 kB / 482.5 MB, free: 27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001812/0.2741, allocations: 1.436 MB / 483.9 MB, free: 26.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009497/0.2836, allocations: 5.721 MB / 489.6 MB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02374/0.3074, allocations: 25.33 MB / 0.5029 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.3105, allocations: 1.654 MB / 0.5045 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.3115, allocations: 0.9564 MB / 0.5055 GB, free: 4.848 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.3117, allocations: 32.25 kB / 0.5055 GB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.3117, allocations: 39.02 kB / 0.5055 GB, free: 4.789 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 5.16e-06/0.3117, allocations: 1.375 kB / 0.5055 GB, free: 4.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01024/0.3219, allocations: 6.757 MB / 0.5121 GB, free: 14.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.322, allocations: 149 kB / 0.5123 GB, free: 13.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/0.3248, allocations: 2.736 MB / 0.5149 GB, free: 11.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002/0.325, allocations: 37.7 kB / 0.515 GB, free: 11.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.3261, allocations: 2.197 MB / 0.5171 GB, free: 8.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004304/0.3265, allocations: 468.5 kB / 0.5176 GB, free: 8.402 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000805/0.3273, allocations: 0.8857 MB / 0.5184 GB, free: 7.504 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3275, allocations: 357.7 kB / 0.5188 GB, free: 7.152 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.329, allocations: 1.43 MB / 0.5202 GB, free: 5.715 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002852/0.3319, allocations: 4.299 MB / 0.5244 GB, free: 15.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005375/0.3373, allocations: 6.213 MB / 0.5304 GB, free: 8.312 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.37e-05/0.3374, allocations: 32 kB / 0.5305 GB, free: 8.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008314/0.3457, allocations: 5.479 MB / 0.5358 GB, free: 2.797 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.43e-05/0.3457, allocations: 52.28 kB / 0.5359 GB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-05/0.3458, allocations: 103.2 kB / 0.536 GB, free: 2.648 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.637e-05/0.3459, allocations: 136 kB / 0.5361 GB, free: 2.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.3486, allocations: 1.232 MB / 0.5373 GB, free: 1.281 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001491/0.3488, allocations: 199.2 kB / 0.5375 GB, free: 1.086 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.3511, allocations: 275.6 kB / 0.5378 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003959/0.3515, allocations: 280 kB / 0.538 GB, free: 0.543 MB / 442.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.002136/0.3536, allocations: 1.387 MB / 0.5394 GB, free: 15.15 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004828/0.3541, allocations: 214.5 kB / 0.5396 GB, free: 14.94 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.3554, allocations: 1.215 MB / 0.5408 GB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.577e-05/0.3555, allocations: 16 kB / 0.5408 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3555, allocations: 0 / 0.5408 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3555, allocations: 3.984 kB / 0.5408 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005708/0.3612, allocations: 3.988 MB / 0.5447 GB, free: 9.605 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.3612, allocations: 8.062 kB / 0.5447 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/0.3622, allocations: 371.2 kB / 0.545 GB, free: 9.234 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.3622, allocations: 11.98 kB / 0.5451 GB, free: 9.223 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.3623, allocations: 27.98 kB / 0.5451 GB, free: 9.195 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.3623, allocations: 15.92 kB / 0.5451 GB, free: 9.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3623, allocations: 8 kB / 0.5451 GB, free: 9.172 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.3643, allocations: 2.117 MB / 0.5472 GB, free: 6.977 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/0.3647, allocations: 230.3 kB / 0.5474 GB, free: 6.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.3648, allocations: 23.98 kB / 0.5474 GB, free: 6.727 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005975/0.3654, allocations: 81.31 kB / 0.5475 GB, free: 6.648 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.3655, allocations: 71.77 kB / 0.5476 GB, free: 6.578 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-05/0.3656, allocations: 36 kB / 0.5476 GB, free: 6.543 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001873/0.3675, allocations: 1.574 MB / 0.5491 GB, free: 4.953 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3675, allocations: 0 / 0.5491 GB, free: 4.953 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00295/0.3704, allocations: 0.6639 MB / 0.5498 GB, free: 4.289 MB / 458.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.0004803/0.3709, allocations: 171 kB / 0.5499 GB, free: 4.113 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004197/0.3751, allocations: 3.154 MB / 0.553 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.3751, allocations: 7.938 kB / 0.553 GB, free: 0.9766 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007673/0.3759, allocations: 0.7414 MB / 0.5538 GB, free: 240 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.3772, allocations: 236.5 kB / 0.554 GB, free: 12 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007497/0.3847, allocations: 5.839 MB / 0.5597 GB, free: 10.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.3862, allocations: 1.643 MB / 0.5613 GB, free: 8.391 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009077/0.3871, allocations: 200.5 kB / 0.5615 GB, free: 8.195 MB / 474.7 MB Notification: Performance of SimCode: time 2.044e-06/0.3871, allocations: 0 / 0.5615 GB, free: 8.195 MB / 474.7 MB Notification: Performance of Templates: time 0.04464/0.4317, allocations: 37.81 MB / 0.5984 GB, free: 2.465 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.6797462636604905]