Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 194.8 MB / 211.7 MB, free: 2.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 8 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09907, allocations: 44.52 MB / 309 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.5579, allocations: 73.3 MB / 382.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.5583, allocations: 71.55 kB / 382.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03073/0.589, allocations: 6.143 MB / 388.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5891, allocations: 1.547 kB / 388.5 MB, free: 14.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.5891, allocations: 0 / 388.5 MB, free: 14.96 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006761/0.5898, allocations: 424.2 kB / 389 MB, free: 14.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.5899, allocations: 11.34 kB / 389 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.5899, allocations: 79.19 kB / 389.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.5901, allocations: 253.5 kB / 389.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.5901, allocations: 150.6 kB / 389.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.5901, allocations: 152 kB / 389.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.586e-05/0.5902, allocations: 104.9 kB / 389.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.5902, allocations: 79.28 kB / 389.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.5903, allocations: 150.6 kB / 389.9 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.5903, allocations: 158.4 kB / 390.1 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.5903, allocations: 150.6 kB / 390.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.5906, allocations: 448.7 kB / 390.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.736e-05/0.5906, allocations: 177.8 kB / 390.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.5907, allocations: 79.28 kB / 390.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.5908, allocations: 45.55 kB / 391 MB, free: 12.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.635e-06/0.5908, allocations: 0 / 391 MB, free: 12.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.5909, allocations: 34.61 kB / 391 MB, free: 12.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.591, allocations: 56.75 kB / 391 MB, free: 12.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.5911, allocations: 99.17 kB / 391.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.936e-06/0.5911, allocations: 29.7 kB / 391.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.5911, allocations: 85.33 kB / 391.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.5911, allocations: 0 / 391.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.5911, allocations: 0 / 391.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.583e-05/0.5912, allocations: 314.6 kB / 391.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.507e-06/0.5912, allocations: 1.453 kB / 391.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.5912, allocations: 0 / 391.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.62e-05/0.5913, allocations: 3.781 kB / 391.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5913, allocations: 4.062 kB / 391.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.915e-05/0.5914, allocations: 37.81 kB / 391.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5914, allocations: 3.844 kB / 391.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.5914, allocations: 3.938 kB / 391.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.5914, allocations: 0 / 391.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.16e-05/0.5914, allocations: 5.484 kB / 391.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.5915, allocations: 3.938 kB / 391.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.5915, allocations: 0 / 391.6 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.5915, allocations: 0 / 391.6 MB, free: 11.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.246e-05/0.5916, allocations: 115.3 kB / 391.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.5916, allocations: 11.84 kB / 391.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.875e-05/0.5916, allocations: 7.828 kB / 391.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5917, allocations: 0 / 391.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5917, allocations: 3.875 kB / 391.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5917, allocations: 0 / 391.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.5918, allocations: 144.4 kB / 391.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5918, allocations: 0 / 391.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-06/0.5918, allocations: 0 / 391.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5918, allocations: 9.047 kB / 391.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-06/0.5918, allocations: 0 / 391.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5919, allocations: 4 kB / 391.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5919, allocations: 3.984 kB / 391.9 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.862e-05/0.5919, allocations: 57.78 kB / 392 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/0.592, allocations: 87.55 kB / 392.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.592, allocations: 3.953 kB / 392.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/0.592, allocations: 0 / 392.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.5921, allocations: 1.406 kB / 392.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.5921, allocations: 7.906 kB / 392.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.386e-05/0.5921, allocations: 80.27 kB / 392.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5921, allocations: 3.938 kB / 392.2 MB, free: 11.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007909/0.5929, allocations: 154.8 kB / 392.3 MB, free: 11.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.001255/0.5942, allocations: 497.1 kB / 392.8 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.392e-05/0.5943, allocations: 11.97 kB / 392.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5943, allocations: 0 / 392.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.687e-06/0.5943, allocations: 3.688 kB / 392.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.5945, allocations: 3.062 kB / 392.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002817/0.5948, allocations: 122.6 kB / 392.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.5949, allocations: 0.6773 MB / 393.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.003e-05/0.595, allocations: 13.05 kB / 393.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.595, allocations: 11.25 kB / 393.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of SimCode: time 8.91e-07/0.595, allocations: 0 / 393.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of Templates: time 0.008014/0.603, allocations: 2.66 MB / 396.3 MB, free: 9.883 MB / 314.7 MB