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.SpringWithMass.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.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadModel(Modelica): time 1.015/1.015, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002579/0.000258, allocations: 8 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05288/0.05317, allocations: 25.16 MB / 184 MB, free: 6.016 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2259/0.2791, allocations: 45.21 MB / 229.3 MB, free: 1.457 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.2795, allocations: 79.28 kB / 229.3 MB, free: 1.418 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.222/3.502, allocations: 353.2 MB / 0.5688 GB, free: 38.71 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.515e-06/3.502, allocations: 2.531 kB / 0.5688 GB, free: 38.71 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.000129/3.502, allocations: 67.31 kB / 0.5689 GB, free: 38.71 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: 1374 * Number of variables: 1374 Notification: Performance of Generate backend data structure: time 0.2432/3.745, allocations: 32.14 MB / 0.6003 GB, free: 36.63 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/3.745, allocations: 7.75 kB / 0.6003 GB, free: 36.63 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.109/11.85, allocations: 0.7954 GB / 1.396 GB, free: 44.43 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0526/11.91, allocations: 13.82 MB / 1.409 GB, free: 43.89 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004845/11.91, allocations: 281.9 kB / 1.409 GB, free: 43.79 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01381/11.92, allocations: 356.2 kB / 1.41 GB, free: 43.7 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.296/14.22, allocations: 254 MB / 1.658 GB, free: 16.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002249/14.22, allocations: 22.2 kB / 1.658 GB, free: 16.37 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01182/14.23, allocations: 164.2 kB / 1.658 GB, free: 16.24 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005548/14.24, allocations: 1.372 MB / 1.659 GB, free: 14.87 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813/19.05, allocations: 498.8 MB / 2.146 GB, free: 39.81 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.728/24.78, allocations: 0.7303 GB / 2.877 GB, free: 40.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7899/25.57, allocations: 77.82 MB / 2.953 GB, free: 67.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5578/26.12, allocations: 88 MB / 3.039 GB, free: 62.52 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.792e-05/26.12, allocations: 56.97 kB / 3.039 GB, free: 62.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=177): time 6.341e-06/26.12, allocations: 0 / 3.039 GB, free: 62.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=190): time 2.112/28.24, allocations: 212.4 MB / 3.246 GB, free: 66.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00139/28.24, allocations: 1.607 MB / 3.248 GB, free: 64.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05984/28.3, allocations: 8.857 MB / 3.256 GB, free: 64.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.004256/28.3, allocations: 51.45 kB / 3.256 GB, free: 64.71 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002212/28.3, allocations: 2.721 MB / 3.259 GB, free: 63.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004828/28.31, allocations: 0.736 MB / 3.26 GB, free: 62.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004757/28.31, allocations: 117 kB / 3.26 GB, free: 62.78 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004818/28.31, allocations: 0.5683 MB / 3.26 GB, free: 62.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.733/29.05, allocations: 69.93 MB / 3.329 GB, free: 66.14 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7377/29.78, allocations: 73.5 MB / 3.401 GB, free: 61.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4836/30.27, allocations: 56.81 MB / 3.456 GB, free: 58.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/30.27, allocations: 36.55 kB / 3.456 GB, free: 58.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 1.434/31.7, allocations: 131.4 MB / 3.584 GB, free: 59.67 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/31.7, allocations: 62.78 kB / 3.584 GB, free: 59.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2969/32, allocations: 29.89 MB / 3.614 GB, free: 59.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008254/32.01, allocations: 1.419 MB / 3.615 GB, free: 59.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2566/32.26, allocations: 29.12 MB / 3.643 GB, free: 53.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01319/32.28, allocations: 6.926 MB / 3.65 GB, free: 47.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4753/32.75, allocations: 30.69 MB / 3.68 GB, free: 59.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006896/32.76, allocations: 1.185 MB / 3.681 GB, free: 59.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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 (738): * Single equations (assignments): 730 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0127/32.77, allocations: 1.89 MB / 3.683 GB, free: 58.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004617/32.78, allocations: 302.1 kB / 3.683 GB, free: 58.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.207/32.98, allocations: 22.02 MB / 3.705 GB, free: 58.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1999/33.18, allocations: 20.83 MB / 3.725 GB, free: 58.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-05/33.18, allocations: 7.781 kB / 3.725 GB, free: 58.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.615e-05/33.18, allocations: 7.688 kB / 3.725 GB, free: 58.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4586/33.64, allocations: 58.17 MB / 3.782 GB, free: 59.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-05/33.64, allocations: 0 / 3.782 GB, free: 59.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2281/33.87, allocations: 25.78 MB / 3.807 GB, free: 59.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008658/33.88, allocations: 1.39 MB / 3.809 GB, free: 59.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004761/33.88, allocations: 0.7371 MB / 3.809 GB, free: 59.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/33.9, allocations: 7.43 MB / 3.817 GB, free: 56.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001125/33.9, allocations: 1.462 MB / 3.818 GB, free: 55.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.857/35.76, allocations: 189.4 MB / 4.003 GB, free: 57.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/35.76, allocations: 0.6529 MB / 4.004 GB, free: 57.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006907/35.77, allocations: 35.7 kB / 4.004 GB, free: 57.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.244/36.01, allocations: 26.31 MB / 4.029 GB, free: 47.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008214/36.01, allocations: 117.9 kB / 4.03 GB, free: 47.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004517/36.02, allocations: 0.7816 MB / 4.03 GB, free: 46.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.05688/36.07, allocations: 7.255 MB / 4.037 GB, free: 39.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.11e-07/36.07, allocations: 0 / 4.037 GB, free: 39.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.02257/36.1, allocations: 2.398 MB / 4.04 GB, free: 37.4 MB / 282.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.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],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 (149): * Single equations (assignments): 143 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003967/36.1, allocations: 182.2 kB / 4.04 GB, free: 37.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 1.44/37.54, allocations: 136.7 MB / 4.173 GB, free: 59.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/37.54, allocations: 2.562 kB / 4.173 GB, free: 59.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.5083/38.05, allocations: 65.49 MB / 4.237 GB, free: 31.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005854/38.05, allocations: 277.4 kB / 4.238 GB, free: 31.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7105/38.77, allocations: 73.42 MB / 4.309 GB, free: 54.42 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006438/38.77, allocations: 3.017 MB / 4.312 GB, free: 52.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02981/38.8, allocations: 2.657 MB / 4.315 GB, free: 49.63 MB / 282.7 MB Notification: Performance of SimCode: time 1.833e-06/38.8, allocations: 4 kB / 4.315 GB, free: 49.63 MB / 282.7 MB Notification: Performance of Templates: time 1.192/39.99, allocations: 317.4 MB / 4.625 GB, free: 23.23 MB / 298.7 MB