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.00194/0.00194, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002486/0.002486, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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.533/1.533, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.366/0.366, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.775e-06/2.775e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.463e-05/3.74e-05, allocations: 2.312 kB / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01067/0.01071, allocations: 6.681 MB / 383.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007536/0.01824, allocations: 3.173 MB / 387 MB, free: 9.023 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.01929, allocations: 39.81 kB / 387.1 MB, free: 8.984 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.02141, allocations: 0.8286 MB / 387.9 MB, free: 8.152 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.02533, allocations: 1.373 MB / 389.3 MB, free: 6.773 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.02676, allocations: 0.5805 MB / 389.9 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004739/0.0315, allocations: 2.95 MB / 392.8 MB, free: 3.238 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00222/0.03372, allocations: 1.455 MB / 394.3 MB, free: 1.766 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.03608, allocations: 1.212 MB / 395.5 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.03843, allocations: 1.309 MB / 396.8 MB, free: 15.24 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000326/0.03875, allocations: 144 kB / 396.9 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.04062, allocations: 0.8733 MB / 397.8 MB, free: 14.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001441/0.04206, allocations: 1.079 MB / 398.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009883/0.04305, allocations: 0.65 MB / 399.5 MB, free: 12.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.04864, allocations: 4.041 MB / 403.6 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.04864, allocations: 0 / 403.6 MB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.04864, allocations: 0 / 403.6 MB, free: 8.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.982e-05/0.04873, allocations: 0 / 403.6 MB, free: 8.434 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.006758/0.05549, allocations: 2.966 MB / 406.5 MB, free: 5.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.05554, allocations: 12.02 kB / 406.5 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007362/0.0629, allocations: 2.07 MB / 408.6 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.06619, allocations: 1.282 MB / 409.9 MB, free: 2.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.06632, allocations: 123.4 kB / 410 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004005/0.06673, allocations: 156.3 kB / 410.2 MB, free: 1.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/0.07971, allocations: 6.476 MB / 416.6 MB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-05/0.07979, allocations: 31.7 kB / 416.7 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.08007, allocations: 83.89 kB / 416.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002825/0.08289, allocations: 1.441 MB / 418.2 MB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01313/0.09602, allocations: 5.739 MB / 423.9 MB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2217/0.3177, allocations: 25.38 MB / 449.3 MB, free: 82.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/0.3213, allocations: 1.648 MB / 451 MB, free: 81.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.3223, allocations: 0.9607 MB / 451.9 MB, free: 81.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.3225, allocations: 30.16 kB / 452 MB, free: 81.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.3225, allocations: 44.39 kB / 452 MB, free: 81.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 2.845e-06/0.3225, allocations: 0 / 452 MB, free: 81.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01498/0.3375, allocations: 6.808 MB / 458.8 MB, free: 79.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.3375, allocations: 145.4 kB / 458.9 MB, free: 79.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/0.3406, allocations: 2.73 MB / 461.7 MB, free: 78.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.3407, allocations: 44.14 kB / 461.7 MB, free: 78.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009607/0.3417, allocations: 2.192 MB / 463.9 MB, free: 76.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003663/0.3421, allocations: 468.3 kB / 464.4 MB, free: 76.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009269/0.343, allocations: 0.8888 MB / 465.3 MB, free: 75.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3431, allocations: 351.7 kB / 465.6 MB, free: 75.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001726/0.3448, allocations: 1.435 MB / 467 MB, free: 75.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/0.3476, allocations: 4.302 MB / 471.3 MB, free: 70.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005353/0.353, allocations: 6.223 MB / 477.6 MB, free: 65.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.575e-05/0.3531, allocations: 33.53 kB / 477.6 MB, free: 65.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009255/0.3623, allocations: 5.744 MB / 483.3 MB, free: 63.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-05/0.3624, allocations: 52.72 kB / 483.4 MB, free: 63.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/0.3626, allocations: 102.7 kB / 483.5 MB, free: 63.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/0.3628, allocations: 134.4 kB / 483.6 MB, free: 63.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/0.3671, allocations: 1.231 MB / 484.9 MB, free: 63.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001869/0.3672, allocations: 197.1 kB / 485 MB, free: 63.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/0.371, allocations: 302.1 kB / 485.3 MB, free: 63.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005203/0.3715, allocations: 280.8 kB / 485.6 MB, free: 63.16 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.002048/0.3735, allocations: 1.39 MB / 487 MB, free: 62.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005927/0.3741, allocations: 253.9 kB / 487.3 MB, free: 62.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.3759, allocations: 1.202 MB / 488.5 MB, free: 61.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/0.376, allocations: 12.38 kB / 488.5 MB, free: 61.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.376, allocations: 1.375 kB / 488.5 MB, free: 61.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.376, allocations: 11.84 kB / 488.5 MB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007498/0.3835, allocations: 3.995 MB / 492.5 MB, free: 60.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.3835, allocations: 3.5 kB / 492.5 MB, free: 60.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.3851, allocations: 374.1 kB / 492.8 MB, free: 60.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.234e-05/0.3852, allocations: 7.219 kB / 492.9 MB, free: 60.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/0.3852, allocations: 27.09 kB / 492.9 MB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.427e-06/0.3852, allocations: 11.06 kB / 492.9 MB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.3852, allocations: 11.53 kB / 492.9 MB, free: 60.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.3877, allocations: 2.152 MB / 495.1 MB, free: 59.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/0.3881, allocations: 219.2 kB / 495.3 MB, free: 58.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.3883, allocations: 19.62 kB / 495.3 MB, free: 58.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009971/0.3893, allocations: 102 kB / 495.4 MB, free: 58.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.3894, allocations: 67.56 kB / 495.5 MB, free: 58.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.297e-05/0.3895, allocations: 41.53 kB / 495.5 MB, free: 58.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001858/0.3914, allocations: 1.572 MB / 497.1 MB, free: 58.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3914, allocations: 0 / 497.1 MB, free: 58.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003315/0.3947, allocations: 0.6683 MB / 497.7 MB, free: 58.3 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.0003627/0.395, allocations: 175.8 kB / 497.9 MB, free: 58.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004352/0.3994, allocations: 3.17 MB / 0.4893 GB, free: 57.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.3994, allocations: 1.641 kB / 0.4893 GB, free: 57.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008716/0.4003, allocations: 0.7431 MB / 0.4901 GB, free: 56.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.402, allocations: 237.2 kB / 0.4903 GB, free: 56.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007682/0.4096, allocations: 5.639 MB / 0.4958 GB, free: 51.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/0.4116, allocations: 1.644 MB / 0.4974 GB, free: 49.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003304/0.4149, allocations: 1.43 MB / 0.4988 GB, free: 49.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005725/0.4155, allocations: 165 kB / 0.4989 GB, free: 48.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/0.4155, allocations: 0 / 0.4989 GB, free: 48.9 MB / 410.7 MB Notification: Performance of Templates: time 0.031/0.4465, allocations: 18.07 MB / 0.5166 GB, free: 33.22 MB / 410.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=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.278599489014596]