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.0009587/0.0009587, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.0009853/0.0009853, allocations: 160.1 kB / 25.61 MB, free: 8.582 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 1.007/1.007, allocations: 177 MB / 205.9 MB, free: 4.414 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.1977/0.1977, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.[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_trunk_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_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.996e-05, allocations: 4 kB / 380 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005557/0.005586, allocations: 7.144 MB / 387.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004602/0.01019, allocations: 3.243 MB / 390.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008122/0.011, allocations: 39.81 kB / 390.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.01221, allocations: 0.8403 MB / 391.2 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.01447, allocations: 1.381 MB / 392.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007978/0.01527, allocations: 0.5688 MB / 393.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.01723, allocations: 2.963 MB / 396.1 MB, free: 6.543 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.01836, allocations: 1.455 MB / 397.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.01938, allocations: 1.247 MB / 398.9 MB, free: 3.824 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.02048, allocations: 1.301 MB / 400.2 MB, free: 2.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000211/0.02069, allocations: 140 kB / 400.3 MB, free: 2.383 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009335/0.02162, allocations: 0.8733 MB / 401.2 MB, free: 1.508 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.0221, allocations: 1.079 MB / 402.2 MB, free: 436 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005374/0.02264, allocations: 0.6461 MB / 402.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.02535, allocations: 2.817 MB / 405.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.02535, allocations: 0 / 405.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.02535, allocations: 0 / 405.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.32e-05/0.0254, allocations: 0 / 405.7 MB, free: 12.95 MB / 330.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.003469/0.02886, allocations: 3.113 MB / 408.8 MB, free: 9.781 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.02891, allocations: 8.031 kB / 408.8 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002656/0.03156, allocations: 1.088 MB / 409.9 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.03298, allocations: 1.085 MB / 411 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.8e-05/0.03306, allocations: 119.3 kB / 411.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.03328, allocations: 164.3 kB / 411.3 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00386/0.03714, allocations: 3.619 MB / 414.9 MB, free: 2.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.874e-05/0.03718, allocations: 35.7 kB / 414.9 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.03733, allocations: 83.89 kB / 415 MB, free: 2.828 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001042/0.03837, allocations: 1.211 MB / 416.2 MB, free: 1.613 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/0.04087, allocations: 1.617 MB / 417.8 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01762/0.05849, allocations: 30.13 MB / 448 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.05991, allocations: 0.7009 MB / 448.7 MB, free: 20 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.06017, allocations: 210.6 kB / 448.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002408/0.06257, allocations: 2.346 MB / 451.2 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.0626, allocations: 45.33 kB / 451.3 MB, free: 13.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.595e-06/0.06261, allocations: 4 kB / 451.3 MB, free: 13.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.003942/0.06655, allocations: 1.787 MB / 453.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.06661, allocations: 136.5 kB / 453.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.06866, allocations: 2.57 MB / 455.8 MB, free: 8.805 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.0687, allocations: 37.7 kB / 455.8 MB, free: 8.762 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.06987, allocations: 2.418 MB / 458.2 MB, free: 6.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.07012, allocations: 393.3 kB / 458.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007814/0.0709, allocations: 0.9878 MB / 459.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.07107, allocations: 0.5315 MB / 460.1 MB, free: 4.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/0.07164, allocations: 368.5 kB / 460.5 MB, free: 4.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/0.07449, allocations: 4.807 MB / 465.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003869/0.07835, allocations: 5.686 MB / 471 MB, free: 5.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.126e-05/0.0784, allocations: 32 kB / 471 MB, free: 5.379 MB / 394.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003878/0.08227, allocations: 3.508 MB / 474.5 MB, free: 1.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.08233, allocations: 52 kB / 474.6 MB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.128e-05/0.0824, allocations: 108 kB / 474.7 MB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.489e-05/0.08248, allocations: 139.9 kB / 474.8 MB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.08409, allocations: 1.014 MB / 475.8 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001074/0.0842, allocations: 203.2 kB / 476 MB, free: 372 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.08575, allocations: 203.7 kB / 476.2 MB, free: 168 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/0.08597, allocations: 248 kB / 476.5 MB, free: 15.92 MB / 410.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 (Body1.sphereColor[1],Body1.sphereColor[2],Body1.sphereColor[3],ActuatedRevolute1.cylinderColor[1],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * 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.0007086/0.08668, allocations: 0.5272 MB / 477 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.08693, allocations: 238.5 kB / 477.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004352/0.08737, allocations: 381.3 kB / 477.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.08738, allocations: 23.94 kB / 477.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.08739, allocations: 3.938 kB / 477.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.0874, allocations: 3.984 kB / 477.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.09029, allocations: 2.432 MB / 480.1 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.0903, allocations: 4 kB / 480.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.09057, allocations: 107.8 kB / 480.2 MB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.09058, allocations: 8 kB / 480.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.09061, allocations: 27.92 kB / 480.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.09061, allocations: 12.38 kB / 480.2 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.09062, allocations: 8 kB / 480.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007448/0.09136, allocations: 1.239 MB / 481.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.09157, allocations: 206.4 kB / 481.7 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.09169, allocations: 24.06 kB / 481.7 MB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.09203, allocations: 16 kB / 481.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.0921, allocations: 59.78 kB / 481.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.09213, allocations: 24 kB / 481.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007645/0.0929, allocations: 1.009 MB / 482.8 MB, free: 9.348 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0929, allocations: 4 kB / 482.8 MB, free: 9.344 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00205/0.09495, allocations: 0.621 MB / 483.4 MB, free: 8.723 MB / 410.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.0002631/0.09521, allocations: 155 kB / 483.6 MB, free: 8.562 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.0971, allocations: 1.739 MB / 485.3 MB, free: 6.836 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.0971, allocations: 1.938 kB / 485.3 MB, free: 6.836 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.0973, allocations: 210.1 kB / 485.5 MB, free: 6.625 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008591/0.09816, allocations: 237.2 kB / 485.7 MB, free: 6.391 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/0.1033, allocations: 4.364 MB / 490.1 MB, free: 1.887 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.1039, allocations: 0.7264 MB / 490.8 MB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008627/0.1048, allocations: 341.6 kB / 491.2 MB, free: 0.793 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/0.1052, allocations: 390.1 kB / 491.5 MB, free: 420 kB / 410.7 MB Notification: Performance of SimCode: time 2.184e-06/0.1052, allocations: 0 / 491.5 MB, free: 420 kB / 410.7 MB Notification: Performance of Templates: time 0.02651/0.1318, allocations: 16.05 MB / 0.4957 GB, free: 0.7031 MB / 426.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] 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","",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.23210682021454]