Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002053/0.002053, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002109/0.002109, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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.632/1.632, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3932/0.3932, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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_4.0.0_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_4.0.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.013e-05, allocations: 2.312 kB / 375.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01093/0.01096, allocations: 7.207 MB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007129/0.01809, allocations: 3.263 MB / 385.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008046/0.0189, allocations: 43.81 kB / 385.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002086/0.02098, allocations: 0.8442 MB / 386.6 MB, free: 9.602 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.02437, allocations: 1.377 MB / 388 MB, free: 8.219 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.02577, allocations: 0.5727 MB / 388.5 MB, free: 7.645 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004308/0.03008, allocations: 2.948 MB / 391.5 MB, free: 4.688 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.03209, allocations: 1.455 MB / 392.9 MB, free: 3.215 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002069/0.03416, allocations: 1.216 MB / 394.2 MB, free: 1.996 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.03648, allocations: 1.313 MB / 395.5 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.03681, allocations: 148 kB / 395.6 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.03865, allocations: 0.8772 MB / 396.5 MB, free: 15.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.04017, allocations: 1.083 MB / 397.6 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.04119, allocations: 0.6461 MB / 398.2 MB, free: 13.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00631/0.0475, allocations: 4.045 MB / 402.3 MB, free: 9.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.0475, allocations: 0 / 402.3 MB, free: 9.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.0475, allocations: 4 kB / 402.3 MB, free: 9.859 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.105e-05/0.0476, allocations: 0 / 402.3 MB, free: 9.859 MB / 378.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.008342/0.05594, allocations: 3.511 MB / 405.8 MB, free: 6.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.05598, allocations: 12.03 kB / 405.8 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007529/0.06351, allocations: 1.996 MB / 407.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.06708, allocations: 1.183 MB / 409 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.06722, allocations: 119.4 kB / 409.1 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004422/0.06766, allocations: 160.3 kB / 409.2 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009744/0.0774, allocations: 4.224 MB / 413.5 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.643e-05/0.07749, allocations: 35.69 kB / 413.5 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/0.07778, allocations: 83.89 kB / 413.6 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002917/0.0807, allocations: 1.441 MB / 415 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00794/0.08864, allocations: 2.413 MB / 417.4 MB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2073/0.2959, allocations: 32.99 MB / 450.4 MB, free: 73.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.2991, allocations: 0.9832 MB / 451.4 MB, free: 73.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.2996, allocations: 345.7 kB / 451.7 MB, free: 73.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.2998, allocations: 30.47 kB / 451.8 MB, free: 73.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.2998, allocations: 49.34 kB / 451.8 MB, free: 73.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.276e-06/0.2998, allocations: 0 / 451.8 MB, free: 73.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01324/0.313, allocations: 4.919 MB / 456.7 MB, free: 72.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3131, allocations: 142.6 kB / 456.9 MB, free: 72.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/0.3163, allocations: 3.094 MB / 460 MB, free: 71.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.3164, allocations: 40.05 kB / 460 MB, free: 71.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.3178, allocations: 2.467 MB / 462.5 MB, free: 70.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005871/0.3184, allocations: 0.4993 MB / 463 MB, free: 69.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001745/0.3201, allocations: 1.13 MB / 464.1 MB, free: 69.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.3203, allocations: 0.5525 MB / 464.7 MB, free: 68.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.3218, allocations: 0.5058 MB / 465.2 MB, free: 68.53 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/0.3251, allocations: 4.898 MB / 470.1 MB, free: 62.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004853/0.3299, allocations: 5.953 MB / 476 MB, free: 56.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-05/0.33, allocations: 29.88 kB / 476.1 MB, free: 56.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.007159/0.3372, allocations: 3.903 MB / 480 MB, free: 54.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.777e-05/0.3372, allocations: 52.3 kB / 480 MB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.496e-05/0.3373, allocations: 102.3 kB / 480.1 MB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.3374, allocations: 134.7 kB / 480.2 MB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003905/0.3414, allocations: 1.225 MB / 481.5 MB, free: 54.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001425/0.3415, allocations: 204.1 kB / 481.7 MB, free: 54.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003031/0.3445, allocations: 286.7 kB / 481.9 MB, free: 54.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003893/0.3449, allocations: 280.8 kB / 482.2 MB, free: 54.39 MB / 410.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.00106/0.346, allocations: 0.5907 MB / 482.8 MB, free: 53.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.3464, allocations: 243.3 kB / 483 MB, free: 53.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.3477, allocations: 0.6614 MB / 483.7 MB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.242e-05/0.3477, allocations: 15.94 kB / 483.7 MB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3477, allocations: 5.719 kB / 483.7 MB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.3477, allocations: 4.5 kB / 483.7 MB, free: 53.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007131/0.3549, allocations: 3.851 MB / 487.6 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.3549, allocations: 5.031 kB / 487.6 MB, free: 51.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/0.3568, allocations: 368 kB / 487.9 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/0.3568, allocations: 7.781 kB / 488 MB, free: 51.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.298e-05/0.3569, allocations: 27.28 kB / 488 MB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.338e-05/0.3569, allocations: 12.3 kB / 488 MB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.3569, allocations: 9.406 kB / 488 MB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.359, allocations: 1.559 MB / 489.6 MB, free: 50.53 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004955/0.3594, allocations: 217.9 kB / 489.8 MB, free: 50.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/0.3597, allocations: 28.02 kB / 489.8 MB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.3607, allocations: 91.55 kB / 489.9 MB, free: 50.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.3609, allocations: 70.34 kB / 490 MB, free: 50.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.631e-05/0.3609, allocations: 36.81 kB / 490 MB, free: 50.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001979/0.3629, allocations: 1.244 MB / 491.2 MB, free: 49.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3629, allocations: 3.172 kB / 491.2 MB, free: 49.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003685/0.3666, allocations: 0.6701 MB / 491.9 MB, free: 49.76 MB / 410.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.0003885/0.367, allocations: 174.5 kB / 492.1 MB, free: 49.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003748/0.3707, allocations: 2.167 MB / 494.3 MB, free: 48.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3707, allocations: 0 / 494.3 MB, free: 48.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006127/0.3714, allocations: 362.5 kB / 494.6 MB, free: 48.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.3729, allocations: 241.1 kB / 494.8 MB, free: 48.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/0.379, allocations: 4.606 MB / 499.4 MB, free: 46.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/0.3804, allocations: 1.47 MB / 0.4892 GB, free: 45.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002593/0.383, allocations: 1.22 MB / 0.4904 GB, free: 45.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/0.3835, allocations: 167.3 kB / 0.4905 GB, free: 45.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.3835, allocations: 0 / 0.4905 GB, free: 45.66 MB / 410.7 MB Notification: Performance of Templates: time 0.03453/0.418, allocations: 18.02 MB / 0.5081 GB, free: 34.42 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.569144841050729]