Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.567/1.567, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003654, allocations: 8 kB / 233.2 MB, free: 0.9414 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0727/0.07309, allocations: 38.77 MB / 272 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6776/0.7508, allocations: 263.2 MB / 0.5226 GB, free: 13.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001774/0.751, allocations: 66.22 kB / 0.5227 GB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02941/0.7804, allocations: 9.409 MB / 0.5319 GB, free: 5.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.517e-06/0.7805, allocations: 0 / 0.5319 GB, free: 5.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.7805, allocations: 4 kB / 0.5319 GB, free: 5.281 MB / 346.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.00083/0.7814, allocations: 459.5 kB / 0.5323 GB, free: 4.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.7814, allocations: 8.031 kB / 0.5323 GB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.7816, allocations: 19.89 kB / 0.5324 GB, free: 4.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.7819, allocations: 210.8 kB / 0.5326 GB, free: 4.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.7819, allocations: 8.281 kB / 0.5326 GB, free: 4.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.7819, allocations: 16 kB / 0.5326 GB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.7824, allocations: 216.5 kB / 0.5328 GB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.7824, allocations: 4 kB / 0.5328 GB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.7825, allocations: 4 kB / 0.5328 GB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.607e-06/0.7825, allocations: 4 kB / 0.5328 GB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.7829, allocations: 143.8 kB / 0.5329 GB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.7843, allocations: 0.9445 MB / 0.5339 GB, free: 3.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.7848, allocations: 142.8 kB / 0.534 GB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000602/0.7854, allocations: 0.5112 MB / 0.5345 GB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.7855, allocations: 34.56 kB / 0.5345 GB, free: 2.312 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.527e-06/0.7855, allocations: 0 / 0.5345 GB, free: 2.312 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.002916/0.7884, allocations: 0.7612 MB / 0.5353 GB, free: 1.496 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.7885, allocations: 51.41 kB / 0.5353 GB, free: 1.434 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.7886, allocations: 142 kB / 0.5355 GB, free: 1.281 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.7887, allocations: 29.7 kB / 0.5355 GB, free: 1.246 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.7887, allocations: 218.2 kB / 0.5357 GB, free: 1.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.7888, allocations: 67 kB / 0.5358 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.7888, allocations: 4 kB / 0.5358 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.807e-05/0.7889, allocations: 326.8 kB / 0.5361 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.7892, allocations: 79.94 kB / 0.5361 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.7895, allocations: 194.9 kB / 0.5363 GB, free: 324 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.7898, allocations: 106 kB / 0.5364 GB, free: 220 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.562e-06/0.7899, allocations: 0 / 0.5364 GB, free: 220 kB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.1819/0.9717, allocations: 309.7 kB / 0.5367 GB, free: 118 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.9718, allocations: 6.922 kB / 0.5367 GB, free: 118 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.9718, allocations: 3.688 kB / 0.5367 GB, free: 118 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.9719, allocations: 6.953 kB / 0.5367 GB, free: 118 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/0.9724, allocations: 90.97 kB / 0.5368 GB, free: 118 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.9724, allocations: 7.172 kB / 0.5368 GB, free: 118 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.9727, allocations: 17.52 kB / 0.5369 GB, free: 118 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.9728, allocations: 17.78 kB / 0.5369 GB, free: 118 MB / 346.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.0001514/0.973, allocations: 132.6 kB / 0.537 GB, free: 117.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.9731, allocations: 14.34 kB / 0.537 GB, free: 117.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008611/0.9739, allocations: 241.7 kB / 0.5372 GB, free: 117.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.838e-06/0.974, allocations: 4.016 kB / 0.5372 GB, free: 117.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.349e-06/0.974, allocations: 1.594 kB / 0.5372 GB, free: 117.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.68e-06/0.974, allocations: 1.125 kB / 0.5372 GB, free: 117.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.9757, allocations: 0.5961 MB / 0.5378 GB, free: 117.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-06/0.9758, allocations: 0 / 0.5378 GB, free: 117.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.9762, allocations: 52.06 kB / 0.5379 GB, free: 117.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.9762, allocations: 8.422 kB / 0.5379 GB, free: 117.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.9763, allocations: 8.297 kB / 0.5379 GB, free: 117.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.538e-06/0.9763, allocations: 4.047 kB / 0.5379 GB, free: 117.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.323e-06/0.9763, allocations: 2.281 kB / 0.5379 GB, free: 117.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.9774, allocations: 454 kB / 0.5383 GB, free: 117.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.9775, allocations: 89.27 kB / 0.5384 GB, free: 117.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.9776, allocations: 5.641 kB / 0.5384 GB, free: 117.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.9779, allocations: 14.61 kB / 0.5384 GB, free: 117.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.9779, allocations: 19.06 kB / 0.5385 GB, free: 117.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.978, allocations: 15.09 kB / 0.5385 GB, free: 117.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.9781, allocations: 108.5 kB / 0.5386 GB, free: 117.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.752e-06/0.9781, allocations: 3.469 kB / 0.5386 GB, free: 117.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005497/0.9787, allocations: 63.3 kB / 0.5386 GB, free: 117.1 MB / 346.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.0002423/0.9789, allocations: 150.7 kB / 0.5388 GB, free: 117.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007454/0.9797, allocations: 219.5 kB / 0.539 GB, free: 117.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.697e-06/0.9797, allocations: 3.406 kB / 0.539 GB, free: 117.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.98, allocations: 95.23 kB / 0.5391 GB, free: 117.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003931/0.9804, allocations: 30.44 kB / 0.5391 GB, free: 117.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.9817, allocations: 0.5776 MB / 0.5397 GB, free: 116.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.9819, allocations: 0.7243 MB / 0.5404 GB, free: 116.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.982, allocations: 28.25 kB / 0.5404 GB, free: 116.1 MB / 346.7 MB Notification: Performance of SimCode: time 2.391e-06/0.9821, allocations: 0 / 0.5404 GB, free: 116.1 MB / 346.7 MB Notification: Performance of Templates: time 0.006525/0.9886, allocations: 2.734 MB / 0.5431 GB, free: 115.9 MB / 346.7 MB