Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.SimpleLiquidWater.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.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.677/1.677, allocations: 171.2 MB / 187.3 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003682, allocations: 8 kB / 233.8 MB, free: 3.086 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09302/0.09341, allocations: 38.76 MB / 272.5 MB, free: 12.24 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8638/0.9573, allocations: 263.2 MB / 0.5231 GB, free: 49.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/0.9575, allocations: 68.02 kB / 0.5232 GB, free: 49.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03352/0.9911, allocations: 9.409 MB / 0.5324 GB, free: 42.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.9911, allocations: 0 / 0.5324 GB, free: 42.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.9911, allocations: 4 kB / 0.5324 GB, free: 42.14 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001079/0.9922, allocations: 462.7 kB / 0.5328 GB, free: 41.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.9923, allocations: 8.031 kB / 0.5329 GB, free: 41.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.9925, allocations: 19.89 kB / 0.5329 GB, free: 41.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.9928, allocations: 213.8 kB / 0.5331 GB, free: 41.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.9928, allocations: 7.344 kB / 0.5331 GB, free: 41.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.9929, allocations: 15.44 kB / 0.5331 GB, free: 41.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.9935, allocations: 221.9 kB / 0.5333 GB, free: 41.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.9935, allocations: 4 kB / 0.5333 GB, free: 41.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.9936, allocations: 7.25 kB / 0.5333 GB, free: 41.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.9936, allocations: 4 kB / 0.5333 GB, free: 41.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.9941, allocations: 148 kB / 0.5335 GB, free: 41.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.9957, allocations: 0.9353 MB / 0.5344 GB, free: 40.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.9964, allocations: 144.1 kB / 0.5345 GB, free: 40 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006305/0.997, allocations: 0.5127 MB / 0.535 GB, free: 39.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.9971, allocations: 33.88 kB / 0.5351 GB, free: 39.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.525e-06/0.9971, allocations: 0 / 0.5351 GB, free: 39.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.004124/1.001, allocations: 0.7534 MB / 0.5358 GB, free: 38.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/1.001, allocations: 55.34 kB / 0.5358 GB, free: 38.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/1.001, allocations: 159.2 kB / 0.536 GB, free: 38.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/1.001, allocations: 32.95 kB / 0.536 GB, free: 38.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/1.002, allocations: 217.1 kB / 0.5362 GB, free: 38.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/1.002, allocations: 69.2 kB / 0.5363 GB, free: 38.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/1.002, allocations: 3.562 kB / 0.5363 GB, free: 38.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.367e-05/1.002, allocations: 324 kB / 0.5366 GB, free: 37.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/1.002, allocations: 81.94 kB / 0.5367 GB, free: 37.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/1.003, allocations: 191.6 kB / 0.5369 GB, free: 37.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/1.003, allocations: 110.6 kB / 0.537 GB, free: 37.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.003, allocations: 0 / 0.537 GB, free: 37.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001083/1.004, allocations: 314.3 kB / 0.5373 GB, free: 37.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.004, allocations: 6.031 kB / 0.5373 GB, free: 37.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.004, allocations: 4 kB / 0.5373 GB, free: 37.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/1.004, allocations: 8 kB / 0.5373 GB, free: 37.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/1.005, allocations: 83.77 kB / 0.5374 GB, free: 37.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/1.005, allocations: 8.25 kB / 0.5374 GB, free: 37.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/1.005, allocations: 19.75 kB / 0.5374 GB, free: 37.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/1.006, allocations: 19.88 kB / 0.5374 GB, free: 37.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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.0001553/1.006, allocations: 141.1 kB / 0.5376 GB, free: 37.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/1.006, allocations: 15.81 kB / 0.5376 GB, free: 37.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/1.007, allocations: 239.2 kB / 0.5378 GB, free: 36.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.007, allocations: 0 / 0.5378 GB, free: 36.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.007, allocations: 0 / 0.5378 GB, free: 36.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/1.007, allocations: 0 / 0.5378 GB, free: 36.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/1.009, allocations: 0.5954 MB / 0.5384 GB, free: 36.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.009, allocations: 0 / 0.5384 GB, free: 36.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/1.009, allocations: 56.02 kB / 0.5384 GB, free: 36.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/1.009, allocations: 4 kB / 0.5384 GB, free: 36.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/1.009, allocations: 15.62 kB / 0.5384 GB, free: 36.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/1.009, allocations: 0 / 0.5384 GB, free: 36.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.009, allocations: 4 kB / 0.5385 GB, free: 36.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/1.011, allocations: 394 kB / 0.5388 GB, free: 35.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/1.011, allocations: 92.94 kB / 0.5389 GB, free: 35.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/1.011, allocations: 7.875 kB / 0.5389 GB, free: 35.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/1.011, allocations: 23.88 kB / 0.5389 GB, free: 35.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/1.011, allocations: 7.984 kB / 0.539 GB, free: 35.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/1.011, allocations: 11.69 kB / 0.539 GB, free: 35.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.234e-05/1.011, allocations: 109.9 kB / 0.5391 GB, free: 35.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.011, allocations: 0 / 0.5391 GB, free: 35.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005273/1.012, allocations: 67.69 kB / 0.5391 GB, free: 35.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.0002708/1.012, allocations: 151.1 kB / 0.5393 GB, free: 35.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009466/1.013, allocations: 220.7 kB / 0.5395 GB, free: 35.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.013, allocations: 0.9375 kB / 0.5395 GB, free: 35.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004021/1.014, allocations: 98.88 kB / 0.5396 GB, free: 35.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/1.014, allocations: 35.55 kB / 0.5396 GB, free: 35.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/1.016, allocations: 0.5814 MB / 0.5402 GB, free: 34.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/1.016, allocations: 0.7167 MB / 0.5409 GB, free: 33.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/1.016, allocations: 35.23 kB / 0.5409 GB, free: 33.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/1.016, allocations: 0 / 0.5409 GB, free: 33.75 MB / 362.7 MB Notification: Performance of Templates: time 0.00655/1.023, allocations: 2.722 MB / 0.5436 GB, free: 31.03 MB / 362.7 MB