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.PointGravity.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.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 1.665/1.665, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 8 kB / 233.9 MB, free: 2.379 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07839, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01738/0.09581, allocations: 11.39 MB / 284 MB, free: 92 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009763/0.1056, allocations: 3.851 MB / 287.9 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.1071, allocations: 55.81 kB / 287.9 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.1084, allocations: 0.5249 MB / 288.5 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00624/0.1147, allocations: 1.894 MB / 290.4 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.1161, allocations: 443.3 kB / 290.8 MB, free: 9.316 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003884/0.12, allocations: 1.747 MB / 292.5 MB, free: 7.566 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008478/0.1208, allocations: 0.5233 MB / 293.1 MB, free: 6.992 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009949/0.1218, allocations: 0.6463 MB / 293.7 MB, free: 6.344 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.1235, allocations: 0.9737 MB / 294.7 MB, free: 5.367 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003188/0.1239, allocations: 84 kB / 294.8 MB, free: 5.285 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.1258, allocations: 0.784 MB / 295.5 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.1271, allocations: 0.9858 MB / 296.5 MB, free: 3.512 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006205/0.1278, allocations: 0.4884 MB / 297 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004559/0.1323, allocations: 3.005 MB / 300 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1324, allocations: 0 / 300 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1324, allocations: 0 / 300 MB, free: 4 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.167e-05/0.1324, allocations: 4 kB / 300 MB, free: 0 / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.2136/0.346, allocations: 2.767 MB / 302.8 MB, free: 30.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3461, allocations: 8.719 kB / 302.8 MB, free: 30.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/0.3624, allocations: 2.212 MB / 305 MB, free: 29.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00568/0.3681, allocations: 2.086 MB / 307.1 MB, free: 29.13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.3683, allocations: 111.9 kB / 307.2 MB, free: 29.11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/0.3699, allocations: 312 kB / 307.5 MB, free: 29.01 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/0.3939, allocations: 8.594 MB / 316.1 MB, free: 23.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.239e-05/0.394, allocations: 35.73 kB / 316.1 MB, free: 23.66 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004253/0.3944, allocations: 76.28 kB / 316.2 MB, free: 23.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003268/0.3977, allocations: 1.394 MB / 317.6 MB, free: 22.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02826/0.426, allocations: 9.902 MB / 327.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05101/0.477, allocations: 30.56 MB / 358.1 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02172/0.4988, allocations: 4.5 MB / 362.6 MB, free: 8.402 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.499, allocations: 25.2 kB / 362.6 MB, free: 8.383 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.4991, allocations: 50.45 kB / 362.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 5.179e-06/0.4991, allocations: 224 / 362.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=124): time 0.08186/0.581, allocations: 18.13 MB / 380.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.5811, allocations: 170.1 kB / 380.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006554/0.5877, allocations: 3.206 MB / 384.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006228/0.5884, allocations: 41.7 kB / 384.2 MB, free: 2.387 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/0.5906, allocations: 2.083 MB / 386.3 MB, free: 320 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/0.5916, allocations: 0.5266 MB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004416/0.5921, allocations: 92 kB / 386.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004055/0.5925, allocations: 0.5005 MB / 387.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006324/0.5988, allocations: 2.39 MB / 389.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008974/0.6078, allocations: 5.302 MB / 395.1 MB, free: 6.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00891/0.6168, allocations: 3.419 MB / 398.5 MB, free: 2.598 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-05/0.6169, allocations: 28 kB / 398.5 MB, free: 2.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=615) (initialization): time 0.03491/0.6518, allocations: 9.502 MB / 408 MB, free: 9.035 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-05/0.6519, allocations: 52 kB / 408.1 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02147/0.6734, allocations: 4.79 MB / 412.9 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01703/0.6905, allocations: 2.581 MB / 415.5 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007487/0.698, allocations: 1.197 MB / 416.7 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/0.7133, allocations: 8.588 MB / 425.2 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006547/0.7199, allocations: 467 kB / 425.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007343/0.7207, allocations: 296.9 kB / 426 MB, free: 6.492 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 15 (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 (571): * Single equations (assignments): 560 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 2 {3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.003181/0.7239, allocations: 1.394 MB / 427.4 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007636/0.7247, allocations: 248.8 kB / 427.6 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.7258, allocations: 415.1 kB / 428 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.7258, allocations: 11.98 kB / 428 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.7258, allocations: 288 / 428 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/0.7266, allocations: 329.6 kB / 428.4 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007529/0.7273, allocations: 44.69 kB / 428.4 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003354/0.7307, allocations: 264.6 kB / 428.7 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005203/0.7312, allocations: 91.8 kB / 428.8 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2342/0.9655, allocations: 4.946 MB / 433.7 MB, free: 107.9 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01377/0.9793, allocations: 6.015 MB / 439.7 MB, free: 106.6 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00371/0.9831, allocations: 1.621 MB / 441.3 MB, free: 106.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004141/0.9873, allocations: 2.042 MB / 443.4 MB, free: 105.4 MB / 346.7 MB Notification: Performance of Backend: time 6.81e-07/0.9873, allocations: 6 kB / 443.4 MB, free: 105.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01563/1.003, allocations: 5.399 MB / 448.8 MB, free: 103.2 MB / 346.7 MB Notification: Performance of SimCode: time 0.01425/1.017, allocations: 8.265 MB / 457 MB, free: 98.73 MB / 346.7 MB Notification: Performance of Templates: time 0.1044/1.122, allocations: 47.94 MB / 0.4932 GB, free: 53.16 MB / 346.7 MB