Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.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.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.745/1.745, allocations: 171.2 MB / 187.3 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003585, allocations: 11.98 kB / 233.8 MB, free: 3.086 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08132/0.08171, allocations: 38.77 MB / 272.5 MB, free: 12.24 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3419/0.4236, allocations: 67.5 MB / 340.1 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.424, allocations: 77.89 kB / 340.1 MB, free: 6.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01678/0.4408, allocations: 3.695 MB / 343.8 MB, free: 3.348 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4408, allocations: 2.406 kB / 343.8 MB, free: 3.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.4408, allocations: 4 kB / 343.8 MB, free: 3.344 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.00105/0.4419, allocations: 0.5041 MB / 344.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.442, allocations: 12.03 kB / 344.3 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.458e-05/0.4421, allocations: 23.72 kB / 344.4 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.4424, allocations: 229 kB / 344.6 MB, free: 2.516 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.4424, allocations: 15.5 kB / 344.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.004e-05/0.4425, allocations: 19 kB / 344.6 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.4431, allocations: 221.1 kB / 344.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.4432, allocations: 7.984 kB / 344.8 MB, free: 2.316 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/0.4432, allocations: 11.75 kB / 344.9 MB, free: 2.312 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.4432, allocations: 4 kB / 344.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005548/0.4438, allocations: 156 kB / 345 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.4456, allocations: 0.8072 MB / 345.8 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.4463, allocations: 196.6 kB / 346 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.4464, allocations: 4.156 kB / 346 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.4464, allocations: 42.31 kB / 346.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 3.667e-06/0.4465, allocations: 0 / 346.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.002464/0.4489, allocations: 0.882 MB / 346.9 MB, free: 408 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.449, allocations: 85.11 kB / 347 MB, free: 304 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.4493, allocations: 179.3 kB / 347.2 MB, free: 136 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.4493, allocations: 33.58 kB / 347.2 MB, free: 100 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.4495, allocations: 200.7 kB / 347.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.4496, allocations: 93.33 kB / 347.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.4496, allocations: 3.812 kB / 347.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4498, allocations: 325.8 kB / 347.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.4501, allocations: 73.77 kB / 347.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.4504, allocations: 108.2 kB / 348 MB, free: 15.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.4507, allocations: 91.42 kB / 348.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4507, allocations: 0 / 348.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007186/0.4515, allocations: 237.6 kB / 348.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.4515, allocations: 10.34 kB / 348.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.4515, allocations: 96 / 348.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.4516, allocations: 15.94 kB / 348.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/0.4521, allocations: 63.89 kB / 348.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.4521, allocations: 4 kB / 348.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.4523, allocations: 19.5 kB / 348.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.4524, allocations: 4 kB / 348.5 MB, free: 15.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0002001/0.4526, allocations: 141.5 kB / 348.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.437e-05/0.4527, allocations: 19.72 kB / 348.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.062e-05/0.4528, allocations: 31.06 kB / 348.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4528, allocations: 7.938 kB / 348.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4528, allocations: 3.953 kB / 348.7 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4528, allocations: 7.984 kB / 348.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.4541, allocations: 0.5798 MB / 349.2 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.4542, allocations: 7.953 kB / 349.3 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.4547, allocations: 55.95 kB / 349.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.4548, allocations: 4 kB / 349.3 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.4548, allocations: 11.62 kB / 349.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.4548, allocations: 3.938 kB / 349.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4548, allocations: 4 kB / 349.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.4559, allocations: 0.4904 MB / 349.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.4561, allocations: 111.8 kB / 349.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.4562, allocations: 7.625 kB / 349.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.4565, allocations: 7.625 kB / 349.9 MB, free: 13.63 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.4566, allocations: 27.59 kB / 350 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.4566, allocations: 4 kB / 350 MB, free: 13.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001765/0.4568, allocations: 141 kB / 350.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4568, allocations: 3.938 kB / 350.1 MB, free: 13.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005023/0.4573, allocations: 51.25 kB / 350.2 MB, free: 13.44 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,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 (26): * Single equations (assignments): 26 * 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.0001818/0.4575, allocations: 106.7 kB / 350.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007338/0.4583, allocations: 187.2 kB / 350.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4583, allocations: 0 / 350.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.4586, allocations: 104.4 kB / 350.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.4592, allocations: 40.12 kB / 350.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.4612, allocations: 0.8627 MB / 351.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.4617, allocations: 0.7558 MB / 352.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.4619, allocations: 27.42 kB / 352.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4619, allocations: 0 / 352.2 MB, free: 11.4 MB / 282.7 MB Notification: Performance of Templates: time 0.007073/0.469, allocations: 2.509 MB / 354.7 MB, free: 8.922 MB / 282.7 MB