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.PointGravity.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.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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005386, allocations: 16 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1064, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01791/0.1244, allocations: 11.38 MB / 320.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1345, allocations: 3.883 MB / 324.3 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001554/0.1361, allocations: 47.88 kB / 324.4 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.1377, allocations: 0.5327 MB / 324.9 MB, free: 472 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006756/0.1444, allocations: 1.894 MB / 326.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.146, allocations: 431.3 kB / 327.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004054/0.15, allocations: 1.747 MB / 329 MB, free: 12.39 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009039/0.151, allocations: 0.5154 MB / 329.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.1521, allocations: 0.6541 MB / 330.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001767/0.1539, allocations: 0.9698 MB / 331.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003924/0.1543, allocations: 88 kB / 331.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.1565, allocations: 0.7996 MB / 332 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001372/0.1578, allocations: 0.9741 MB / 333 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006783/0.1585, allocations: 0.4961 MB / 333.5 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004942/0.1635, allocations: 3.017 MB / 336.5 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1635, allocations: 0 / 336.5 MB, free: 4.816 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1636, allocations: 0 / 336.5 MB, free: 4.816 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.197e-05/0.1637, allocations: 0 / 336.5 MB, free: 4.816 MB / 282.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.00942/0.1731, allocations: 2.772 MB / 339.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1732, allocations: 11.97 kB / 339.3 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/0.1897, allocations: 2.258 MB / 341.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005665/0.1954, allocations: 2.093 MB / 343.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.1956, allocations: 114.6 kB / 343.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001728/0.1974, allocations: 299.5 kB / 344 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02646/0.2238, allocations: 8.593 MB / 352.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/0.224, allocations: 39.66 kB / 352.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004877/0.2245, allocations: 79.84 kB / 352.7 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003902/0.2284, allocations: 1.397 MB / 354.1 MB, free: 2.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03237/0.2608, allocations: 9.893 MB / 364 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2898/0.5506, allocations: 30.6 MB / 394.6 MB, free: 39.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02026/0.5709, allocations: 4.5 MB / 399.1 MB, free: 37.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.5712, allocations: 14.03 kB / 399.1 MB, free: 37.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.5712, allocations: 49.77 kB / 399.2 MB, free: 37.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 5.08e-06/0.5712, allocations: 3.984 kB / 399.2 MB, free: 37.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=124): time 0.07425/0.6455, allocations: 18.13 MB / 417.3 MB, free: 22.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.6456, allocations: 170.2 kB / 417.5 MB, free: 22.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005291/0.6509, allocations: 3.208 MB / 420.7 MB, free: 19.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006871/0.6516, allocations: 42.8 kB / 420.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.6532, allocations: 2.078 MB / 422.8 MB, free: 16.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.6543, allocations: 0.5266 MB / 423.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000521/0.6548, allocations: 92.78 kB / 423.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002705/0.6551, allocations: 0.5005 MB / 423.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00573/0.6608, allocations: 2.452 MB / 426.4 MB, free: 13.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00743/0.6683, allocations: 5.345 MB / 431.7 MB, free: 6.551 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007669/0.676, allocations: 3.466 MB / 435.2 MB, free: 3.082 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.794e-05/0.6761, allocations: 35.94 kB / 435.2 MB, free: 3.047 MB / 314.7 MB Notification: Performance of matching and sorting (n=615) (initialization): time 0.05627/0.7324, allocations: 11.33 MB / 446.6 MB, free: 7.68 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.992e-05/0.7326, allocations: 48 kB / 446.6 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04321/0.7758, allocations: 6.615 MB / 453.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04329/0.8191, allocations: 4.542 MB / 457.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007546/0.8267, allocations: 1.205 MB / 459 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02992/0.8567, allocations: 12.08 MB / 471 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006566/0.8633, allocations: 479.1 kB / 471.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/0.8644, allocations: 292.9 kB / 471.8 MB, free: 13.84 MB / 362.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): 6 * Torn equation systems: 2 * 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: 2 {4,4} * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003602/0.868, allocations: 1.398 MB / 473.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008288/0.8689, allocations: 256.7 kB / 473.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.8701, allocations: 415.5 kB / 473.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.8702, allocations: 7.938 kB / 473.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.8702, allocations: 4 kB / 473.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/0.8709, allocations: 322.5 kB / 474.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008718/0.8718, allocations: 43.98 kB / 474.2 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00376/0.8755, allocations: 264.7 kB / 474.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007114/0.8763, allocations: 83.86 kB / 474.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01607/0.8924, allocations: 4.967 MB / 479.5 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01375/0.9062, allocations: 6.004 MB / 485.5 MB, free: 28 kB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003879/0.9101, allocations: 1.615 MB / 487.1 MB, free: 14.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004602/0.9147, allocations: 2.043 MB / 489.2 MB, free: 12.37 MB / 378.7 MB Notification: Performance of Backend: time 7.31e-07/0.9147, allocations: 0 / 489.2 MB, free: 12.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01789/0.9326, allocations: 5.525 MB / 494.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of SimCode: time 0.01737/0.95, allocations: 8.276 MB / 0.4912 GB, free: 14.43 MB / 394.7 MB Notification: Performance of Templates: time 0.3731/1.323, allocations: 52.84 MB / 0.5428 GB, free: 137.1 MB / 410.7 MB