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.001302/0.001302, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001341/0.001341, allocations: 170.4 kB / 25.61 MB, free: 8.902 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.033/1.033, allocations: 177.1 MB / 206 MB, free: 4.496 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.1526/0.1526, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.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.543e-06/1.543e-06, allocations: 0 / 379.2 MB, free: 23.45 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.099e-05, allocations: 2.312 kB / 379.2 MB, free: 23.45 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005025/0.005046, allocations: 7.137 MB / 386.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0037/0.008746, allocations: 3.237 MB / 389.6 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.009203, allocations: 39.81 kB / 389.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.01021, allocations: 0.8403 MB / 390.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.01174, allocations: 1.388 MB / 391.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.01236, allocations: 0.5649 MB / 392.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.01403, allocations: 2.962 MB / 395.4 MB, free: 7.215 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.01505, allocations: 1.459 MB / 396.9 MB, free: 5.742 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008615/0.01592, allocations: 1.243 MB / 398.1 MB, free: 4.496 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009879/0.0169, allocations: 1.298 MB / 399.4 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.01709, allocations: 140 kB / 399.6 MB, free: 3.059 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007842/0.01788, allocations: 0.8772 MB / 400.4 MB, free: 2.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004639/0.01834, allocations: 1.075 MB / 401.5 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.01871, allocations: 0.65 MB / 402.2 MB, free: 460 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.02065, allocations: 2.809 MB / 405 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.02065, allocations: 0 / 405 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.02065, allocations: 0 / 405 MB, free: 13.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.63e-05/0.02067, allocations: 3.938 kB / 405 MB, free: 13.62 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.002985/0.02366, allocations: 3.116 MB / 408.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.02369, allocations: 8.031 kB / 408.1 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.02619, allocations: 1.08 MB / 409.2 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.02726, allocations: 1.101 MB / 410.3 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.02732, allocations: 119.4 kB / 410.4 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001932/0.02752, allocations: 160.3 kB / 410.5 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/0.03064, allocations: 3.623 MB / 414.2 MB, free: 3.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.623e-05/0.03068, allocations: 35.7 kB / 414.2 MB, free: 3.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.03083, allocations: 83.89 kB / 414.3 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001027/0.03186, allocations: 1.199 MB / 415.5 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002301/0.03416, allocations: 1.625 MB / 417.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.05097, allocations: 30.11 MB / 447.2 MB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.05237, allocations: 0.7044 MB / 447.9 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.05261, allocations: 218.6 kB / 448.1 MB, free: 476 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002376/0.05499, allocations: 2.346 MB / 450.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.05502, allocations: 49.38 kB / 450.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 3.918e-06/0.05502, allocations: 0 / 450.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.003626/0.05865, allocations: 1.782 MB / 452.3 MB, free: 12.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003527/0.059, allocations: 140.5 kB / 452.5 MB, free: 12.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.06095, allocations: 2.574 MB / 455 MB, free: 9.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.06099, allocations: 33.7 kB / 455.1 MB, free: 9.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.06232, allocations: 2.414 MB / 457.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.0626, allocations: 397.2 kB / 457.9 MB, free: 6.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000893/0.0635, allocations: 0.9839 MB / 458.8 MB, free: 5.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002274/0.06372, allocations: 0.5393 MB / 459.4 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.06482, allocations: 364.5 kB / 459.7 MB, free: 4.688 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002788/0.06761, allocations: 4.807 MB / 464.6 MB, free: 13.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004437/0.07205, allocations: 5.686 MB / 470.2 MB, free: 6.082 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.744e-05/0.07208, allocations: 32 kB / 470.3 MB, free: 6.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.00377/0.07585, allocations: 3.503 MB / 473.8 MB, free: 2.547 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.0759, allocations: 52.97 kB / 473.8 MB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.503e-05/0.07598, allocations: 108 kB / 473.9 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.854e-05/0.07607, allocations: 143.9 kB / 474.1 MB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.0776, allocations: 1.01 MB / 475.1 MB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.69e-05/0.0777, allocations: 207.2 kB / 475.3 MB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.07916, allocations: 203.7 kB / 475.5 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/0.07939, allocations: 252 kB / 475.7 MB, free: 0.5898 MB / 394.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.0007053/0.08009, allocations: 0.5195 MB / 476.2 MB, free: 56 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.08034, allocations: 242.7 kB / 476.5 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.08076, allocations: 385.9 kB / 476.9 MB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.08077, allocations: 19.73 kB / 476.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.08077, allocations: 0 / 476.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.08078, allocations: 0 / 476.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/0.08385, allocations: 2.441 MB / 479.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.08386, allocations: 4 kB / 479.3 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.08412, allocations: 115.8 kB / 479.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.08413, allocations: 8.438 kB / 479.4 MB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.08416, allocations: 24 kB / 479.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.08416, allocations: 8 kB / 479.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.08417, allocations: 7.938 kB / 479.5 MB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.08495, allocations: 1.234 MB / 480.7 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.08514, allocations: 214.5 kB / 480.9 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.08527, allocations: 19.94 kB / 480.9 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.08562, allocations: 23.97 kB / 481 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.08569, allocations: 51.8 kB / 481 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.08572, allocations: 31.98 kB / 481.1 MB, free: 11.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007694/0.08649, allocations: 1.009 MB / 482.1 MB, free: 10 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08649, allocations: 4 kB / 482.1 MB, free: 10 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001742/0.08823, allocations: 0.6171 MB / 482.7 MB, free: 9.383 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.0002441/0.08848, allocations: 166.9 kB / 482.8 MB, free: 9.211 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.0905, allocations: 1.728 MB / 484.6 MB, free: 7.496 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.0905, allocations: 0.9375 kB / 484.6 MB, free: 7.496 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.09069, allocations: 214.4 kB / 484.8 MB, free: 7.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008378/0.09153, allocations: 236.9 kB / 485 MB, free: 7.051 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.09605, allocations: 4.36 MB / 489.4 MB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/0.09662, allocations: 0.7302 MB / 490.1 MB, free: 1.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000673/0.09729, allocations: 345.5 kB / 490.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.09769, allocations: 390.1 kB / 490.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.09769, allocations: 0 / 490.8 MB, free: 1.066 MB / 410.7 MB Notification: Performance of Templates: time 0.02583/0.1235, allocations: 16.03 MB / 0.495 GB, free: 1.367 MB / 426.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 -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: 4.14460521703586]