Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.698/1.698, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 8 kB / 233.2 MB, free: 0.9375 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07227/0.07266, allocations: 38.78 MB / 272 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.278/0.3507, allocations: 67.51 MB / 339.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.351, allocations: 68.47 kB / 339.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01502/0.366, allocations: 3.7 MB / 343.3 MB, free: 11.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.173e-06/0.3661, allocations: 4 kB / 343.3 MB, free: 11.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.354e-05/0.3661, allocations: 4 kB / 343.3 MB, free: 11.76 MB / 282.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.0008157/0.3669, allocations: 0.491 MB / 343.8 MB, free: 11.22 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.367, allocations: 8.031 kB / 343.8 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.3671, allocations: 31.72 kB / 343.8 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.3674, allocations: 230.6 kB / 344.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.3675, allocations: 20.41 kB / 344.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.3675, allocations: 23.94 kB / 344.1 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005419/0.3681, allocations: 214.7 kB / 344.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3681, allocations: 0 / 344.3 MB, free: 10.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.3682, allocations: 12 kB / 344.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.3682, allocations: 8 kB / 344.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.3687, allocations: 156.5 kB / 344.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.3703, allocations: 0.8074 MB / 345.3 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.3708, allocations: 197 kB / 345.5 MB, free: 9.395 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.3709, allocations: 8 kB / 345.5 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.3709, allocations: 38.56 kB / 345.5 MB, free: 9.34 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 3.153e-06/0.371, allocations: 448 / 345.5 MB, free: 9.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.002243/0.3732, allocations: 0.8895 MB / 346.4 MB, free: 8.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.3733, allocations: 81.11 kB / 346.5 MB, free: 8.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.3735, allocations: 169.7 kB / 346.7 MB, free: 8.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.3736, allocations: 37.58 kB / 346.7 MB, free: 8.043 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.3737, allocations: 194.8 kB / 346.9 MB, free: 7.852 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.3738, allocations: 94.64 kB / 347 MB, free: 7.758 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.3739, allocations: 4 kB / 347 MB, free: 7.754 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3741, allocations: 322.8 kB / 347.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.3743, allocations: 67.97 kB / 347.4 MB, free: 7.363 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.3746, allocations: 116.2 kB / 347.5 MB, free: 7.234 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002571/0.3748, allocations: 85.02 kB / 347.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3749, allocations: 0 / 347.6 MB, free: 7.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006502/0.3755, allocations: 244.8 kB / 347.8 MB, free: 6.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.3756, allocations: 8 kB / 347.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3756, allocations: 0 / 347.8 MB, free: 6.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3756, allocations: 4 kB / 347.8 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.376, allocations: 71.95 kB / 347.9 MB, free: 6.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.376, allocations: 4.078 kB / 347.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.3762, allocations: 15.98 kB / 347.9 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.3762, allocations: 7.984 kB / 347.9 MB, free: 6.801 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.0001977/0.3764, allocations: 137.8 kB / 348 MB, free: 6.656 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.3765, allocations: 19.72 kB / 348.1 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.16e-05/0.3766, allocations: 33.86 kB / 348.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.372e-06/0.3766, allocations: 4 kB / 348.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/0.3767, allocations: 3.953 kB / 348.1 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.151e-06/0.3767, allocations: 4 kB / 348.1 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.3779, allocations: 0.5826 MB / 348.7 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.398e-06/0.378, allocations: 4 kB / 348.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.3783, allocations: 63.86 kB / 348.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.3784, allocations: 4 kB / 348.8 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.3784, allocations: 8 kB / 348.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.475e-06/0.3784, allocations: 0 / 348.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.598e-06/0.3784, allocations: 7.984 kB / 348.8 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009811/0.3794, allocations: 0.5401 MB / 349.3 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.3796, allocations: 105 kB / 349.4 MB, free: 5.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.3797, allocations: 11.98 kB / 349.4 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3799, allocations: 8 kB / 349.4 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.38, allocations: 27.92 kB / 349.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.38, allocations: 4 kB / 349.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.3802, allocations: 136.2 kB / 349.6 MB, free: 4.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.3802, allocations: 0 / 349.6 MB, free: 4.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005101/0.3807, allocations: 55.98 kB / 349.7 MB, free: 4.902 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.000167/0.3809, allocations: 107.2 kB / 349.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005878/0.3815, allocations: 187.7 kB / 349.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.301e-06/0.3815, allocations: 0 / 349.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002711/0.3818, allocations: 108.4 kB / 350.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.3823, allocations: 39.34 kB / 350.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.3841, allocations: 0.8556 MB / 350.9 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.3846, allocations: 0.7597 MB / 351.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.3847, allocations: 19.44 kB / 351.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of SimCode: time 1.711e-06/0.3847, allocations: 0 / 351.7 MB, free: 2.754 MB / 282.7 MB Notification: Performance of Templates: time 0.005651/0.3904, allocations: 2.525 MB / 354.3 MB, free: 236 kB / 282.7 MB