Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.83/1.83, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 16 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.08944, allocations: 44.49 MB / 309 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4034/0.4929, allocations: 90.37 MB / 399.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.4933, allocations: 94.34 kB / 399.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3653/0.8586, allocations: 92.6 MB / 492 MB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.8586, allocations: 3.938 kB / 492 MB, free: 12.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002406/0.8589, allocations: 87.94 kB / 492.1 MB, free: 12.29 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.0242/0.8831, allocations: 4.872 MB / 497 MB, free: 7.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.8831, allocations: 8.031 kB / 497 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02152/0.9047, allocations: 2.685 MB / 499.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02093/0.9256, allocations: 5.562 MB / 0.4934 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004643/0.9261, allocations: 345.2 kB / 0.4937 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/0.9285, allocations: 471.8 kB / 0.4942 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03992/0.9684, allocations: 12.46 MB / 0.5063 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002348/0.9687, allocations: 71.3 kB / 0.5064 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/0.97, allocations: 227.9 kB / 0.5066 GB, free: 300 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002986/0.973, allocations: 1.174 MB / 0.5078 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.037/1.01, allocations: 10.18 MB / 0.5177 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3359/1.346, allocations: 52.32 MB / 0.5688 GB, free: 51.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01775/1.364, allocations: 4.055 MB / 0.5728 GB, free: 50.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01668/1.381, allocations: 7.401 MB / 0.58 GB, free: 48.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/1.381, allocations: 57.69 kB / 0.5801 GB, free: 48.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 4.949e-06/1.381, allocations: 0 / 0.5801 GB, free: 48.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=188): time 0.06866/1.449, allocations: 16.21 MB / 0.5959 GB, free: 44.92 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001241/1.451, allocations: 1.607 MB / 0.5975 GB, free: 43.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008692/1.459, allocations: 4.219 MB / 0.6016 GB, free: 42.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004668/1.46, allocations: 48.61 kB / 0.6016 GB, free: 42.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00252/1.462, allocations: 3.301 MB / 0.6048 GB, free: 40.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001145/1.464, allocations: 0.7502 MB / 0.6056 GB, free: 39.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007116/1.464, allocations: 133.3 kB / 0.6057 GB, free: 39.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003722/1.465, allocations: 0.588 MB / 0.6063 GB, free: 39.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006167/1.471, allocations: 2.223 MB / 0.6085 GB, free: 38.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008696/1.48, allocations: 6.312 MB / 0.6146 GB, free: 32.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008909/1.489, allocations: 3.626 MB / 0.6182 GB, free: 31.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/1.489, allocations: 42.06 kB / 0.6182 GB, free: 31.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02606/1.515, allocations: 8.882 MB / 0.6269 GB, free: 28.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.873e-05/1.515, allocations: 65.81 kB / 0.6269 GB, free: 28.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00921/1.524, allocations: 2.761 MB / 0.6296 GB, free: 27.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005565/1.53, allocations: 1.082 MB / 0.6307 GB, free: 27.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009132/1.539, allocations: 1.581 MB / 0.6322 GB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006369/1.545, allocations: 4.453 MB / 0.6366 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008254/1.554, allocations: 0.5039 MB / 0.6371 GB, free: 24.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/1.555, allocations: 416.1 kB / 0.6375 GB, free: 23.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 42 (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],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (825): * Single equations (assignments): 816 * Array equations: 5 * 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 {(4,100.0%),(3,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 prepare postOptimizeDAE: time 0.005244/1.56, allocations: 2.175 MB / 0.6396 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008642/1.561, allocations: 375.2 kB / 0.64 GB, free: 21.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/1.571, allocations: 3.192 MB / 0.6431 GB, free: 19.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008591/1.58, allocations: 2.662 MB / 0.6457 GB, free: 16.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-05/1.58, allocations: 8 kB / 0.6457 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-05/1.58, allocations: 9.938 kB / 0.6457 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02694/1.607, allocations: 10 MB / 0.6555 GB, free: 8.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-05/1.607, allocations: 12 kB / 0.6555 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002833/1.61, allocations: 346.6 kB / 0.6558 GB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005045/1.615, allocations: 0.9845 MB / 0.6568 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003822/1.615, allocations: 58.33 kB / 0.6568 GB, free: 7.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006671/1.622, allocations: 4.671 MB / 0.6614 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001016/1.623, allocations: 1.481 MB / 0.6628 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/1.638, allocations: 5.744 MB / 0.6684 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/1.64, allocations: 0.653 MB / 0.6691 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007157/1.641, allocations: 55.23 kB / 0.6691 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/1.643, allocations: 180.4 kB / 0.6693 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003947/1.644, allocations: 156.3 kB / 0.6694 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.644, allocations: 70.56 kB / 0.6695 GB, free: 11.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006561/1.651, allocations: 2.616 MB / 0.6721 GB, free: 9.715 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.651, allocations: 0 / 0.6721 GB, free: 9.715 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007227/1.658, allocations: 1.117 MB / 0.6732 GB, free: 8.605 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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],p2.s,p2.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 (164): * Single equations (assignments): 157 * 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.0006375/1.659, allocations: 218.5 kB / 0.6734 GB, free: 8.398 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01577/1.674, allocations: 5.789 MB / 0.679 GB, free: 3.328 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.674, allocations: 3.938 kB / 0.679 GB, free: 3.324 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006404/1.681, allocations: 2.143 MB / 0.6811 GB, free: 1.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/1.684, allocations: 445.7 kB / 0.6815 GB, free: 1.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2845/1.969, allocations: 12.81 MB / 0.694 GB, free: 92.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006555/1.975, allocations: 3.5 MB / 0.6975 GB, free: 91.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001602/1.977, allocations: 314.2 kB / 0.6978 GB, free: 91.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/1.977, allocations: 0 / 0.6978 GB, free: 91.23 MB / 426.7 MB Notification: Performance of Templates: time 0.1872/2.164, allocations: 130.8 MB / 0.8255 GB, free: 8.406 MB / 426.7 MB