Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") Notification: Performance of loadModel(Modelica): time 1.612/1.612, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07687/0.07722, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.03567/0.1129, allocations: 23.57 MB / 296.2 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2227/0.3357, allocations: 5.409 MB / 301.6 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003763/0.3395, allocations: 109.7 kB / 301.7 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003808/0.3433, allocations: 1.172 MB / 302.9 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01162/0.355, allocations: 3.192 MB / 306.1 MB, free: 8.352 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.3565, allocations: 205.1 kB / 306.3 MB, free: 8.352 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002889/0.3594, allocations: 1.288 MB / 307.6 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003246/0.3627, allocations: 1.846 MB / 309.4 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.3638, allocations: 0.5897 MB / 310 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.3652, allocations: 0.8259 MB / 310.8 MB, free: 7.789 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003595/0.3655, allocations: 86.03 kB / 310.9 MB, free: 7.789 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.3669, allocations: 0.5247 MB / 311.4 MB, free: 7.664 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.368, allocations: 0.9801 MB / 312.4 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005921/0.3686, allocations: 0.5477 MB / 313 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00437/0.373, allocations: 3.201 MB / 316.2 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.373, allocations: 1.75 kB / 316.2 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3731, allocations: 0 / 316.2 MB, free: 5.766 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.058e-05/0.3732, allocations: 0 / 316.2 MB, free: 5.766 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.004687/0.3778, allocations: 2.384 MB / 318.6 MB, free: 4.199 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3779, allocations: 12.19 kB / 318.6 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01272/0.3906, allocations: 2.102 MB / 320.7 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/0.3937, allocations: 1.128 MB / 321.8 MB, free: 2.758 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.3938, allocations: 144.2 kB / 321.9 MB, free: 2.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005376/0.3944, allocations: 200.6 kB / 322.1 MB, free: 2.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02741/0.4218, allocations: 8.527 MB / 330.7 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.422, allocations: 43.58 kB / 330.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000414/0.4224, allocations: 99.7 kB / 330.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004864/0.4273, allocations: 1.653 MB / 332.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0297/0.457, allocations: 7.112 MB / 339.6 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05108/0.5081, allocations: 29.85 MB / 369.4 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04113/0.5493, allocations: 4.982 MB / 374.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008075/0.5574, allocations: 3.422 MB / 377.8 MB, free: 128 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.5575, allocations: 50.5 kB / 377.9 MB, free: 68 kB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 5.38e-06/0.5575, allocations: 0 / 377.9 MB, free: 68 kB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.08476/0.6423, allocations: 9.486 MB / 387.4 MB, free: 6.438 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6425, allocations: 187.9 kB / 387.6 MB, free: 6.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005926/0.6484, allocations: 2.99 MB / 390.5 MB, free: 3.203 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001912/0.6486, allocations: 40.59 kB / 390.6 MB, free: 3.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002419/0.6511, allocations: 2.408 MB / 393 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007365/0.6518, allocations: 478.5 kB / 393.5 MB, free: 308 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.6522, allocations: 105.6 kB / 393.6 MB, free: 204 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0005515/0.6528, allocations: 0.5886 MB / 394.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003847/0.6566, allocations: 1.576 MB / 395.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006802/0.6634, allocations: 5.095 MB / 400.8 MB, free: 7.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006377/0.6699, allocations: 2.767 MB / 403.6 MB, free: 4.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.858e-05/0.67, allocations: 36 kB / 403.6 MB, free: 4.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01595/0.6859, allocations: 6.362 MB / 410 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.6861, allocations: 60.09 kB / 410 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001703/0.6863, allocations: 127.9 kB / 410.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.6865, allocations: 184 kB / 410.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009058/0.6956, allocations: 1.443 MB / 411.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002582/0.6959, allocations: 243.1 kB / 412 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/0.7006, allocations: 0.7415 MB / 412.8 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006419/0.7013, allocations: 340 kB / 413.1 MB, free: 10.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 577 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (671): * Single equations (assignments): 668 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003283/0.7046, allocations: 1.564 MB / 414.7 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005776/0.7052, allocations: 240.8 kB / 414.9 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001924/0.7071, allocations: 0.8089 MB / 415.7 MB, free: 8.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.7071, allocations: 8.016 kB / 415.7 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.7072, allocations: 4 kB / 415.7 MB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006744/0.7079, allocations: 305.6 kB / 416 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004717/0.7083, allocations: 31.98 kB / 416 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.7098, allocations: 39.95 kB / 416.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.71, allocations: 51.88 kB / 416.1 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007543/0.7176, allocations: 2.155 MB / 418.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005291/0.7229, allocations: 2.832 MB / 421.1 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001387/0.7243, allocations: 0.64 MB / 421.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004007/0.7283, allocations: 1.812 MB / 423.6 MB, free: 312 kB / 346.7 MB Notification: Performance of Backend: time 2.655e-06/0.7283, allocations: 0 / 423.6 MB, free: 312 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008426/0.7368, allocations: 3.091 MB / 426.7 MB, free: 13.24 MB / 362.7 MB Notification: Performance of SimCode: time 0.01803/0.7549, allocations: 8.714 MB / 435.4 MB, free: 4.473 MB / 362.7 MB Notification: Performance of Templates: time 0.2942/1.049, allocations: 26.75 MB / 462.1 MB, free: 118.8 MB / 362.7 MB