Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.0009718/0.0009718, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001506/0.001506, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9474/0.9474, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1385/0.1385, allocations: 32.37 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.865e-05, allocations: 2.312 kB / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.1529/0.153, allocations: 14.79 MB / 313.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009444/0.1624, allocations: 4.574 MB / 318.5 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.1641, allocations: 90.31 kB / 318.6 MB, free: 9.113 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.1664, allocations: 2.378 MB / 321 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003035/0.1694, allocations: 2.216 MB / 323.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000896/0.1703, allocations: 0.675 MB / 323.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003105/0.1734, allocations: 4.804 MB / 328.6 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002991/0.1764, allocations: 3.092 MB / 331.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.1791, allocations: 2.623 MB / 334.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.1815, allocations: 2.256 MB / 336.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005001/0.182, allocations: 336 kB / 336.9 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.1833, allocations: 1.034 MB / 338 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.1845, allocations: 2.189 MB / 340.2 MB, free: 5.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009017/0.1854, allocations: 1.351 MB / 341.5 MB, free: 3.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003562/0.1889, allocations: 5.109 MB / 346.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1889, allocations: 0 / 346.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1889, allocations: 0 / 346.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.259e-05/0.189, allocations: 0 / 346.6 MB, free: 14.52 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.003852/0.1928, allocations: 4.92 MB / 351.5 MB, free: 9.543 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1929, allocations: 12.03 kB / 351.6 MB, free: 9.531 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003884/0.1967, allocations: 1.561 MB / 353.1 MB, free: 7.969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.1986, allocations: 1.833 MB / 355 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.1987, allocations: 258.9 kB / 355.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003694/0.1991, allocations: 348.1 kB / 355.5 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005101/0.2042, allocations: 5.522 MB / 361.1 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.601e-05/0.2042, allocations: 39.64 kB / 361.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.2045, allocations: 159.8 kB / 361.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002205/0.2067, allocations: 2.588 MB / 363.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004549/0.2112, allocations: 3.084 MB / 366.9 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02461/0.2359, allocations: 31.45 MB / 398.4 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002999/0.2389, allocations: 1.592 MB / 400 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007566/0.2396, allocations: 375.7 kB / 400.3 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005462/0.2451, allocations: 4.126 MB / 404.5 MB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2451, allocations: 43.88 kB / 404.5 MB, free: 2.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=185): time 3.236e-06/0.2451, allocations: 0 / 404.5 MB, free: 2.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=198): time 0.01108/0.2562, allocations: 5.794 MB / 410.3 MB, free: 12.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.2562, allocations: 68.66 kB / 410.4 MB, free: 12.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.2583, allocations: 2.905 MB / 413.3 MB, free: 9.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.2584, allocations: 53.69 kB / 413.3 MB, free: 9.848 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.26, allocations: 3.473 MB / 416.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/0.2604, allocations: 0.7829 MB / 417.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008569/0.2612, allocations: 1.144 MB / 418.7 MB, free: 4.391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.2613, allocations: 301.1 kB / 419 MB, free: 4.094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.2623, allocations: 0.7547 MB / 419.8 MB, free: 3.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/0.2652, allocations: 4.238 MB / 424 MB, free: 13.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00383/0.269, allocations: 5.501 MB / 429.5 MB, free: 5.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.473e-05/0.269, allocations: 40 kB / 429.6 MB, free: 5.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.0042/0.2732, allocations: 4.037 MB / 433.6 MB, free: 1.898 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.2733, allocations: 60 kB / 433.7 MB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.258e-05/0.2734, allocations: 131.4 kB / 433.8 MB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002872/0.2736, allocations: 228 kB / 434 MB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/0.2763, allocations: 1.392 MB / 435.4 MB, free: 92 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001762/0.2765, allocations: 255 kB / 435.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/0.2811, allocations: 240 kB / 435.9 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007902/0.2818, allocations: 312 kB / 436.2 MB, free: 15.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (758): * Single equations (assignments): 750 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001907/0.2838, allocations: 0.6146 MB / 436.8 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/0.2843, allocations: 207.7 kB / 437 MB, free: 14.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.2859, allocations: 0.9904 MB / 438 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.2859, allocations: 23.98 kB / 438 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2859, allocations: 4 kB / 438 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2859, allocations: 7.969 kB / 438 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006459/0.2924, allocations: 4.755 MB / 442.8 MB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.2924, allocations: 12 kB / 442.8 MB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/0.2931, allocations: 272.4 kB / 443.1 MB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003538/0.2934, allocations: 224.4 kB / 443.3 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.2935, allocations: 36 kB / 443.3 MB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/0.2935, allocations: 23.92 kB / 443.3 MB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.2935, allocations: 11.94 kB / 443.4 MB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.2954, allocations: 1.643 MB / 445 MB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007066/0.2961, allocations: 409.8 kB / 445.4 MB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002314/0.2963, allocations: 40 kB / 445.4 MB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005503/0.2969, allocations: 32 kB / 445.5 MB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.2971, allocations: 128.5 kB / 445.6 MB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.553e-05/0.2971, allocations: 60.11 kB / 445.7 MB, free: 5.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.2983, allocations: 1.031 MB / 446.7 MB, free: 4.379 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2983, allocations: 0 / 446.7 MB, free: 4.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003198/0.3015, allocations: 1.051 MB / 447.7 MB, free: 3.328 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (152): * Single equations (assignments): 144 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003561/0.3018, allocations: 187.8 kB / 447.9 MB, free: 3.137 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003027/0.3049, allocations: 2.414 MB / 450.3 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001463/0.305, allocations: 92.16 kB / 450.4 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006161/0.3056, allocations: 0.5031 MB / 450.9 MB, free: 124 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.3076, allocations: 0.694 MB / 451.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.3197, allocations: 8.754 MB / 460.4 MB, free: 6.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.3211, allocations: 1.448 MB / 461.8 MB, free: 4.988 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00141/0.3225, allocations: 497.9 kB / 462.3 MB, free: 4.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007721/0.3232, allocations: 0.5207 MB / 462.8 MB, free: 3.98 MB / 426.7 MB Notification: Performance of SimCode: time 2.785e-06/0.3232, allocations: 0 / 462.8 MB, free: 3.98 MB / 426.7 MB Notification: Performance of Templates: time 0.1739/0.4971, allocations: 26.56 MB / 489.4 MB, free: 128.4 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.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.997418326791376]