Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 2.278/2.278, allocations: 234.9 MB / 251.1 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004324/0.0004326, allocations: 16 kB / 314.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3436, allocations: 54.87 MB / 369.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.37/1.714, allocations: 369.9 MB / 0.7224 GB, free: 113.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003921/1.714, allocations: 80.48 kB / 0.7225 GB, free: 113.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1091/1.823, allocations: 18.85 MB / 0.7409 GB, free: 97.63 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.818e-06/1.823, allocations: 0 / 0.7409 GB, free: 97.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.875e-05/1.823, allocations: 0 / 0.7409 GB, free: 97.63 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001941/1.825, allocations: 0.5753 MB / 0.7415 GB, free: 97.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/1.826, allocations: 8.031 kB / 0.7415 GB, free: 97.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/1.826, allocations: 31.67 kB / 0.7415 GB, free: 96.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/1.826, allocations: 224.6 kB / 0.7417 GB, free: 96.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/1.827, allocations: 130.4 kB / 0.7418 GB, free: 96.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/1.827, allocations: 23.19 kB / 0.7419 GB, free: 96.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/1.828, allocations: 331.8 kB / 0.7422 GB, free: 96.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/1.828, allocations: 0 / 0.7422 GB, free: 96.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/1.828, allocations: 11.19 kB / 0.7422 GB, free: 96.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/1.828, allocations: 11.94 kB / 0.7422 GB, free: 96.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/1.83, allocations: 0.7348 MB / 0.7429 GB, free: 95.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/1.832, allocations: 1.226 MB / 0.7441 GB, free: 94.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/1.833, allocations: 148.8 kB / 0.7442 GB, free: 94.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004501/1.837, allocations: 2.787 MB / 0.747 GB, free: 91.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/1.838, allocations: 34.52 kB / 0.747 GB, free: 91.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 4.569e-06/1.838, allocations: 4 kB / 0.747 GB, free: 91.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.000617/1.838, allocations: 134.9 kB / 0.7471 GB, free: 91.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/1.838, allocations: 55.39 kB / 0.7472 GB, free: 90.97 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/1.839, allocations: 207.2 kB / 0.7474 GB, free: 90.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/1.839, allocations: 29.27 kB / 0.7474 GB, free: 90.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000151/1.839, allocations: 271.9 kB / 0.7477 GB, free: 90.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/1.839, allocations: 57.97 kB / 0.7477 GB, free: 90.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/1.839, allocations: 7.625 kB / 0.7477 GB, free: 90.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.521e-05/1.839, allocations: 334 kB / 0.7481 GB, free: 90.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/1.839, allocations: 47.09 kB / 0.7481 GB, free: 90.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/1.84, allocations: 333.6 kB / 0.7484 GB, free: 89.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/1.84, allocations: 97.16 kB / 0.7485 GB, free: 89.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/1.84, allocations: 4 kB / 0.7485 GB, free: 89.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001204/1.841, allocations: 369.3 kB / 0.7489 GB, free: 89.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/1.841, allocations: 11.95 kB / 0.7489 GB, free: 89.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/1.841, allocations: 12 kB / 0.7489 GB, free: 89.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.464e-05/1.841, allocations: 16.78 kB / 0.7489 GB, free: 89.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/1.842, allocations: 107.2 kB / 0.749 GB, free: 89.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-05/1.842, allocations: 19.94 kB / 0.749 GB, free: 89.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/1.843, allocations: 54.88 kB / 0.7491 GB, free: 89.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/1.843, allocations: 31.8 kB / 0.7491 GB, free: 89.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0002629/1.843, allocations: 147.7 kB / 0.7492 GB, free: 88.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/1.843, allocations: 19.75 kB / 0.7493 GB, free: 88.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007395/1.844, allocations: 165.9 kB / 0.7494 GB, free: 88.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-05/1.844, allocations: 8 kB / 0.7494 GB, free: 88.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.844, allocations: 0 / 0.7494 GB, free: 88.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.844, allocations: 96 / 0.7494 GB, free: 88.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.845, allocations: 440.1 kB / 0.7499 GB, free: 88.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.845, allocations: 4 kB / 0.7499 GB, free: 88.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001931/1.846, allocations: 19.55 kB / 0.7499 GB, free: 88.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/1.846, allocations: 4.125 kB / 0.7499 GB, free: 88.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/1.846, allocations: 7.938 kB / 0.7499 GB, free: 88.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/1.846, allocations: 0 / 0.7499 GB, free: 88.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.846, allocations: 0 / 0.7499 GB, free: 88.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/1.846, allocations: 212.6 kB / 0.7501 GB, free: 87.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/1.846, allocations: 119.8 kB / 0.7502 GB, free: 87.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.847, allocations: 0 / 0.7502 GB, free: 87.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/1.847, allocations: 7.984 kB / 0.7502 GB, free: 87.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.648e-05/1.847, allocations: 7.562 kB / 0.7502 GB, free: 87.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/1.847, allocations: 4.188 kB / 0.7502 GB, free: 87.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002375/1.847, allocations: 154.4 kB / 0.7504 GB, free: 87.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.847, allocations: 3.938 kB / 0.7504 GB, free: 87.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001191/1.849, allocations: 106.3 kB / 0.7505 GB, free: 87.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 9 * Array equations: 1 * 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.0004088/1.849, allocations: 151.1 kB / 0.7506 GB, free: 87.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006653/1.85, allocations: 167.3 kB / 0.7508 GB, free: 87.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.85, allocations: 0 / 0.7508 GB, free: 87.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/1.85, allocations: 27.8 kB / 0.7508 GB, free: 87.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008172/1.851, allocations: 43.73 kB / 0.7508 GB, free: 87.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/1.876, allocations: 5.113 MB / 0.7558 GB, free: 83.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/1.877, allocations: 0.7287 MB / 0.7566 GB, free: 82.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.877, allocations: 30.67 kB / 0.7566 GB, free: 82.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.493e-06/1.877, allocations: 8 kB / 0.7566 GB, free: 82.29 MB / 490.7 MB Notification: Performance of Templates: time 0.01193/1.889, allocations: 3.27 MB / 0.7598 GB, free: 79.04 MB / 490.7 MB