Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 199.7 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008214/0.0008216, allocations: 97.33 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002052/0.0002053, allocations: 4 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.208, allocations: 51.42 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.0172/0.2252, allocations: 26.25 MB / 438.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.2408, allocations: 7.87 MB / 446.2 MB, free: 7.207 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003848/0.2447, allocations: 115.8 kB / 446.3 MB, free: 7.094 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008028/0.2455, allocations: 298.6 kB / 446.6 MB, free: 6.801 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.2475, allocations: 0.9534 MB / 447.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005931/0.2481, allocations: 231.7 kB / 447.8 MB, free: 5.617 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.2512, allocations: 3.3 MB / 451.1 MB, free: 2.309 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/0.2541, allocations: 2.415 MB / 453.5 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009179/0.255, allocations: 0.7546 MB / 454.2 MB, free: 15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.2564, allocations: 1.214 MB / 455.5 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.2566, allocations: 88 kB / 455.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.2578, allocations: 0.62 MB / 456.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008915/0.2587, allocations: 1.094 MB / 457.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.2597, allocations: 1.321 MB / 458.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003549/0.2633, allocations: 4.003 MB / 462.6 MB, free: 6.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2633, allocations: 0 / 462.6 MB, free: 6.621 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2633, allocations: 4 kB / 462.6 MB, free: 6.617 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.632e-05/0.2634, allocations: 0 / 462.6 MB, free: 6.617 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: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.003308/0.2667, allocations: 2.407 MB / 465 MB, free: 4.148 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2668, allocations: 8.031 kB / 465 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006188/0.273, allocations: 1.822 MB / 466.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.2749, allocations: 1.158 MB / 468 MB, free: 1.109 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.275, allocations: 147.8 kB / 468.1 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/0.2753, allocations: 215.8 kB / 468.3 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01798/0.2933, allocations: 8.596 MB / 476.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.187e-05/0.2934, allocations: 39.59 kB / 477 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.2937, allocations: 95.89 kB / 477.1 MB, free: 7.422 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002607/0.2963, allocations: 1.671 MB / 478.7 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01692/0.3133, allocations: 7.163 MB / 485.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2084/0.5217, allocations: 30.2 MB / 0.504 GB, free: 86.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02143/0.5431, allocations: 5.1 MB / 0.509 GB, free: 85.69 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.5448, allocations: 1.242 MB / 0.5102 GB, free: 85.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004292/0.5491, allocations: 3.733 MB / 0.5138 GB, free: 83.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.5492, allocations: 46.95 kB / 0.5139 GB, free: 83.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 3.126e-06/0.5492, allocations: 0 / 0.5139 GB, free: 83.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=111): time 0.04122/0.5904, allocations: 9.381 MB / 0.523 GB, free: 80.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.5905, allocations: 201 kB / 0.5232 GB, free: 80.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004383/0.5949, allocations: 3.015 MB / 0.5262 GB, free: 77.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.5951, allocations: 37.7 kB / 0.5262 GB, free: 77.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.5962, allocations: 2.425 MB / 0.5286 GB, free: 74.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004492/0.5967, allocations: 0.4968 MB / 0.5291 GB, free: 74.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.5969, allocations: 107.9 kB / 0.5292 GB, free: 74.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.5972, allocations: 0.5333 MB / 0.5297 GB, free: 73.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.599, allocations: 1.58 MB / 0.5312 GB, free: 72.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/0.6018, allocations: 5.149 MB / 0.5363 GB, free: 65.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004884/0.6067, allocations: 7.298 MB / 0.5434 GB, free: 56.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.433e-05/0.6068, allocations: 36 kB / 0.5434 GB, free: 56.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.007146/0.614, allocations: 6.398 MB / 0.5497 GB, free: 49.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.564e-05/0.614, allocations: 60 kB / 0.5497 GB, free: 49.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.901e-05/0.6141, allocations: 128 kB / 0.5498 GB, free: 49.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.6142, allocations: 169.7 kB / 0.55 GB, free: 49.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/0.6183, allocations: 1.45 MB / 0.5514 GB, free: 47.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001236/0.6185, allocations: 251.6 kB / 0.5517 GB, free: 47.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002891/0.6214, allocations: 0.7477 MB / 0.5524 GB, free: 46.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003769/0.6218, allocations: 347.5 kB / 0.5527 GB, free: 46.58 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 678 * 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.001847/0.6236, allocations: 1.574 MB / 0.5543 GB, free: 45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.624, allocations: 248.8 kB / 0.5545 GB, free: 44.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.6252, allocations: 0.8446 MB / 0.5553 GB, free: 43.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/0.6253, allocations: 12 kB / 0.5553 GB, free: 43.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.6253, allocations: 0 / 0.5553 GB, free: 43.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.6253, allocations: 7.984 kB / 0.5553 GB, free: 43.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/0.63, allocations: 3.393 MB / 0.5587 GB, free: 40.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.63, allocations: 4 kB / 0.5587 GB, free: 40.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/0.6321, allocations: 403.5 kB / 0.559 GB, free: 40.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.6321, allocations: 11.98 kB / 0.5591 GB, free: 40.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/0.6322, allocations: 36.91 kB / 0.5591 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/0.6322, allocations: 7.938 kB / 0.5591 GB, free: 40 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6322, allocations: 4 kB / 0.5591 GB, free: 39.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/0.6346, allocations: 2.767 MB / 0.5618 GB, free: 37.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.635, allocations: 310.6 kB / 0.5621 GB, free: 36.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002913/0.6353, allocations: 27.98 kB / 0.5621 GB, free: 36.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008606/0.6361, allocations: 47.89 kB / 0.5622 GB, free: 36.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.6362, allocations: 55.86 kB / 0.5622 GB, free: 36.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.6363, allocations: 36.84 kB / 0.5623 GB, free: 36.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00183/0.6382, allocations: 1.821 MB / 0.564 GB, free: 34.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6382, allocations: 0 / 0.564 GB, free: 34.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00293/0.6411, allocations: 0.83 MB / 0.5649 GB, free: 34.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3]) * 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 (87): * Single equations (assignments): 84 * 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.0002872/0.6414, allocations: 173 kB / 0.565 GB, free: 33.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003994/0.6454, allocations: 3.578 MB / 0.5685 GB, free: 30.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.6454, allocations: 4 kB / 0.5685 GB, free: 30.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006853/0.6461, allocations: 0.7122 MB / 0.5692 GB, free: 29.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.6479, allocations: 252.4 kB / 0.5695 GB, free: 29.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0094/0.6573, allocations: 8.793 MB / 0.578 GB, free: 20.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002162/0.6595, allocations: 2.387 MB / 0.5804 GB, free: 18.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003535/0.663, allocations: 1.645 MB / 0.582 GB, free: 16.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.6635, allocations: 183.4 kB / 0.5821 GB, free: 16.3 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6635, allocations: 0 / 0.5821 GB, free: 16.3 MB / 378.7 MB Notification: Performance of Templates: time 0.03257/0.696, allocations: 20.5 MB / 0.6022 GB, free: 11.91 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches