Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003476, allocations: 8 kB / 233.8 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09554, allocations: 38.76 MB / 272.6 MB, free: 11.56 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3649/0.4605, allocations: 67.53 MB / 340.1 MB, free: 5.816 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.4609, allocations: 71.78 kB / 340.2 MB, free: 5.781 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01725/0.4782, allocations: 3.695 MB / 343.9 MB, free: 2.668 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4782, allocations: 2.516 kB / 343.9 MB, free: 2.668 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.936e-05/0.4782, allocations: 4 kB / 343.9 MB, free: 2.664 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.001037/0.4793, allocations: 0.4976 MB / 344.4 MB, free: 2.129 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4794, allocations: 16.02 kB / 344.4 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.4795, allocations: 24.41 kB / 344.4 MB, free: 2.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.4798, allocations: 233.1 kB / 344.7 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.4798, allocations: 21.8 kB / 344.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.4799, allocations: 17.75 kB / 344.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.4806, allocations: 217.3 kB / 344.9 MB, free: 1.645 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4806, allocations: 4 kB / 344.9 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.4806, allocations: 3.938 kB / 344.9 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.4807, allocations: 7.938 kB / 344.9 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005563/0.4812, allocations: 163.5 kB / 345.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.4831, allocations: 0.8114 MB / 345.9 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.4838, allocations: 200 kB / 346.1 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.4839, allocations: 4 kB / 346.1 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.4839, allocations: 34.56 kB / 346.1 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.786e-06/0.4839, allocations: 0 / 346.1 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.002664/0.4866, allocations: 0.8853 MB / 347 MB, free: 15.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.4867, allocations: 85.53 kB / 347.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.487, allocations: 184.3 kB / 347.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.4871, allocations: 25.7 kB / 347.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4872, allocations: 145.8 kB / 347.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.4873, allocations: 95.97 kB / 347.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.4874, allocations: 6.75 kB / 347.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.4875, allocations: 330.6 kB / 347.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.4878, allocations: 68.2 kB / 347.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.4881, allocations: 117.9 kB / 348.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/0.4885, allocations: 81.05 kB / 348.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4885, allocations: 0 / 348.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000779/0.4893, allocations: 255.3 kB / 348.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.4893, allocations: 4 kB / 348.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4894, allocations: 4 kB / 348.4 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.4894, allocations: 7.938 kB / 348.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.4899, allocations: 67.22 kB / 348.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4899, allocations: 4.094 kB / 348.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.4902, allocations: 11.25 kB / 348.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.4902, allocations: 8 kB / 348.5 MB, free: 14.38 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.0002058/0.4904, allocations: 137.8 kB / 348.6 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.4905, allocations: 23.72 kB / 348.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.267e-05/0.4907, allocations: 26.88 kB / 348.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.4907, allocations: 4 kB / 348.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.4907, allocations: 3.953 kB / 348.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.4907, allocations: 7.984 kB / 348.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.492, allocations: 0.5726 MB / 349.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.4921, allocations: 4.047 kB / 349.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.4926, allocations: 71.39 kB / 349.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/0.4927, allocations: 7.938 kB / 349.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.4927, allocations: 3.75 kB / 349.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.4927, allocations: 4 kB / 349.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.4927, allocations: 0 / 349.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4938, allocations: 0.4971 MB / 349.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.494, allocations: 120.1 kB / 350 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.4941, allocations: 4 kB / 350 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.4944, allocations: 11.75 kB / 350 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.4945, allocations: 19.41 kB / 350 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.4945, allocations: 11.19 kB / 350 MB, free: 12.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.4947, allocations: 133.9 kB / 350.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.375e-06/0.4947, allocations: 0 / 350.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004952/0.4952, allocations: 54.62 kB / 350.2 MB, free: 12.81 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.00018/0.4954, allocations: 110.1 kB / 350.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006884/0.4961, allocations: 186.5 kB / 350.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4962, allocations: 0 / 350.5 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.4965, allocations: 109.3 kB / 350.6 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.497, allocations: 33.39 kB / 350.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.4991, allocations: 0.8346 MB / 351.5 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.4996, allocations: 0.7559 MB / 352.2 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.4998, allocations: 25.94 kB / 352.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9e-05/0.4999, allocations: 19.44 kB / 352.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.4999, allocations: 0 / 352.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of Templates: time 0.007681/0.5076, allocations: 1.779 MB / 354 MB, free: 9.023 MB / 282.7 MB