Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.1_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 1.892/1.892, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004383, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3828, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7338/1.117, allocations: 288.6 MB / 0.6059 GB, free: 10.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/1.117, allocations: 69.03 kB / 0.606 GB, free: 10.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3444/1.461, allocations: 20.18 MB / 0.6257 GB, free: 153.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.461, allocations: 0 / 0.6257 GB, free: 153.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/1.461, allocations: 2.719 kB / 0.6257 GB, free: 153.7 MB / 426.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.00132/1.463, allocations: 0.5621 MB / 0.6262 GB, free: 153.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.463, allocations: 14.66 kB / 0.6262 GB, free: 153.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/1.463, allocations: 31.19 kB / 0.6263 GB, free: 153.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/1.463, allocations: 222.4 kB / 0.6265 GB, free: 153 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/1.464, allocations: 127.1 kB / 0.6266 GB, free: 152.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/1.464, allocations: 18.44 kB / 0.6266 GB, free: 152.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/1.465, allocations: 331 kB / 0.6269 GB, free: 152.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/1.465, allocations: 4 kB / 0.6269 GB, free: 152.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.396e-05/1.465, allocations: 12.86 kB / 0.6269 GB, free: 152.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/1.465, allocations: 6.531 kB / 0.627 GB, free: 152.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/1.466, allocations: 0.7377 MB / 0.6277 GB, free: 152.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/1.468, allocations: 1.165 MB / 0.6288 GB, free: 152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/1.468, allocations: 147.6 kB / 0.629 GB, free: 151.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002773/1.471, allocations: 2.618 MB / 0.6315 GB, free: 149.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/1.471, allocations: 39.59 kB / 0.6315 GB, free: 149.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 3.347e-06/1.471, allocations: 1.312 kB / 0.6315 GB, free: 149.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.000988/1.472, allocations: 235.3 kB / 0.6318 GB, free: 149.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/1.472, allocations: 54.16 kB / 0.6318 GB, free: 149.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/1.472, allocations: 199.9 kB / 0.632 GB, free: 149 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/1.472, allocations: 30.64 kB / 0.632 GB, free: 148.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/1.472, allocations: 272.7 kB / 0.6323 GB, free: 148.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/1.472, allocations: 68.33 kB / 0.6324 GB, free: 148.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/1.473, allocations: 7.75 kB / 0.6324 GB, free: 148.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.015e-05/1.473, allocations: 333.2 kB / 0.6327 GB, free: 148.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/1.473, allocations: 47.02 kB / 0.6327 GB, free: 148.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/1.473, allocations: 310.7 kB / 0.633 GB, free: 148 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/1.473, allocations: 113.7 kB / 0.6331 GB, free: 148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.473, allocations: 3.031 kB / 0.6331 GB, free: 148 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008399/1.474, allocations: 365.3 kB / 0.6335 GB, free: 147.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/1.474, allocations: 8.656 kB / 0.6335 GB, free: 147.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/1.474, allocations: 9.188 kB / 0.6335 GB, free: 147.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.658e-05/1.474, allocations: 14.66 kB / 0.6335 GB, free: 147.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/1.475, allocations: 105.8 kB / 0.6336 GB, free: 147.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/1.475, allocations: 19.67 kB / 0.6336 GB, free: 147.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/1.475, allocations: 21.81 kB / 0.6337 GB, free: 147.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.613e-05/1.476, allocations: 24.47 kB / 0.6337 GB, free: 147.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001794/1.476, allocations: 165.3 kB / 0.6338 GB, free: 147.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/1.476, allocations: 19.22 kB / 0.6339 GB, free: 147.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006414/1.476, allocations: 180.8 kB / 0.634 GB, free: 147.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/1.476, allocations: 2.344 kB / 0.634 GB, free: 147.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.476, allocations: 1.031 kB / 0.634 GB, free: 147.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.477, allocations: 0 / 0.634 GB, free: 147.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007852/1.477, allocations: 467.4 kB / 0.6345 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.477, allocations: 1.188 kB / 0.6345 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/1.478, allocations: 30.2 kB / 0.6345 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/1.478, allocations: 1.469 kB / 0.6345 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/1.478, allocations: 8.219 kB / 0.6345 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/1.478, allocations: 4.984 kB / 0.6345 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.478, allocations: 5.094 kB / 0.6345 GB, free: 147.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/1.478, allocations: 225.1 kB / 0.6347 GB, free: 147.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/1.478, allocations: 119.5 kB / 0.6349 GB, free: 147 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.722e-05/1.478, allocations: 1.281 kB / 0.6349 GB, free: 147 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/1.479, allocations: 12.64 kB / 0.6349 GB, free: 147 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/1.479, allocations: 10.67 kB / 0.6349 GB, free: 147 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/1.479, allocations: 20.94 kB / 0.6349 GB, free: 147 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001585/1.479, allocations: 142 kB / 0.635 GB, free: 146.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.473e-06/1.479, allocations: 0 / 0.635 GB, free: 146.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007744/1.48, allocations: 111 kB / 0.6351 GB, free: 146.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 14 * 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.0003509/1.48, allocations: 176.5 kB / 0.6353 GB, free: 146.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005575/1.481, allocations: 175.3 kB / 0.6355 GB, free: 146.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.481, allocations: 0 / 0.6355 GB, free: 146.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/1.481, allocations: 46.45 kB / 0.6355 GB, free: 146.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/1.481, allocations: 60.25 kB / 0.6356 GB, free: 146.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01884/1.5, allocations: 5.803 MB / 0.6413 GB, free: 144.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/1.501, allocations: 0.7316 MB / 0.642 GB, free: 143.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/1.501, allocations: 34.7 kB / 0.642 GB, free: 143.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/1.501, allocations: 0 / 0.642 GB, free: 143.6 MB / 426.7 MB Notification: Performance of Templates: time 0.008335/1.509, allocations: 3.596 MB / 0.6455 GB, free: 141.7 MB / 426.7 MB