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.001153/0.001153, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.004432/0.004432, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] 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.2825/0.2825, allocations: 34.26 MB / 296.1 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 180] 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.[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_4.1.0_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_4.1.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.691e-05/1.837e-05, allocations: 7.156 kB / 325.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.00991/0.009928, allocations: 7.194 MB / 332.4 MB, free: 496 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007319/0.01725, allocations: 3.352 MB / 335.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006477/0.0179, allocations: 47.81 kB / 335.8 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.01918, allocations: 0.8324 MB / 336.7 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.0214, allocations: 1.353 MB / 338 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.02242, allocations: 0.5649 MB / 338.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002861/0.02528, allocations: 2.964 MB / 341.6 MB, free: 7.344 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.02708, allocations: 1.387 MB / 342.9 MB, free: 5.934 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.02863, allocations: 1.22 MB / 344.2 MB, free: 4.711 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.03012, allocations: 1.231 MB / 345.4 MB, free: 3.477 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.03042, allocations: 144 kB / 345.5 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.03159, allocations: 0.893 MB / 346.4 MB, free: 2.441 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006696/0.03226, allocations: 1.079 MB / 347.5 MB, free: 1.359 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006933/0.03296, allocations: 0.6461 MB / 348.2 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.03573, allocations: 2.821 MB / 351 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.03573, allocations: 0 / 351 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.03573, allocations: 0 / 351 MB, free: 13.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001018/0.03583, allocations: 0 / 351 MB, free: 13.88 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.003435/0.03927, allocations: 2.688 MB / 353.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.0393, allocations: 16.03 kB / 353.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.0416, allocations: 0.8045 MB / 354.5 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.04282, allocations: 1.005 MB / 355.5 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.761e-05/0.04289, allocations: 119.4 kB / 355.6 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001942/0.04308, allocations: 164.2 kB / 355.8 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003271/0.04635, allocations: 3.176 MB / 358.9 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/0.0464, allocations: 31.7 kB / 359 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.04656, allocations: 83.89 kB / 359.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001063/0.04762, allocations: 1.207 MB / 360.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.05029, allocations: 1.635 MB / 361.9 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/0.06479, allocations: 21.4 MB / 383.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.06628, allocations: 0.7485 MB / 384 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.06652, allocations: 159.4 kB / 384.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/0.06874, allocations: 1.956 MB / 386.2 MB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.06877, allocations: 42.56 kB / 386.2 MB, free: 9.062 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 2.675e-06/0.06878, allocations: 0 / 386.2 MB, free: 9.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.003343/0.07212, allocations: 1.651 MB / 387.9 MB, free: 7.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.07218, allocations: 140.5 kB / 388 MB, free: 7.242 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.07386, allocations: 2.276 MB / 390.3 MB, free: 4.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.07389, allocations: 37.7 kB / 390.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008818/0.07478, allocations: 2.174 MB / 392.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.07499, allocations: 385.2 kB / 392.9 MB, free: 2.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006002/0.07559, allocations: 0.8304 MB / 393.7 MB, free: 1.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.07569, allocations: 357.8 kB / 394 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.07638, allocations: 0.5068 MB / 394.5 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/0.07832, allocations: 3.375 MB / 397.9 MB, free: 11.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003005/0.08133, allocations: 4.299 MB / 402.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.599e-05/0.08135, allocations: 28 kB / 402.2 MB, free: 5.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.002925/0.08428, allocations: 2.995 MB / 405.2 MB, free: 2.879 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/0.08433, allocations: 52 kB / 405.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-05/0.0844, allocations: 104 kB / 405.4 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.068e-05/0.08449, allocations: 140.8 kB / 405.5 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.08613, allocations: 1.053 MB / 406.6 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000111/0.08624, allocations: 211.2 kB / 406.8 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.08748, allocations: 203.7 kB / 407 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.08769, allocations: 248 kB / 407.2 MB, free: 0.8867 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 (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.0005896/0.08828, allocations: 496 kB / 407.7 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.08846, allocations: 127.9 kB / 407.8 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.08884, allocations: 361.3 kB / 408.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.08885, allocations: 12 kB / 408.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.08886, allocations: 0 / 408.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.08886, allocations: 7.984 kB / 408.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.0911, allocations: 2.069 MB / 410.3 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.09111, allocations: 4 kB / 410.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.09138, allocations: 115.8 kB / 410.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.874e-06/0.09139, allocations: 8 kB / 410.4 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.09142, allocations: 24.42 kB / 410.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.09143, allocations: 15.94 kB / 410.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.09143, allocations: 4 kB / 410.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.09206, allocations: 1.028 MB / 411.5 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.09224, allocations: 210.4 kB / 411.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.09236, allocations: 16 kB / 411.7 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.0927, allocations: 19.98 kB / 411.7 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.09276, allocations: 55.8 kB / 411.8 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.09279, allocations: 24 kB / 411.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007061/0.0935, allocations: 0.9155 MB / 412.7 MB, free: 11.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.0935, allocations: 0 / 412.7 MB, free: 11.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001666/0.09517, allocations: 0.6171 MB / 413.3 MB, free: 10.57 MB / 394.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.0002489/0.09542, allocations: 148 kB / 413.5 MB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.0968, allocations: 1.628 MB / 415.1 MB, free: 8.801 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-05/0.09689, allocations: 59.94 kB / 415.2 MB, free: 8.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.09705, allocations: 184.8 kB / 415.3 MB, free: 8.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008858/0.09794, allocations: 348.5 kB / 415.7 MB, free: 8.215 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.1023, allocations: 4.312 MB / 420 MB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.1029, allocations: 0.7253 MB / 420.7 MB, free: 3.027 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007005/0.1036, allocations: 345.5 kB / 421 MB, free: 2.684 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/0.104, allocations: 357.3 kB / 421.4 MB, free: 2.336 MB / 394.7 MB Notification: Performance of SimCode: time 1.433e-06/0.104, allocations: 0 / 421.4 MB, free: 2.336 MB / 394.7 MB Notification: Performance of Templates: time 0.0243/0.1283, allocations: 15.62 MB / 437 MB, free: 2.902 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 -s gbode -gbm=radauIIA3 -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","",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.511848860885948]