Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.892/1.892, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003644, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.107, allocations: 44.49 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4121/0.5191, allocations: 72.81 MB / 381.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5195, allocations: 73.52 kB / 381.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.5349, allocations: 3.677 MB / 385.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.535, allocations: 0 / 385.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/0.535, allocations: 4.812 kB / 385.5 MB, free: 14.34 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.0008824/0.5359, allocations: 495.8 kB / 386 MB, free: 13.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.536, allocations: 8.969 kB / 386 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.5361, allocations: 27.98 kB / 386.1 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.5364, allocations: 232.8 kB / 386.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.5364, allocations: 16.72 kB / 386.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.5365, allocations: 33.95 kB / 386.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.5371, allocations: 220.1 kB / 386.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5371, allocations: 3.594 kB / 386.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.5371, allocations: 8.219 kB / 386.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.5372, allocations: 4.469 kB / 386.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/0.5377, allocations: 154.1 kB / 386.7 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.5393, allocations: 0.7997 MB / 387.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/0.54, allocations: 208.8 kB / 387.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.54, allocations: 6.797 kB / 387.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.5401, allocations: 35.53 kB / 387.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 2.775e-06/0.5401, allocations: 1 kB / 387.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.002271/0.5424, allocations: 0.8715 MB / 388.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.5424, allocations: 79.77 kB / 388.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.5427, allocations: 177.6 kB / 388.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.5427, allocations: 30.2 kB / 388.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.5428, allocations: 202.5 kB / 389.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.013e-05/0.5429, allocations: 94.25 kB / 389.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.5429, allocations: 11.88 kB / 389.2 MB, free: 12.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.543, allocations: 318.8 kB / 389.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.5432, allocations: 74.06 kB / 389.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.5435, allocations: 116.3 kB / 389.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.5438, allocations: 78.94 kB / 389.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.5438, allocations: 0 / 389.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007205/0.5446, allocations: 245.5 kB / 390 MB, free: 11.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.5446, allocations: 5.438 kB / 390 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5446, allocations: 1.312 kB / 390 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.5447, allocations: 2.688 kB / 390 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.5451, allocations: 61.52 kB / 390.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.5452, allocations: 10.53 kB / 390.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.5454, allocations: 28.64 kB / 390.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.5455, allocations: 6.469 kB / 390.1 MB, free: 11.64 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.0001791/0.5457, allocations: 137.1 kB / 390.3 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.5457, allocations: 21.98 kB / 390.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.878e-05/0.5458, allocations: 30.05 kB / 390.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.5458, allocations: 3.938 kB / 390.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.5459, allocations: 0 / 390.3 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.5459, allocations: 8.516 kB / 390.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.5471, allocations: 0.5866 MB / 390.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.5471, allocations: 1.312 kB / 390.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005353/0.5476, allocations: 58.73 kB / 391 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.5477, allocations: 6.5 kB / 391 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.5477, allocations: 8.172 kB / 391 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.5477, allocations: 2.594 kB / 391 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5477, allocations: 1.281 kB / 391 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009874/0.5487, allocations: 0.5004 MB / 391.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.5488, allocations: 99.83 kB / 391.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.255e-05/0.5489, allocations: 9.328 kB / 391.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.5491, allocations: 9.391 kB / 391.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.5492, allocations: 18.25 kB / 391.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.5493, allocations: 14.75 kB / 391.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.5494, allocations: 125.9 kB / 391.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5494, allocations: 0 / 391.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004774/0.5499, allocations: 53.16 kB / 391.8 MB, free: 10.7 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.0001459/0.5501, allocations: 114.8 kB / 391.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005933/0.5507, allocations: 195.5 kB / 392.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5507, allocations: 1.188 kB / 392.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.551, allocations: 99.36 kB / 392.2 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.5515, allocations: 33.16 kB / 392.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.5532, allocations: 0.8613 MB / 393.1 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.5535, allocations: 0.7515 MB / 393.9 MB, free: 9.301 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.5536, allocations: 20.88 kB / 393.9 MB, free: 9.293 MB / 314.7 MB Notification: Performance of SimCode: time 1.492e-06/0.5536, allocations: 0 / 393.9 MB, free: 9.293 MB / 314.7 MB Notification: Performance of Templates: time 0.005924/0.5595, allocations: 2.516 MB / 396.4 MB, free: 9.098 MB / 314.7 MB