Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.695/1.695, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000529/0.0005293, allocations: 8 kB / 233.8 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.09475, allocations: 38.76 MB / 272.6 MB, free: 11.56 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8547/0.9495, allocations: 263.2 MB / 0.5232 GB, free: 49.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.9498, allocations: 69.14 kB / 0.5233 GB, free: 49.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03312/0.983, allocations: 9.406 MB / 0.5325 GB, free: 41.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.983, allocations: 0 / 0.5325 GB, free: 41.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.983, allocations: 4 kB / 0.5325 GB, free: 41.38 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.001093/0.9841, allocations: 462.8 kB / 0.5329 GB, free: 40.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.9842, allocations: 8.031 kB / 0.5329 GB, free: 40.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.9844, allocations: 19.89 kB / 0.533 GB, free: 40.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.9847, allocations: 214.6 kB / 0.5332 GB, free: 40.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.9847, allocations: 7.844 kB / 0.5332 GB, free: 40.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.9848, allocations: 11.88 kB / 0.5332 GB, free: 40.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005386/0.9853, allocations: 226.8 kB / 0.5334 GB, free: 40.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.9854, allocations: 0 / 0.5334 GB, free: 40.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.9854, allocations: 7.688 kB / 0.5334 GB, free: 40.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.9854, allocations: 4 kB / 0.5334 GB, free: 40.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005202/0.986, allocations: 142.1 kB / 0.5335 GB, free: 40.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.9876, allocations: 0.9445 MB / 0.5345 GB, free: 39.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005668/0.9882, allocations: 149.2 kB / 0.5346 GB, free: 39.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005838/0.9888, allocations: 0.5067 MB / 0.5351 GB, free: 38.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.9888, allocations: 38.44 kB / 0.5351 GB, free: 38.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.415e-06/0.9888, allocations: 0 / 0.5351 GB, free: 38.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.003943/0.9928, allocations: 0.7563 MB / 0.5359 GB, free: 37.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.9928, allocations: 51.41 kB / 0.5359 GB, free: 37.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.993, allocations: 153.5 kB / 0.5361 GB, free: 37.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.993, allocations: 33.08 kB / 0.5361 GB, free: 37.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.9931, allocations: 148.8 kB / 0.5362 GB, free: 37.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.756e-05/0.9932, allocations: 67.95 kB / 0.5363 GB, free: 37.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.9932, allocations: 5.875 kB / 0.5363 GB, free: 37.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.323e-05/0.9933, allocations: 325.3 kB / 0.5366 GB, free: 37.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.9937, allocations: 78.81 kB / 0.5367 GB, free: 37.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.9942, allocations: 198.3 kB / 0.5369 GB, free: 36.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/0.9946, allocations: 106.8 kB / 0.537 GB, free: 36.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9946, allocations: 0 / 0.537 GB, free: 36.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001087/0.9957, allocations: 318.5 kB / 0.5373 GB, free: 36.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.9958, allocations: 8 kB / 0.5373 GB, free: 36.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.9958, allocations: 4 kB / 0.5373 GB, free: 36.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.9958, allocations: 8 kB / 0.5373 GB, free: 36.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/0.9965, allocations: 83.02 kB / 0.5374 GB, free: 36.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.9965, allocations: 7.938 kB / 0.5374 GB, free: 36.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003894/0.9969, allocations: 31.06 kB / 0.5374 GB, free: 36.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.647e-05/0.997, allocations: 19.97 kB / 0.5374 GB, free: 36.47 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.0001552/0.9971, allocations: 129.8 kB / 0.5376 GB, free: 36.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.9972, allocations: 11.91 kB / 0.5376 GB, free: 36.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.9982, allocations: 240.1 kB / 0.5378 GB, free: 36.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.9982, allocations: 4 kB / 0.5378 GB, free: 36.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9983, allocations: 0 / 0.5378 GB, free: 36.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.9983, allocations: 0 / 0.5378 GB, free: 36.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/1, allocations: 0.5986 MB / 0.5384 GB, free: 35.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1, allocations: 0 / 0.5384 GB, free: 35.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004832/1.001, allocations: 47.95 kB / 0.5384 GB, free: 35.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/1.001, allocations: 4.125 kB / 0.5385 GB, free: 35.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/1.001, allocations: 19.69 kB / 0.5385 GB, free: 35.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/1.001, allocations: 3.938 kB / 0.5385 GB, free: 35.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.001, allocations: 0 / 0.5385 GB, free: 35.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.002, allocations: 393.9 kB / 0.5388 GB, free: 35.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/1.002, allocations: 92.91 kB / 0.5389 GB, free: 35.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/1.002, allocations: 7.188 kB / 0.5389 GB, free: 35.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/1.002, allocations: 19.12 kB / 0.539 GB, free: 35.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/1.003, allocations: 18.92 kB / 0.539 GB, free: 35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/1.003, allocations: 8 kB / 0.539 GB, free: 34.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.573e-05/1.003, allocations: 108.9 kB / 0.5391 GB, free: 34.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/1.003, allocations: 0 / 0.5391 GB, free: 34.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005446/1.003, allocations: 65.56 kB / 0.5392 GB, free: 34.84 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.000249/1.003, allocations: 147.2 kB / 0.5393 GB, free: 34.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009026/1.004, allocations: 225.7 kB / 0.5395 GB, free: 34.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.004, allocations: 0 / 0.5395 GB, free: 34.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/1.005, allocations: 95.06 kB / 0.5396 GB, free: 34.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/1.005, allocations: 42.8 kB / 0.5396 GB, free: 34.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/1.007, allocations: 0.5482 MB / 0.5402 GB, free: 33.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/1.007, allocations: 0.7284 MB / 0.5409 GB, free: 33.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004931/1.007, allocations: 41.94 kB / 0.5409 GB, free: 33.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/1.007, allocations: 27.42 kB / 0.541 GB, free: 33.04 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/1.007, allocations: 0 / 0.541 GB, free: 33.04 MB / 362.7 MB Notification: Performance of Templates: time 0.008283/1.016, allocations: 2.729 MB / 0.5436 GB, free: 30.32 MB / 362.7 MB