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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.6/1.6, allocations: 171.3 MB / 179.2 MB, free: 7.504 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.726e-05, allocations: 0 / 222.5 MB, free: 8.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07184/0.07189, allocations: 38.76 MB / 261.3 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2804/0.3523, allocations: 66.78 MB / 328.1 MB, free: 5.508 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3526, allocations: 75.27 kB / 328.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01505/0.3677, allocations: 3.669 MB / 331.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.308e-06/0.3677, allocations: 0 / 331.8 MB, free: 2.426 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.3678, allocations: 4 kB / 331.8 MB, free: 2.422 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.0007752/0.3685, allocations: 486 kB / 332.3 MB, free: 1.914 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.3686, allocations: 16.03 kB / 332.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.381e-05/0.3687, allocations: 27.72 kB / 332.3 MB, free: 1.871 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.369, allocations: 227.2 kB / 332.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.3691, allocations: 7.953 kB / 332.5 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.3691, allocations: 15.98 kB / 332.6 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003253/0.3695, allocations: 112 kB / 332.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.3699, allocations: 173.5 kB / 332.8 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3699, allocations: 3.906 kB / 332.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.3699, allocations: 0 / 332.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.195e-06/0.37, allocations: 12 kB / 332.9 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.3715, allocations: 0.7456 MB / 333.6 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/0.3719, allocations: 184.4 kB / 333.8 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.3722, allocations: 87.14 kB / 333.9 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3722, allocations: 0 / 333.9 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3723, allocations: 37 kB / 333.9 MB, free: 432 kB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.472e-06/0.3723, allocations: 2.734 kB / 333.9 MB, free: 432 kB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001532/0.3738, allocations: 0.7208 MB / 334.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.3739, allocations: 77.27 kB / 334.7 MB, free: 15.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.3741, allocations: 144.9 kB / 334.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.3741, allocations: 25.7 kB / 334.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3743, allocations: 200.8 kB / 335.1 MB, free: 15.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.3744, allocations: 96.91 kB / 335.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.3744, allocations: 0 / 335.2 MB, free: 15.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3746, allocations: 318.2 kB / 335.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3748, allocations: 45.81 kB / 335.5 MB, free: 14.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.3749, allocations: 93.39 kB / 335.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3751, allocations: 79.45 kB / 335.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.69e-06/0.3751, allocations: 0 / 335.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004416/0.3756, allocations: 181.2 kB / 335.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3756, allocations: 8 kB / 335.9 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.007e-06/0.3756, allocations: 0 / 335.9 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3757, allocations: 4 kB / 335.9 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.376, allocations: 59.91 kB / 335.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3761, allocations: 0 / 335.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.3762, allocations: 23.94 kB / 336 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.3763, allocations: 11.19 kB / 336 MB, free: 14.44 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 () * 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.0001162/0.3764, allocations: 108.9 kB / 336.1 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.3765, allocations: 19.81 kB / 336.1 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.382e-05/0.3766, allocations: 28.58 kB / 336.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.929e-06/0.3766, allocations: 0 / 336.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.611e-06/0.3766, allocations: 7.828 kB / 336.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.076e-06/0.3767, allocations: 0 / 336.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.3777, allocations: 0.522 MB / 336.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.685e-06/0.3777, allocations: 0 / 336.6 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.3781, allocations: 64 kB / 336.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.607e-06/0.3782, allocations: 0 / 336.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.3782, allocations: 4 kB / 336.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.148e-06/0.3782, allocations: 3.953 kB / 336.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.3782, allocations: 4 kB / 336.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/0.379, allocations: 493 kB / 337.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.3791, allocations: 107.6 kB / 337.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.306e-05/0.3792, allocations: 8 kB / 337.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.3794, allocations: 4 kB / 337.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/0.3795, allocations: 27.91 kB / 337.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.3796, allocations: 11.08 kB / 337.4 MB, free: 13.1 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.3797, allocations: 112.3 kB / 337.5 MB, free: 13 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.3797, allocations: 0 / 337.5 MB, free: 13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000503/0.3802, allocations: 44 kB / 337.5 MB, free: 12.96 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 () * 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.0001768/0.3804, allocations: 107.1 kB / 337.6 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.3808, allocations: 139.5 kB / 337.7 MB, free: 12.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.323e-06/0.3809, allocations: 4 kB / 337.8 MB, free: 12.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.381, allocations: 80.95 kB / 337.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.3815, allocations: 20.14 kB / 337.9 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.3829, allocations: 0.5685 MB / 338.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.3834, allocations: 0.7518 MB / 339.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.902e-05/0.3835, allocations: 23.44 kB / 339.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of SimCode: time 4.03e-06/0.3835, allocations: 0 / 339.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of Templates: time 0.005747/0.3893, allocations: 2.461 MB / 341.7 MB, free: 8.859 MB / 282.7 MB