Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.623/1.623, allocations: 171.2 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003469, allocations: 8 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0819/0.08228, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3526/0.4349, allocations: 84.73 MB / 357.3 MB, free: 5.453 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.4353, allocations: 92.42 kB / 357.4 MB, free: 5.406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6309/1.066, allocations: 92.42 MB / 449.8 MB, free: 72.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.066, allocations: 0 / 449.8 MB, free: 72.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003238/1.067, allocations: 92.38 kB / 449.9 MB, free: 72.2 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.0325/1.099, allocations: 4.872 MB / 454.7 MB, free: 70.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.099, allocations: 7.75 kB / 454.8 MB, free: 70.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02771/1.127, allocations: 2.665 MB / 457.4 MB, free: 69.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02008/1.147, allocations: 5.564 MB / 463 MB, free: 69.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004472/1.148, allocations: 347.5 kB / 463.3 MB, free: 69.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002509/1.15, allocations: 470.4 kB / 463.8 MB, free: 69.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03939/1.19, allocations: 12.45 MB / 476.2 MB, free: 66.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003165/1.19, allocations: 65.62 kB / 476.3 MB, free: 66.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002078/1.192, allocations: 228.5 kB / 476.5 MB, free: 66.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002978/1.195, allocations: 1.177 MB / 477.7 MB, free: 66.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03489/1.23, allocations: 10.18 MB / 487.9 MB, free: 64.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07543/1.305, allocations: 52.32 MB / 0.5275 GB, free: 17.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/1.323, allocations: 4.066 MB / 0.5315 GB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02388/1.347, allocations: 7.393 MB / 0.5387 GB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.891e-05/1.347, allocations: 55.55 kB / 0.5388 GB, free: 5.238 MB / 346.7 MB Notification: Performance of pre-optimization done (n=165): time 7.063e-06/1.347, allocations: 0 / 0.5388 GB, free: 5.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=188): time 0.09715/1.444, allocations: 16.21 MB / 0.5546 GB, free: 4.777 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001936/1.446, allocations: 1.607 MB / 0.5562 GB, free: 3.008 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2602/1.707, allocations: 4.209 MB / 0.5603 GB, free: 80.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006993/1.707, allocations: 51.2 kB / 0.5603 GB, free: 80.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004445/1.712, allocations: 3.305 MB / 0.5636 GB, free: 79.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001507/1.713, allocations: 0.7494 MB / 0.5643 GB, free: 79.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008923/1.714, allocations: 128.8 kB / 0.5644 GB, free: 79.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000699/1.715, allocations: 0.5932 MB / 0.565 GB, free: 79.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007624/1.723, allocations: 2.224 MB / 0.5672 GB, free: 79.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/1.734, allocations: 6.299 MB / 0.5733 GB, free: 73.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.744, allocations: 3.622 MB / 0.5769 GB, free: 73.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002728/1.745, allocations: 42.94 kB / 0.5769 GB, free: 73.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02683/1.772, allocations: 8.798 MB / 0.5855 GB, free: 73.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/1.772, allocations: 68.19 kB / 0.5856 GB, free: 73.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009049/1.781, allocations: 2.678 MB / 0.5882 GB, free: 72.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004931/1.786, allocations: 1.001 MB / 0.5892 GB, free: 72.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009497/1.795, allocations: 1.591 MB / 0.5907 GB, free: 72.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005138/1.801, allocations: 4.029 MB / 0.5946 GB, free: 70.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008743/1.809, allocations: 0.4987 MB / 0.5951 GB, free: 70.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001597/1.811, allocations: 408.9 kB / 0.5955 GB, free: 70.11 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.006421/1.817, allocations: 2.179 MB / 0.5976 GB, free: 69.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.818, allocations: 373.5 kB / 0.598 GB, free: 69.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/1.83, allocations: 3.2 MB / 0.6011 GB, free: 68.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009294/1.839, allocations: 2.658 MB / 0.6037 GB, free: 67.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-05/1.839, allocations: 4.625 kB / 0.6037 GB, free: 67.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.402e-05/1.839, allocations: 12.81 kB / 0.6037 GB, free: 67.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03037/1.869, allocations: 10.01 MB / 0.6135 GB, free: 63.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.15e-05/1.87, allocations: 12.59 kB / 0.6135 GB, free: 63.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/1.873, allocations: 346.1 kB / 0.6139 GB, free: 63.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005224/1.878, allocations: 0.9721 MB / 0.6148 GB, free: 63.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004899/1.878, allocations: 64.61 kB / 0.6149 GB, free: 63.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007334/1.886, allocations: 4.684 MB / 0.6194 GB, free: 60 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00116/1.887, allocations: 1.472 MB / 0.6209 GB, free: 58.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/1.902, allocations: 5.734 MB / 0.6265 GB, free: 55.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/1.904, allocations: 0.6522 MB / 0.6271 GB, free: 55.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00131/1.906, allocations: 59.89 kB / 0.6272 GB, free: 55.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003912/1.91, allocations: 174.6 kB / 0.6273 GB, free: 55.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006464/1.91, allocations: 157.5 kB / 0.6275 GB, free: 55.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.911, allocations: 70.98 kB / 0.6276 GB, free: 55.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.007423/1.918, allocations: 2.618 MB / 0.6301 GB, free: 54.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.32e-07/1.918, allocations: 0 / 0.6301 GB, free: 54.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00805/1.926, allocations: 1.109 MB / 0.6312 GB, free: 54.42 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.0008938/1.927, allocations: 220.6 kB / 0.6314 GB, free: 54.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01569/1.943, allocations: 5.662 MB / 0.6369 GB, free: 49.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.943, allocations: 8 kB / 0.6369 GB, free: 49.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006549/1.949, allocations: 2.136 MB / 0.639 GB, free: 47.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/1.953, allocations: 447.1 kB / 0.6395 GB, free: 47.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02816/1.982, allocations: 12.77 MB / 0.6519 GB, free: 35.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007201/1.989, allocations: 3.502 MB / 0.6553 GB, free: 32.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/1.99, allocations: 318 kB / 0.6556 GB, free: 32.59 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/1.99, allocations: 0 / 0.6556 GB, free: 32.59 MB / 362.7 MB Notification: Performance of Templates: time 0.4812/2.472, allocations: 130.6 MB / 0.7832 GB, free: 34.57 MB / 378.7 MB