Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.781/1.781, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07941/0.0798, allocations: 44.51 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3761/0.456, allocations: 72.81 MB / 381.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4562, allocations: 69.83 kB / 381.3 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.4698, allocations: 3.678 MB / 385 MB, free: 18.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.058e-06/0.4698, allocations: 0 / 385 MB, free: 18.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.4698, allocations: 4.25 kB / 385 MB, free: 18.3 MB / 314.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.0006427/0.4705, allocations: 0.4897 MB / 385.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.4705, allocations: 8.25 kB / 385.5 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.4706, allocations: 29.91 kB / 385.5 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.4708, allocations: 239.1 kB / 385.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.4709, allocations: 19.05 kB / 385.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.4709, allocations: 20.69 kB / 385.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.4714, allocations: 217.5 kB / 386 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4715, allocations: 1.875 kB / 386 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.4715, allocations: 12.69 kB / 386 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.453e-06/0.4715, allocations: 5.312 kB / 386 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.472, allocations: 153 kB / 386.2 MB, free: 17.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.4733, allocations: 0.8028 MB / 387 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005015/0.4738, allocations: 208.4 kB / 387.2 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.4739, allocations: 3.062 kB / 387.2 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.4739, allocations: 32.31 kB / 387.2 MB, free: 17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.895e-06/0.4739, allocations: 0 / 387.2 MB, free: 17 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.001847/0.4758, allocations: 0.8841 MB / 388.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.4758, allocations: 82.92 kB / 388.2 MB, free: 16.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.476, allocations: 157.7 kB / 388.3 MB, free: 16.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.476, allocations: 29.45 kB / 388.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.4761, allocations: 206.1 kB / 388.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.4762, allocations: 89.09 kB / 388.7 MB, free: 16.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.4762, allocations: 8.875 kB / 388.7 MB, free: 16.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.4763, allocations: 322 kB / 389 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.4765, allocations: 67.84 kB / 389.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.4767, allocations: 109 kB / 389.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.4769, allocations: 93.73 kB / 389.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.599e-06/0.477, allocations: 1.531 kB / 389.3 MB, free: 15.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005583/0.4775, allocations: 241 kB / 389.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4776, allocations: 5.969 kB / 389.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.62e-06/0.4776, allocations: 4.172 kB / 389.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4776, allocations: 1.938 kB / 389.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.478, allocations: 65.38 kB / 389.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.368e-06/0.478, allocations: 1.812 kB / 389.6 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.4781, allocations: 22.7 kB / 389.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.4782, allocations: 9.281 kB / 389.6 MB, free: 15.6 MB / 314.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.0001347/0.4783, allocations: 138.1 kB / 389.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.4784, allocations: 21.92 kB / 389.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.418e-05/0.4785, allocations: 30.84 kB / 389.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.4785, allocations: 4 kB / 389.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.33e-06/0.4785, allocations: 3.938 kB / 389.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.4786, allocations: 2.391 kB / 389.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.4796, allocations: 0.5892 MB / 390.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.614e-06/0.4796, allocations: 1.344 kB / 390.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.48, allocations: 58.22 kB / 390.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.997e-06/0.4801, allocations: 2.844 kB / 390.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.4801, allocations: 13.44 kB / 390.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.278e-06/0.4801, allocations: 1.375 kB / 390.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.481e-06/0.4801, allocations: 2.812 kB / 390.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008391/0.481, allocations: 0.5406 MB / 391 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.4811, allocations: 99.67 kB / 391.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.4811, allocations: 10.61 kB / 391.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.4814, allocations: 12.77 kB / 391.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.4815, allocations: 14.89 kB / 391.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.4815, allocations: 9.5 kB / 391.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4816, allocations: 127.6 kB / 391.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.58e-06/0.4816, allocations: 0 / 391.3 MB, free: 14.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000485/0.4821, allocations: 53.19 kB / 391.3 MB, free: 14.6 MB / 314.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.000132/0.4823, allocations: 117.2 kB / 391.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.4828, allocations: 187.3 kB / 391.6 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4828, allocations: 0 / 391.6 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.483, allocations: 100.8 kB / 391.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.4835, allocations: 33.03 kB / 391.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.4849, allocations: 0.8549 MB / 392.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.4851, allocations: 0.7538 MB / 393.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.469e-05/0.4852, allocations: 19.19 kB / 393.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of SimCode: time 1.44e-06/0.4852, allocations: 3.875 kB / 393.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of Templates: time 0.00497/0.4902, allocations: 2.527 MB / 395.9 MB, free: 12.99 MB / 314.7 MB