Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003494, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09031, allocations: 44.52 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.0484/0.1388, allocations: 31.29 MB / 340.4 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.1596, allocations: 7.959 MB / 348.3 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005533/0.1652, allocations: 159.6 kB / 348.5 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005365/0.1706, allocations: 1.555 MB / 350 MB, free: 7.262 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01639/0.187, allocations: 4.551 MB / 354.6 MB, free: 2.699 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.1898, allocations: 0.4952 MB / 355.1 MB, free: 2.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004731/0.1945, allocations: 1.97 MB / 357 MB, free: 236 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006996/0.2016, allocations: 3.662 MB / 360.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.2033, allocations: 0.9032 MB / 361.6 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.2054, allocations: 1.133 MB / 362.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004965/0.2059, allocations: 120 kB / 362.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002277/0.2082, allocations: 0.8543 MB / 363.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001774/0.21, allocations: 1.321 MB / 365 MB, free: 8.168 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000994/0.211, allocations: 0.7221 MB / 365.8 MB, free: 7.438 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007311/0.2183, allocations: 4.7 MB / 370.5 MB, free: 2.727 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2184, allocations: 0 / 370.5 MB, free: 2.727 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2184, allocations: 0 / 370.5 MB, free: 2.727 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001658/0.2185, allocations: 8 kB / 370.5 MB, free: 2.719 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: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.2518/0.4703, allocations: 3.458 MB / 373.9 MB, free: 62.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.4704, allocations: 8.281 kB / 373.9 MB, free: 62.81 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.4841, allocations: 2.164 MB / 376.1 MB, free: 62.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006522/0.4907, allocations: 2.212 MB / 378.3 MB, free: 61.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.491, allocations: 208.1 kB / 378.5 MB, free: 61.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001753/0.4928, allocations: 363.9 kB / 378.9 MB, free: 61.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/0.5137, allocations: 8.676 MB / 387.5 MB, free: 56.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.5139, allocations: 46.02 kB / 387.6 MB, free: 56.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005951/0.5145, allocations: 132.3 kB / 387.7 MB, free: 56.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003512/0.518, allocations: 1.605 MB / 389.3 MB, free: 55.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01961/0.5376, allocations: 7.361 MB / 396.7 MB, free: 48.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04929/0.587, allocations: 34.52 MB / 431.2 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/0.5991, allocations: 3.179 MB / 434.4 MB, free: 9.477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/0.6114, allocations: 6.06 MB / 440.4 MB, free: 3.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.6114, allocations: 47.11 kB / 440.5 MB, free: 3.195 MB / 314.7 MB Notification: Performance of pre-optimization done (n=118): time 4.829e-06/0.6115, allocations: 0 / 440.5 MB, free: 3.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=119): time 0.04116/0.6526, allocations: 10.61 MB / 451.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.6527, allocations: 137.1 kB / 451.2 MB, free: 8.191 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006903/0.6597, allocations: 3.636 MB / 454.9 MB, free: 4.555 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003715/0.6601, allocations: 46.56 kB / 454.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002619/0.6627, allocations: 2.755 MB / 457.7 MB, free: 1.758 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007854/0.6635, allocations: 0.5049 MB / 458.2 MB, free: 1.258 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003762/0.6639, allocations: 104 kB / 458.3 MB, free: 1.156 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0004089/0.6643, allocations: 0.5212 MB / 458.8 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004278/0.6686, allocations: 1.802 MB / 460.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007034/0.6757, allocations: 5.2 MB / 465.8 MB, free: 7.895 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006872/0.6826, allocations: 2.988 MB / 468.8 MB, free: 4.906 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.178e-05/0.6827, allocations: 32 kB / 468.8 MB, free: 4.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=684) (initialization): time 0.03184/0.7145, allocations: 8.455 MB / 477.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.7147, allocations: 56 kB / 477.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01836/0.733, allocations: 3.19 MB / 480.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0191/0.7522, allocations: 2.246 MB / 482.8 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006698/0.7589, allocations: 1.205 MB / 484 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/0.7761, allocations: 7.235 MB / 491.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005412/0.7816, allocations: 315 kB / 491.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006719/0.7823, allocations: 332.1 kB / 491.8 MB, free: 13.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (650): * Single equations (assignments): 643 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003801/0.7861, allocations: 1.83 MB / 493.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007113/0.7868, allocations: 292.2 kB / 494 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007852/0.7947, allocations: 2.391 MB / 496.3 MB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.7947, allocations: 3.984 kB / 496.4 MB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.7947, allocations: 4 kB / 496.4 MB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008679/0.7956, allocations: 365.1 kB / 496.7 MB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006318/0.7963, allocations: 35.98 kB / 496.7 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/0.7983, allocations: 91.86 kB / 496.8 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.7986, allocations: 68.39 kB / 496.9 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009584/0.8082, allocations: 3.059 MB / 500 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007413/0.8156, allocations: 3.704 MB / 0.4919 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001988/0.8176, allocations: 0.9686 MB / 0.4928 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004717/0.8224, allocations: 2.266 MB / 0.495 GB, free: 14.41 MB / 394.7 MB Notification: Performance of Backend: time 5.31e-07/0.8224, allocations: 0 / 0.495 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01325/0.8356, allocations: 4.277 MB / 0.4992 GB, free: 10.1 MB / 394.7 MB Notification: Performance of SimCode: time 0.0199/0.8556, allocations: 9.632 MB / 0.5086 GB, free: 432 kB / 394.7 MB Notification: Performance of Templates: time 0.349/1.205, allocations: 39.26 MB / 0.5469 GB, free: 103.8 MB / 394.7 MB