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.001203/0.001203, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001616/0.002819, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007551/0.0007551, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009663/0.001721, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.123/1.123, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1229/1.246, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] 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.387/0.387, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03972/0.4267, allocations: 12.52 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] 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.[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.0.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.0.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 290.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.263e-05/3.44e-05, allocations: 6 kB / 290.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01079/0.01082, allocations: 7.243 MB / 297.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006165/0.01699, allocations: 3.375 MB / 301.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008055/0.01779, allocations: 43.81 kB / 301.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.01907, allocations: 0.8364 MB / 302.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002539/0.02161, allocations: 1.345 MB / 303.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.02271, allocations: 0.5298 MB / 304 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.02574, allocations: 2.876 MB / 306.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.02738, allocations: 1.247 MB / 308.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.02905, allocations: 1.293 MB / 309.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001619/0.03067, allocations: 1.216 MB / 310.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.03098, allocations: 144 kB / 310.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.03238, allocations: 0.9046 MB / 311.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006953/0.03307, allocations: 0.9661 MB / 312.6 MB, free: 2.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006486/0.03372, allocations: 0.5294 MB / 313.1 MB, free: 1.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.03643, allocations: 2.603 MB / 315.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.666e-05/0.03647, allocations: 0 / 315.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.03647, allocations: 4 kB / 315.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.00014/0.03661, allocations: 0 / 315.7 MB, free: 15.08 MB / 314.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.005331/0.04194, allocations: 3.271 MB / 319 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.042, allocations: 8.031 kB / 319 MB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/0.0446, allocations: 0.8045 MB / 319.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.04614, allocations: 0.9969 MB / 320.8 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.04624, allocations: 127.3 kB / 320.9 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.0465, allocations: 164.2 kB / 321.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003941/0.05044, allocations: 3.172 MB / 324.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/0.0505, allocations: 31.7 kB / 324.3 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.05065, allocations: 83.89 kB / 324.4 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001221/0.05187, allocations: 1.215 MB / 325.6 MB, free: 4.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.05422, allocations: 1.648 MB / 327.2 MB, free: 2.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.06923, allocations: 21.38 MB / 348.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.07065, allocations: 0.7412 MB / 349.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.07087, allocations: 160.7 kB / 349.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002385/0.07326, allocations: 1.936 MB / 351.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.0733, allocations: 50.48 kB / 351.5 MB, free: 9.691 MB / 346.7 MB Notification: Performance of pre-optimization done (n=79): time 6.863e-06/0.0733, allocations: 4 kB / 351.5 MB, free: 9.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.003383/0.07669, allocations: 1.616 MB / 353.1 MB, free: 8.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/0.07677, allocations: 140.5 kB / 353.3 MB, free: 7.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.0785, allocations: 2.28 MB / 355.5 MB, free: 5.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.07853, allocations: 33.7 kB / 355.6 MB, free: 5.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.07954, allocations: 2.174 MB / 357.8 MB, free: 3.352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.07976, allocations: 389.2 kB / 358.1 MB, free: 2.969 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000643/0.08041, allocations: 0.8382 MB / 359 MB, free: 2.117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.08054, allocations: 357.8 kB / 359.3 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006845/0.08122, allocations: 0.5029 MB / 359.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.08342, allocations: 3.375 MB / 363.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.0864, allocations: 4.295 MB / 367.5 MB, free: 6.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-05/0.08643, allocations: 32 kB / 367.5 MB, free: 6.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003052/0.08948, allocations: 2.994 MB / 370.5 MB, free: 3.531 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/0.08953, allocations: 55.28 kB / 370.6 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.995e-05/0.0896, allocations: 112 kB / 370.7 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.411e-05/0.08969, allocations: 136 kB / 370.8 MB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.09145, allocations: 1.116 MB / 371.9 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001237/0.09157, allocations: 215.2 kB / 372.1 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.09281, allocations: 203.8 kB / 372.3 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.09303, allocations: 248 kB / 372.6 MB, free: 1.469 MB / 362.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.000713/0.09374, allocations: 496 kB / 373.1 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.09392, allocations: 127.8 kB / 373.2 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.09438, allocations: 350.1 kB / 373.5 MB, free: 0.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.09439, allocations: 12 kB / 373.5 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.0944, allocations: 4 kB / 373.5 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.09441, allocations: 3.984 kB / 373.6 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.09686, allocations: 2.075 MB / 375.6 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.09687, allocations: 4 kB / 375.6 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.09716, allocations: 123.8 kB / 375.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.09735, allocations: 210.4 kB / 376 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.09735, allocations: 8 kB / 376 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.09739, allocations: 16 kB / 376 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.0974, allocations: 16.27 kB / 376 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.0974, allocations: 11.94 kB / 376 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/0.09807, allocations: 1.024 MB / 377 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.0982, allocations: 16 kB / 377 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.09855, allocations: 16 kB / 377.1 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.09862, allocations: 51.94 kB / 377.1 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.09865, allocations: 27.98 kB / 377.1 MB, free: 12.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008339/0.09949, allocations: 0.9155 MB / 378.1 MB, free: 11.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09949, allocations: 3.938 kB / 378.1 MB, free: 11.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002471/0.102, allocations: 0.621 MB / 378.7 MB, free: 11.16 MB / 378.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.0003846/0.1023, allocations: 148 kB / 378.8 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.1044, allocations: 1.614 MB / 380.4 MB, free: 9.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001093/0.1045, allocations: 71.91 kB / 380.5 MB, free: 9.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.1047, allocations: 180.7 kB / 380.7 MB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.1058, allocations: 0.4908 MB / 381.2 MB, free: 8.641 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/0.1123, allocations: 4.413 MB / 385.6 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.1129, allocations: 0.7254 MB / 386.3 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007548/0.1137, allocations: 333.6 kB / 386.6 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/0.1141, allocations: 365.2 kB / 387 MB, free: 2.668 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1141, allocations: 0 / 387 MB, free: 2.668 MB / 378.7 MB Notification: Performance of Templates: time 0.02552/0.1397, allocations: 15.93 MB / 402.9 MB, free: 2.934 MB / 394.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 -ignoreHideResult -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","",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.048693276010454]