Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.011/1.011, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.0002552, allocations: 4 kB / 158.2 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04498/0.04526, allocations: 25.17 MB / 183.4 MB, free: 6.016 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002365/0.04766, allocations: 1.641 MB / 185.1 MB, free: 4.375 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004738/0.04817, allocations: 216.2 kB / 185.3 MB, free: 4.164 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.04829, allocations: 4 kB / 185.3 MB, free: 4.16 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 6.476e-05/0.04837, allocations: 23.83 kB / 185.3 MB, free: 4.137 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.04861, allocations: 91.69 kB / 185.4 MB, free: 4.047 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.04878, allocations: 35.95 kB / 185.4 MB, free: 4.012 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.04908, allocations: 183.6 kB / 185.6 MB, free: 3.832 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.04928, allocations: 77.33 kB / 185.7 MB, free: 3.754 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.04943, allocations: 79.72 kB / 185.8 MB, free: 3.676 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.04961, allocations: 95.55 kB / 185.8 MB, free: 3.582 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.04966, allocations: 12 kB / 185.9 MB, free: 3.57 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.53e-05/0.04972, allocations: 12 kB / 185.9 MB, free: 3.559 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.04978, allocations: 35.84 kB / 185.9 MB, free: 3.523 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.816e-05/0.04987, allocations: 69.58 kB / 186 MB, free: 3.449 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.05015, allocations: 199.7 kB / 186.2 MB, free: 3.254 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.827e-06/0.05016, allocations: 0 / 186.2 MB, free: 3.254 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.05018, allocations: 0 / 186.2 MB, free: 3.254 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.0502, allocations: 0 / 186.2 MB, free: 3.254 MB / 154.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.0007964/0.051, allocations: 498.9 kB / 186.7 MB, free: 2.719 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.05106, allocations: 8.031 kB / 186.7 MB, free: 2.711 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.655e-05/0.05113, allocations: 23.72 kB / 186.7 MB, free: 2.688 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.05144, allocations: 226.7 kB / 186.9 MB, free: 2.426 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.05148, allocations: 16.44 kB / 186.9 MB, free: 2.41 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.05155, allocations: 27.98 kB / 187 MB, free: 2.383 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.05205, allocations: 226.2 kB / 187.2 MB, free: 2.145 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.05209, allocations: 3.906 kB / 187.2 MB, free: 2.141 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.05213, allocations: 15.95 kB / 187.2 MB, free: 2.125 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.05215, allocations: 8 kB / 187.2 MB, free: 2.117 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.0525, allocations: 136.4 kB / 187.3 MB, free: 1.984 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001352/0.05386, allocations: 0.7705 MB / 188.1 MB, free: 1.156 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.05448, allocations: 263.5 kB / 188.4 MB, free: 0.8711 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.05452, allocations: 4.172 kB / 188.4 MB, free: 0.8672 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.05457, allocations: 38.5 kB / 188.4 MB, free: 0.8203 MB / 154.7 MB Notification: Performance of pre-optimization done (n=28): time 2.969e-06/0.05458, allocations: 4 kB / 188.4 MB, free: 0.8164 MB / 154.7 MB Notification: Performance of matching and sorting (n=40): time 0.003526/0.05811, allocations: 1.856 MB / 190.3 MB, free: 14.7 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.05824, allocations: 106.8 kB / 190.4 MB, free: 14.57 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.05848, allocations: 174.5 kB / 190.5 MB, free: 14.39 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.643e-05/0.05854, allocations: 29.7 kB / 190.6 MB, free: 14.35 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.05869, allocations: 203.1 kB / 190.8 MB, free: 14.15 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.05885, allocations: 145.8 kB / 190.9 MB, free: 14.01 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.05888, allocations: 11.94 kB / 190.9 MB, free: 14 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.05907, allocations: 330.8 kB / 191.2 MB, free: 13.66 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.05928, allocations: 80.84 kB / 191.3 MB, free: 13.59 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.05957, allocations: 142.3 kB / 191.5 MB, free: 13.43 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.05984, allocations: 104 kB / 191.6 MB, free: 13.32 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.05986, allocations: 0 / 191.6 MB, free: 13.32 MB / 170.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006631/0.06053, allocations: 300 kB / 191.9 MB, free: 13.03 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.06056, allocations: 4 kB / 191.9 MB, free: 13.02 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.0606, allocations: 4.094 kB / 191.9 MB, free: 13.02 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.06063, allocations: 7.938 kB / 191.9 MB, free: 13.01 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.06106, allocations: 87.84 kB / 192 MB, free: 12.93 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.06109, allocations: 8.094 kB / 192 MB, free: 12.92 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.06125, allocations: 8 kB / 192 MB, free: 12.91 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.0613, allocations: 16 kB / 192 MB, free: 12.89 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.0002105/0.06152, allocations: 145.7 kB / 192.1 MB, free: 12.74 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.06166, allocations: 27.7 kB / 192.2 MB, free: 12.71 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.305e-05/0.06175, allocations: 29.88 kB / 192.2 MB, free: 12.69 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.06177, allocations: 8 kB / 192.2 MB, free: 12.68 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.519e-06/0.06179, allocations: 0 / 192.2 MB, free: 12.68 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.06181, allocations: 8.016 kB / 192.2 MB, free: 12.67 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.0637, allocations: 1.007 MB / 193.2 MB, free: 11.58 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.375e-06/0.06374, allocations: 4 kB / 193.2 MB, free: 11.57 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/0.06423, allocations: 79.91 kB / 193.3 MB, free: 11.5 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/0.06426, allocations: 4 kB / 193.3 MB, free: 11.49 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.0643, allocations: 12.28 kB / 193.3 MB, free: 11.48 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.912e-05/0.06433, allocations: 7.938 kB / 193.3 MB, free: 11.47 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.88e-06/0.06435, allocations: 4 kB / 193.3 MB, free: 11.47 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.06536, allocations: 0.6667 MB / 194 MB, free: 10.75 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.0655, allocations: 104.9 kB / 194.1 MB, free: 10.63 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.06556, allocations: 12 kB / 194.1 MB, free: 10.62 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.06588, allocations: 12 kB / 194.1 MB, free: 10.61 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.06595, allocations: 31.84 kB / 194.1 MB, free: 10.57 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.066, allocations: 19.95 kB / 194.2 MB, free: 10.55 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.06617, allocations: 140.1 kB / 194.3 MB, free: 10.42 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.06618, allocations: 0 / 194.3 MB, free: 10.42 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006071/0.0668, allocations: 68.19 kB / 194.4 MB, free: 10.35 MB / 170.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,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.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.0001606/0.06697, allocations: 119.1 kB / 194.5 MB, free: 10.22 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0005678/0.06755, allocations: 243.8 kB / 194.7 MB, free: 9.984 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.789e-06/0.06757, allocations: 0 / 194.7 MB, free: 9.984 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.06783, allocations: 124 kB / 194.8 MB, free: 9.863 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006355/0.06848, allocations: 67.69 kB / 194.9 MB, free: 9.801 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.0704, allocations: 1.066 MB / 196 MB, free: 8.668 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.07092, allocations: 0.7689 MB / 196.7 MB, free: 7.875 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.07104, allocations: 31.44 kB / 196.8 MB, free: 7.844 MB / 170.7 MB Notification: Performance of SimCode: time 1.631e-06/0.07106, allocations: 0 / 196.8 MB, free: 7.844 MB / 170.7 MB Notification: Performance of Templates: time 0.006473/0.07754, allocations: 3.087 MB / 199.9 MB, free: 4.754 MB / 170.7 MB