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.673/1.673, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.636e-05, allocations: 4 kB / 228.8 MB, free: 15.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2106, allocations: 38.77 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.3138, allocations: 67.43 MB / 335 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.3141, allocations: 71.95 kB / 335.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01528/0.3294, allocations: 3.703 MB / 338.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.106e-06/0.3294, allocations: 0 / 338.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.166e-05/0.3295, allocations: 8 kB / 338.8 MB, free: 2.125 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.0007713/0.3302, allocations: 490.1 kB / 339.3 MB, free: 1.598 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3303, allocations: 12.03 kB / 339.3 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.3304, allocations: 23.72 kB / 339.3 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.3307, allocations: 222.7 kB / 339.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.3307, allocations: 24.38 kB / 339.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.3308, allocations: 16 kB / 339.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.3313, allocations: 201.3 kB / 339.8 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.3313, allocations: 7.906 kB / 339.8 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.3313, allocations: 8 kB / 339.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.752e-06/0.3314, allocations: 8 kB / 339.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.3317, allocations: 132.5 kB / 339.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.3333, allocations: 0.8036 MB / 340.7 MB, free: 36 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/0.3338, allocations: 181 kB / 340.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.3341, allocations: 97.69 kB / 341 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.3342, allocations: 4 kB / 341 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3342, allocations: 46.5 kB / 341 MB, free: 15.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 3.614e-06/0.3342, allocations: 0 / 341 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001731/0.336, allocations: 0.7668 MB / 341.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.3361, allocations: 81.11 kB / 341.9 MB, free: 14.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.3363, allocations: 161.9 kB / 342 MB, free: 14.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.3363, allocations: 33.7 kB / 342.1 MB, free: 14.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.3365, allocations: 202.8 kB / 342.3 MB, free: 14.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.3366, allocations: 90.66 kB / 342.4 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.3366, allocations: 4 kB / 342.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3368, allocations: 318.8 kB / 342.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.337, allocations: 55.98 kB / 342.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.3372, allocations: 96.28 kB / 342.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3374, allocations: 71.91 kB / 342.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-06/0.3374, allocations: 448 / 342.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005119/0.3379, allocations: 212.7 kB / 343.1 MB, free: 13.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.338, allocations: 6.031 kB / 343.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.838e-06/0.338, allocations: 4.094 kB / 343.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.338, allocations: 7.938 kB / 343.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.3384, allocations: 63.89 kB / 343.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.3384, allocations: 7.953 kB / 343.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.3387, allocations: 15.91 kB / 343.2 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.3388, allocations: 12 kB / 343.2 MB, free: 13.34 MB / 298.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.0001528/0.339, allocations: 112.9 kB / 343.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.3391, allocations: 23.81 kB / 343.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3393, allocations: 29.64 kB / 343.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.3393, allocations: 4 kB / 343.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.972e-06/0.3393, allocations: 0 / 343.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.3393, allocations: 3.953 kB / 343.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.3405, allocations: 0.5855 MB / 344 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.799e-06/0.3406, allocations: 4 kB / 344 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.341, allocations: 55.92 kB / 344 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.341, allocations: 4 kB / 344 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.341, allocations: 4 kB / 344 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.991e-06/0.341, allocations: 11.94 kB / 344.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.913e-06/0.3411, allocations: 3.938 kB / 344.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.3419, allocations: 0.496 MB / 344.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.3421, allocations: 116.9 kB / 344.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.3421, allocations: 7.938 kB / 344.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.3424, allocations: 12 kB / 344.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.3425, allocations: 19.92 kB / 344.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.3425, allocations: 12 kB / 344.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.3427, allocations: 132.3 kB / 344.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.3427, allocations: 0 / 344.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005048/0.3432, allocations: 59.98 kB / 344.9 MB, free: 11.51 MB / 298.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.0001635/0.3434, allocations: 103.2 kB / 345 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004215/0.3438, allocations: 159.8 kB / 345.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.968e-06/0.3438, allocations: 3.938 kB / 345.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.3441, allocations: 79.92 kB / 345.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.3445, allocations: 40.47 kB / 345.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3459, allocations: 0.5697 MB / 345.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.3464, allocations: 0.7482 MB / 346.6 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/0.3465, allocations: 27.42 kB / 346.6 MB, free: 9.703 MB / 298.7 MB Notification: Performance of SimCode: time 1.812e-06/0.3465, allocations: 0 / 346.6 MB, free: 9.703 MB / 298.7 MB Notification: Performance of Templates: time 0.005615/0.3521, allocations: 2.519 MB / 349.2 MB, free: 7.191 MB / 298.7 MB