Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 2.42/2.42, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005433/0.0005433, allocations: 8 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1277, allocations: 44.52 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4945/0.6222, allocations: 72.81 MB / 381.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/0.6226, allocations: 74.86 kB / 381.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.6382, allocations: 3.68 MB / 385.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6382, allocations: 0 / 385.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.6383, allocations: 7.906 kB / 385.6 MB, free: 14.88 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.0009147/0.6392, allocations: 497.7 kB / 386.1 MB, free: 14.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.6393, allocations: 13.19 kB / 386.1 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.455e-05/0.6394, allocations: 25.44 kB / 386.1 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.6397, allocations: 231.8 kB / 386.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.6397, allocations: 21.02 kB / 386.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-05/0.6398, allocations: 19.81 kB / 386.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006195/0.6404, allocations: 217.9 kB / 386.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.6404, allocations: 1.188 kB / 386.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.6405, allocations: 7.938 kB / 386.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.6405, allocations: 5 kB / 386.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.6411, allocations: 155.2 kB / 386.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.6427, allocations: 0.8055 MB / 387.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.6434, allocations: 211.3 kB / 387.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.6434, allocations: 2.656 kB / 387.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.6434, allocations: 35.91 kB / 387.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 3.386e-06/0.6435, allocations: 1.312 kB / 387.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.002352/0.6458, allocations: 0.8737 MB / 388.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.6459, allocations: 84.61 kB / 388.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.6461, allocations: 176.1 kB / 389 MB, free: 12.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.6462, allocations: 30.14 kB / 389 MB, free: 12.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.6463, allocations: 144.6 kB / 389.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.084e-05/0.6463, allocations: 89.56 kB / 389.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-05/0.6464, allocations: 7.875 kB / 389.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6465, allocations: 331.7 kB / 389.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.6468, allocations: 74.58 kB / 389.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.6471, allocations: 112.2 kB / 389.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.6473, allocations: 88.75 kB / 389.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6474, allocations: 0 / 389.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007138/0.6481, allocations: 252.6 kB / 390.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.6481, allocations: 6.906 kB / 390.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.6481, allocations: 1.359 kB / 390.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.6482, allocations: 2.5 kB / 390.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.6487, allocations: 66.94 kB / 390.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6487, allocations: 9.469 kB / 390.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.6489, allocations: 16.7 kB / 390.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.649, allocations: 15.28 kB / 390.2 MB, free: 12.24 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.000167/0.6491, allocations: 136.5 kB / 390.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.669e-05/0.6492, allocations: 19.27 kB / 390.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.973e-05/0.6493, allocations: 29.34 kB / 390.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.6493, allocations: 3.75 kB / 390.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.6493, allocations: 3.875 kB / 390.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6494, allocations: 1.547 kB / 390.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.6505, allocations: 0.5904 MB / 391 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.6505, allocations: 1.031 kB / 391 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005067/0.651, allocations: 61.92 kB / 391 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.651, allocations: 3.938 kB / 391 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.6511, allocations: 13.33 kB / 391 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.6511, allocations: 0 / 391 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6511, allocations: 3.719 kB / 391 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.652, allocations: 0.4972 MB / 391.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.6521, allocations: 92.8 kB / 391.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.212e-05/0.6521, allocations: 7.344 kB / 391.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.6524, allocations: 10.55 kB / 391.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.6525, allocations: 24.58 kB / 391.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.6525, allocations: 6.266 kB / 391.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.6526, allocations: 127.8 kB / 391.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6527, allocations: 3.938 kB / 391.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004787/0.6531, allocations: 51.52 kB / 391.9 MB, free: 11.32 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.0001329/0.6533, allocations: 105.7 kB / 392 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005892/0.6539, allocations: 194.5 kB / 392.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.6539, allocations: 1.188 kB / 392.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.6542, allocations: 102.1 kB / 392.3 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.6547, allocations: 38.95 kB / 392.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.6564, allocations: 0.8342 MB / 393.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.6566, allocations: 0.7519 MB / 393.9 MB, free: 9.938 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.6568, allocations: 20.05 kB / 393.9 MB, free: 9.938 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.6569, allocations: 22.69 kB / 393.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6569, allocations: 0 / 393.9 MB, free: 9.926 MB / 314.7 MB Notification: Performance of Templates: time 0.006607/0.6635, allocations: 1.788 MB / 395.7 MB, free: 9.777 MB / 314.7 MB