Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Damper.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.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.078/1.078, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002614, allocations: 4 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05313/0.05341, allocations: 25.17 MB / 184 MB, free: 6.023 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.2549, allocations: 33.78 MB / 217.8 MB, free: 6.652 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.2552, allocations: 63.03 kB / 217.9 MB, free: 6.645 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.2692, allocations: 3.831 MB / 221.7 MB, free: 5.148 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2693, allocations: 0 / 221.7 MB, free: 5.148 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.2693, allocations: 3.844 kB / 221.7 MB, free: 5.148 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007064/0.27, allocations: 488.2 kB / 222.2 MB, free: 4.707 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.27, allocations: 15.56 kB / 222.2 MB, free: 4.699 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.2701, allocations: 27.25 kB / 222.2 MB, free: 4.688 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.2703, allocations: 197.9 kB / 222.4 MB, free: 4.465 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.2703, allocations: 18.81 kB / 222.4 MB, free: 4.465 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.2704, allocations: 18.41 kB / 222.5 MB, free: 4.465 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.2708, allocations: 221.1 kB / 222.7 MB, free: 4.375 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.2709, allocations: 11.8 kB / 222.7 MB, free: 4.363 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.908e-05/0.2709, allocations: 11.77 kB / 222.7 MB, free: 4.363 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2709, allocations: 7.844 kB / 222.7 MB, free: 4.359 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.2713, allocations: 140.5 kB / 222.8 MB, free: 4.336 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.2725, allocations: 0.7729 MB / 223.6 MB, free: 3.77 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005481/0.273, allocations: 262.6 kB / 223.9 MB, free: 3.664 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.2731, allocations: 0 / 223.9 MB, free: 3.664 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.2731, allocations: 38.25 kB / 223.9 MB, free: 3.625 MB / 170.7 MB Notification: Performance of pre-optimization done (n=28): time 3.096e-06/0.2731, allocations: 0 / 223.9 MB, free: 3.625 MB / 170.7 MB Notification: Performance of matching and sorting (n=40): time 0.003133/0.2763, allocations: 1.856 MB / 225.8 MB, free: 2.203 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.2763, allocations: 110.4 kB / 225.9 MB, free: 2.078 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.2765, allocations: 184.5 kB / 226.1 MB, free: 1.953 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.2766, allocations: 34.36 kB / 226.1 MB, free: 1.922 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.2767, allocations: 191.5 kB / 226.3 MB, free: 1.754 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.2768, allocations: 145.7 kB / 226.4 MB, free: 1.648 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.2768, allocations: 6.938 kB / 226.4 MB, free: 1.648 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.2769, allocations: 329.1 kB / 226.7 MB, free: 1.328 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.2771, allocations: 88.91 kB / 226.8 MB, free: 1.309 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.2773, allocations: 145.1 kB / 227 MB, free: 1.234 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.2776, allocations: 105.4 kB / 227.1 MB, free: 1.23 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2776, allocations: 0 / 227.1 MB, free: 1.23 MB / 170.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005981/0.2782, allocations: 303 kB / 227.4 MB, free: 1.152 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2782, allocations: 7.438 kB / 227.4 MB, free: 1.152 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2783, allocations: 0 / 227.4 MB, free: 1.152 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.2783, allocations: 3.875 kB / 227.4 MB, free: 1.152 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.2788, allocations: 86.8 kB / 227.5 MB, free: 1.137 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.2789, allocations: 7.438 kB / 227.5 MB, free: 1.133 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.279, allocations: 10.23 kB / 227.5 MB, free: 1.129 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.2791, allocations: 13.69 kB / 227.5 MB, free: 1.129 MB / 170.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.2792, allocations: 149.2 kB / 227.6 MB, free: 1.008 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2794, allocations: 23.72 kB / 227.7 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.823e-05/0.2795, allocations: 36.42 kB / 227.7 MB, free: 0.9844 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2795, allocations: 4.5 kB / 227.7 MB, free: 0.9844 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.2795, allocations: 1.5 kB / 227.7 MB, free: 0.9844 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.2795, allocations: 1.469 kB / 227.7 MB, free: 0.9844 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.2811, allocations: 1.014 MB / 228.7 MB, free: 308 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2811, allocations: 0 / 228.7 MB, free: 308 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000611/0.2817, allocations: 85.23 kB / 228.8 MB, free: 292 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.2817, allocations: 3.844 kB / 228.8 MB, free: 292 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.2818, allocations: 14.28 kB / 228.8 MB, free: 292 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/0.2818, allocations: 9.344 kB / 228.8 MB, free: 288 kB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2818, allocations: 3.844 kB / 228.8 MB, free: 288 kB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008909/0.2827, allocations: 0.6744 MB / 229.5 MB, free: 15.86 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-05/0.2828, allocations: 100.2 kB / 229.6 MB, free: 15.75 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.2829, allocations: 9.844 kB / 229.6 MB, free: 15.75 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.2832, allocations: 14.27 kB / 229.6 MB, free: 15.75 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.2832, allocations: 34.48 kB / 229.7 MB, free: 15.73 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.2833, allocations: 14.84 kB / 229.7 MB, free: 15.73 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000141/0.2834, allocations: 134.9 kB / 229.8 MB, free: 15.64 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2834, allocations: 3.938 kB / 229.8 MB, free: 15.64 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005521/0.284, allocations: 62.72 kB / 229.9 MB, free: 15.64 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * 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 (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001643/0.2842, allocations: 129.7 kB / 230 MB, free: 15.54 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005326/0.2847, allocations: 239.4 kB / 230.2 MB, free: 15.5 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2847, allocations: 4 kB / 230.2 MB, free: 15.49 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.285, allocations: 120.5 kB / 230.4 MB, free: 15.47 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/0.2857, allocations: 71.09 kB / 230.4 MB, free: 15.45 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.2877, allocations: 1.075 MB / 231.5 MB, free: 14.59 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.2881, allocations: 0.766 MB / 232.3 MB, free: 13.85 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.2882, allocations: 26.59 kB / 232.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2882, allocations: 0 / 232.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of Templates: time 0.007262/0.2955, allocations: 3.074 MB / 235.4 MB, free: 11.66 MB / 186.7 MB