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.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadModel(Modelica): time 1.111/1.111, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004089, allocations: 12 kB / 158.9 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07416/0.0746, allocations: 25.16 MB / 184 MB, free: 6.016 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3211/0.3958, allocations: 51.54 MB / 235.6 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.3962, allocations: 81.33 kB / 235.7 MB, free: 11.14 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.985/4.381, allocations: 438.6 MB / 0.6585 GB, free: 4.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.806e-06/4.381, allocations: 0 / 0.6585 GB, free: 4.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0003243/4.381, allocations: 92 kB / 0.6586 GB, free: 4.562 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1845 * Number of variables: 1845 Notification: Performance of Generate backend data structure: time 0.5183/4.9, allocations: 38.29 MB / 0.696 GB, free: 41.44 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/4.9, allocations: 11.12 kB / 0.696 GB, free: 41.44 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.641/14.54, allocations: 0.9495 GB / 1.646 GB, free: 37.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05812/14.6, allocations: 15.91 MB / 1.661 GB, free: 27.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006224/14.6, allocations: 396 kB / 1.661 GB, free: 26.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01743/14.62, allocations: 490.4 kB / 1.662 GB, free: 26.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.828/17.45, allocations: 306.2 MB / 1.961 GB, free: 34.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003345/17.45, allocations: 35.7 kB / 1.961 GB, free: 34.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01576/17.46, allocations: 228.5 kB / 1.961 GB, free: 34.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007075/17.47, allocations: 1.754 MB / 1.963 GB, free: 34.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.657/23.13, allocations: 0.5841 GB / 2.547 GB, free: 38.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.748/29.87, allocations: 0.858 GB / 3.405 GB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.7979/30.67, allocations: 78.95 MB / 3.482 GB, free: 68.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5847/31.26, allocations: 86.73 MB / 3.567 GB, free: 64.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.267e-05/31.26, allocations: 58.17 kB / 3.567 GB, free: 64.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=203): time 6.723e-06/31.26, allocations: 0 / 3.567 GB, free: 64.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=219): time 1.878/33.13, allocations: 193.1 MB / 3.756 GB, free: 68.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/33.13, allocations: 147.3 kB / 3.756 GB, free: 68.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1139/33.25, allocations: 15.07 MB / 3.77 GB, free: 68.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.003752/33.25, allocations: 57.41 kB / 3.77 GB, free: 68.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002867/33.26, allocations: 3.539 MB / 3.774 GB, free: 66.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004597/33.26, allocations: 0.8426 MB / 3.775 GB, free: 65.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005254/33.27, allocations: 147.4 kB / 3.775 GB, free: 65.87 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0005948/33.27, allocations: 0.6215 MB / 3.775 GB, free: 65.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5492/33.82, allocations: 70.23 MB / 3.844 GB, free: 42.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7417/34.56, allocations: 74.68 MB / 3.917 GB, free: 62.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.6712/35.23, allocations: 57.41 MB / 3.973 GB, free: 62.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/35.23, allocations: 44.62 kB / 3.973 GB, free: 62.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=956) (initialization): time 1.252/36.48, allocations: 132.8 MB / 4.103 GB, free: 60.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/36.48, allocations: 71.06 kB / 4.103 GB, free: 60.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002646/36.48, allocations: 159.4 kB / 4.103 GB, free: 60.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007019/36.49, allocations: 1.328 MB / 4.104 GB, free: 60.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2559/36.74, allocations: 29.44 MB / 4.133 GB, free: 38.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/36.76, allocations: 6.183 MB / 4.139 GB, free: 33.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5271/37.28, allocations: 34.46 MB / 4.173 GB, free: 60.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006844/37.29, allocations: 1.273 MB / 4.174 GB, free: 60.76 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (913): * Single equations (assignments): 909 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01346/37.31, allocations: 2.354 MB / 4.176 GB, free: 60.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004569/37.31, allocations: 388.4 kB / 4.177 GB, free: 60.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1095/37.42, allocations: 13.03 MB / 4.189 GB, free: 60.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.298e-05/37.42, allocations: 22.53 kB / 4.189 GB, free: 60.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.028e-05/37.42, allocations: 6.031 kB / 4.189 GB, free: 60.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.128e-05/37.42, allocations: 14.56 kB / 4.189 GB, free: 60.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1735/37.59, allocations: 46.94 MB / 4.235 GB, free: 31.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/37.59, allocations: 0 / 4.235 GB, free: 31.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4004/37.99, allocations: 23.79 MB / 4.258 GB, free: 60.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006582/38, allocations: 1.084 MB / 4.26 GB, free: 60.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004064/38, allocations: 0.6564 MB / 4.26 GB, free: 60.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/38.02, allocations: 5.722 MB / 4.266 GB, free: 59.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/38.02, allocations: 3.75 kB / 4.266 GB, free: 59.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.508/39.53, allocations: 175.5 MB / 4.437 GB, free: 29.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2131/39.74, allocations: 3.989 MB / 4.441 GB, free: 61.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007385/39.75, allocations: 37.38 kB / 4.441 GB, free: 61.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2436/39.99, allocations: 26.29 MB / 4.467 GB, free: 61.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008274/39.99, allocations: 135.4 kB / 4.467 GB, free: 61.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003976/39.99, allocations: 0.7038 MB / 4.468 GB, free: 61.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.108/40.1, allocations: 12.81 MB / 4.48 GB, free: 61.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.72e-07/40.1, allocations: 0 / 4.48 GB, free: 61.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.02393/40.13, allocations: 2.631 MB / 4.483 GB, free: 61.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (183): * Single equations (assignments): 179 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003743/40.13, allocations: 193.1 kB / 4.483 GB, free: 61.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 1.279/41.41, allocations: 132.3 MB / 4.612 GB, free: 54.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/41.41, allocations: 0 / 4.612 GB, free: 54.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.6448/42.05, allocations: 60.17 MB / 4.671 GB, free: 62.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006678/42.06, allocations: 353.4 kB / 4.671 GB, free: 62.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6704/42.73, allocations: 70.84 MB / 4.74 GB, free: 57.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009193/42.74, allocations: 3.694 MB / 4.744 GB, free: 56.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03048/42.77, allocations: 2.693 MB / 4.747 GB, free: 56.58 MB / 298.7 MB Notification: Performance of SimCode: time 1.593e-06/42.77, allocations: 3.938 kB / 4.747 GB, free: 56.58 MB / 298.7 MB Notification: Performance of Templates: time 0.9779/43.75, allocations: 302.7 MB / 5.042 GB, free: 12.96 MB / 314.7 MB