Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.707/1.707, allocations: 171.1 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005659/0.0005658, allocations: 8 kB / 233.2 MB, free: 0.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1561, allocations: 38.78 MB / 272 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3176/0.4738, allocations: 84.72 MB / 356.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.4741, allocations: 88.44 kB / 356.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5411/1.015, allocations: 91.58 MB / 448.4 MB, free: 79.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.426e-06/1.015, allocations: 3.312 kB / 448.4 MB, free: 79.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002099/1.015, allocations: 88.59 kB / 448.5 MB, free: 79.04 MB / 346.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.01862/1.034, allocations: 4.861 MB / 453.4 MB, free: 77.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/1.034, allocations: 9.062 kB / 453.4 MB, free: 77.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/1.05, allocations: 2.667 MB / 456 MB, free: 76.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/1.066, allocations: 5.561 MB / 461.6 MB, free: 76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004155/1.067, allocations: 352.6 kB / 461.9 MB, free: 75.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001985/1.069, allocations: 462.5 kB / 462.4 MB, free: 75.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0304/1.099, allocations: 12.42 MB / 474.8 MB, free: 70.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002501/1.099, allocations: 72.66 kB / 474.9 MB, free: 70.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/1.101, allocations: 227.2 kB / 475.1 MB, free: 70.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00225/1.103, allocations: 1.176 MB / 476.3 MB, free: 70.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04348/1.147, allocations: 10.18 MB / 486.5 MB, free: 61.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08325/1.23, allocations: 52.33 MB / 0.5262 GB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01369/1.244, allocations: 4.061 MB / 0.5301 GB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01586/1.26, allocations: 7.395 MB / 0.5374 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.162e-05/1.26, allocations: 51.5 kB / 0.5374 GB, free: 12.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=165): time 5.776e-06/1.26, allocations: 0 / 0.5374 GB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=188): time 0.2643/1.524, allocations: 16.3 MB / 0.5533 GB, free: 86.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001275/1.526, allocations: 1.603 MB / 0.5549 GB, free: 84.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009732/1.535, allocations: 3.772 MB / 0.5586 GB, free: 84.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004349/1.536, allocations: 54.53 kB / 0.5586 GB, free: 84.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002707/1.539, allocations: 3.299 MB / 0.5618 GB, free: 82.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.54, allocations: 0.7498 MB / 0.5626 GB, free: 82.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006955/1.54, allocations: 130.8 kB / 0.5627 GB, free: 82.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005731/1.541, allocations: 0.5908 MB / 0.5633 GB, free: 82.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006234/1.547, allocations: 2.22 MB / 0.5654 GB, free: 82.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008669/1.556, allocations: 6.276 MB / 0.5716 GB, free: 76.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00831/1.564, allocations: 3.625 MB / 0.5751 GB, free: 76.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002429/1.565, allocations: 41.28 kB / 0.5752 GB, free: 76.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02344/1.588, allocations: 8.797 MB / 0.5837 GB, free: 74.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000143/1.588, allocations: 72.12 kB / 0.5838 GB, free: 74.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007619/1.596, allocations: 2.675 MB / 0.5864 GB, free: 73.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004095/1.6, allocations: 1.004 MB / 0.5874 GB, free: 73.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00699/1.607, allocations: 1.584 MB / 0.589 GB, free: 73.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/1.612, allocations: 4.043 MB / 0.5929 GB, free: 70.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007527/1.619, allocations: 0.5021 MB / 0.5934 GB, free: 70.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/1.621, allocations: 411.6 kB / 0.5938 GB, free: 70.1 MB / 362.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 (828): * Single equations (assignments): 819 * 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 {1} * 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.005753/1.627, allocations: 2.188 MB / 0.5959 GB, free: 69.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009509/1.628, allocations: 368 kB / 0.5963 GB, free: 68.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00921/1.637, allocations: 3.196 MB / 0.5994 GB, free: 67.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007343/1.644, allocations: 2.668 MB / 0.602 GB, free: 66.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/1.644, allocations: 3.406 kB / 0.602 GB, free: 66.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-05/1.644, allocations: 10.22 kB / 0.602 GB, free: 66.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02558/1.67, allocations: 10.01 MB / 0.6118 GB, free: 63.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/1.67, allocations: 11.09 kB / 0.6118 GB, free: 63.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002158/1.672, allocations: 347.9 kB / 0.6121 GB, free: 63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00416/1.676, allocations: 0.9801 MB / 0.6131 GB, free: 62.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004343/1.677, allocations: 59.52 kB / 0.6131 GB, free: 62.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006034/1.683, allocations: 4.673 MB / 0.6177 GB, free: 59.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001017/1.684, allocations: 1.473 MB / 0.6191 GB, free: 58.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/1.696, allocations: 7.21 MB / 0.6262 GB, free: 51.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0021/1.698, allocations: 0.6551 MB / 0.6268 GB, free: 51.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009837/1.699, allocations: 57.77 kB / 0.6269 GB, free: 51.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/1.702, allocations: 172.8 kB / 0.627 GB, free: 51.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005757/1.703, allocations: 160.4 kB / 0.6272 GB, free: 51.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/1.703, allocations: 70.56 kB / 0.6273 GB, free: 51.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00614/1.709, allocations: 2.614 MB / 0.6298 GB, free: 48.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.192e-06/1.709, allocations: 0 / 0.6298 GB, free: 48.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007745/1.717, allocations: 1.117 MB / 0.6309 GB, free: 47.76 MB / 362.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.0007386/1.718, allocations: 210.3 kB / 0.6311 GB, free: 47.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01209/1.73, allocations: 5.677 MB / 0.6367 GB, free: 42.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/1.73, allocations: 0 / 0.6367 GB, free: 42.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004707/1.735, allocations: 2.144 MB / 0.6387 GB, free: 40.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/1.738, allocations: 442.6 kB / 0.6392 GB, free: 40.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/1.761, allocations: 12.73 MB / 0.6516 GB, free: 28.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006881/1.768, allocations: 3.511 MB / 0.655 GB, free: 26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.769, allocations: 314.6 kB / 0.6553 GB, free: 25.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.725e-06/1.769, allocations: 0 / 0.6553 GB, free: 25.7 MB / 362.7 MB Notification: Performance of Templates: time 0.4021/2.171, allocations: 130.6 MB / 0.7828 GB, free: 9.961 MB / 362.7 MB