Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.26/1.26, allocations: 111.2 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005347/0.0005353, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0749/0.07548, allocations: 25.17 MB / 184 MB, free: 6.016 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2736/0.3492, allocations: 46.67 MB / 230.7 MB, free: 48 kB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.3496, allocations: 78.72 kB / 230.8 MB, free: 8 kB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.581/3.93, allocations: 402.4 MB / 0.6183 GB, free: 28.71 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.345e-06/3.93, allocations: 0 / 0.6183 GB, free: 28.71 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.000224/3.93, allocations: 95.94 kB / 0.6184 GB, free: 28.61 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1770 * Number of variables: 1770 Notification: Performance of Generate backend data structure: time 0.2703/4.201, allocations: 35.9 MB / 0.6535 GB, free: 9.008 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/4.201, allocations: 8.031 kB / 0.6535 GB, free: 9 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.98/13.18, allocations: 0.8724 GB / 1.526 GB, free: 50.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05715/13.24, allocations: 15.59 MB / 1.541 GB, free: 49.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005629/13.24, allocations: 381.3 kB / 1.541 GB, free: 49.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01609/13.25, allocations: 490.5 kB / 1.542 GB, free: 49.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.632/15.89, allocations: 280.6 MB / 1.816 GB, free: 46.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003504/15.89, allocations: 32.59 kB / 1.816 GB, free: 46.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01364/15.9, allocations: 222.4 kB / 1.816 GB, free: 46.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006321/15.91, allocations: 1.604 MB / 1.818 GB, free: 46.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.081/20.99, allocations: 0.5359 GB / 2.354 GB, free: 47.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.025/27.01, allocations: 0.7894 GB / 3.143 GB, free: 31.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7911/27.8, allocations: 80.31 MB / 3.221 GB, free: 72.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8007/28.6, allocations: 117.4 MB / 3.336 GB, free: 61.85 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.261e-05/28.61, allocations: 54.03 kB / 3.336 GB, free: 61.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=184): time 6.452e-06/28.61, allocations: 0 / 3.336 GB, free: 61.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=191): time 2.007/30.61, allocations: 204.6 MB / 3.536 GB, free: 66.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001364/30.61, allocations: 1.621 MB / 3.538 GB, free: 64.8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009955/30.62, allocations: 4.577 MB / 3.542 GB, free: 60.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004062/30.63, allocations: 57.64 kB / 3.542 GB, free: 60.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002835/30.63, allocations: 3.495 MB / 3.545 GB, free: 56.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004909/30.64, allocations: 0.7575 MB / 3.546 GB, free: 55.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004997/30.64, allocations: 140 kB / 3.546 GB, free: 55.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005543/30.64, allocations: 0.6082 MB / 3.547 GB, free: 55.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6893/31.33, allocations: 65.19 MB / 3.611 GB, free: 70.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6907/32.02, allocations: 69.57 MB / 3.679 GB, free: 65.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.432/32.45, allocations: 53.33 MB / 3.731 GB, free: 59.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001895/32.45, allocations: 44 kB / 3.731 GB, free: 59.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=916) (initialization): time 1.349/33.8, allocations: 123.2 MB / 3.851 GB, free: 62.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001725/33.8, allocations: 71.66 kB / 3.851 GB, free: 62.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1971/34, allocations: 20.68 MB / 3.871 GB, free: 62.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005549/34.01, allocations: 1.164 MB / 3.872 GB, free: 62.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2308/34.24, allocations: 27.17 MB / 3.899 GB, free: 62.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007583/34.24, allocations: 4.841 MB / 3.904 GB, free: 60.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2233/34.47, allocations: 24.59 MB / 3.928 GB, free: 49.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006444/34.47, allocations: 1.182 MB / 3.929 GB, free: 48.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * 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 (878): * Single equations (assignments): 869 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01337/34.49, allocations: 2.361 MB / 3.931 GB, free: 47.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004723/34.49, allocations: 371.3 kB / 3.931 GB, free: 47.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4002/34.89, allocations: 21.75 MB / 3.953 GB, free: 63.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1966/35.09, allocations: 20.51 MB / 3.973 GB, free: 63.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/35.09, allocations: 3.812 kB / 3.973 GB, free: 63.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.218e-05/35.09, allocations: 9.984 kB / 3.973 GB, free: 63.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04054/35.13, allocations: 29.22 MB / 4.001 GB, free: 42.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.653e-05/35.13, allocations: 3.938 kB / 4.001 GB, free: 42.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2254/35.36, allocations: 25.8 MB / 4.026 GB, free: 41.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005326/35.36, allocations: 1.026 MB / 4.027 GB, free: 40.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004662/35.37, allocations: 0.7362 MB / 4.028 GB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008311/35.37, allocations: 5.091 MB / 4.033 GB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00108/35.37, allocations: 1.496 MB / 4.035 GB, free: 34.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.838/37.21, allocations: 189.2 MB / 4.219 GB, free: 53.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/37.21, allocations: 0.4989 MB / 4.22 GB, free: 52.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00651/37.22, allocations: 36 kB / 4.22 GB, free: 52.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2176/37.44, allocations: 24.26 MB / 4.244 GB, free: 28.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007044/37.44, allocations: 116 kB / 4.244 GB, free: 28.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2012/37.64, allocations: 0.7796 MB / 4.244 GB, free: 62.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.008169/37.65, allocations: 2.857 MB / 4.247 GB, free: 62.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.01e-07/37.65, allocations: 0 / 4.247 GB, free: 62.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.02186/37.67, allocations: 2.429 MB / 4.25 GB, free: 62.28 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],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]) * 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 (159): * Single equations (assignments): 152 * 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 {(3,100.0%),(4,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 Backend phase and start with SimCode phase: time 0.004035/37.68, allocations: 190.9 kB / 4.25 GB, free: 62.19 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 1.195/38.87, allocations: 132.5 MB / 4.379 GB, free: 62.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/38.87, allocations: 0 / 4.379 GB, free: 62.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.6955/39.57, allocations: 65.72 MB / 4.443 GB, free: 63.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006557/39.57, allocations: 392.1 kB / 4.444 GB, free: 63.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5205/40.09, allocations: 75.77 MB / 4.518 GB, free: 52.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008079/40.1, allocations: 3.68 MB / 4.521 GB, free: 48.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02803/40.13, allocations: 2.587 MB / 4.524 GB, free: 46.23 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/40.13, allocations: 0 / 4.524 GB, free: 46.23 MB / 298.7 MB Notification: Performance of Templates: time 1.256/41.38, allocations: 344.5 MB / 4.86 GB, free: 1.078 MB / 314.7 MB