Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") Notification: Performance of loadModel(ModelicaTest): time 2.13/2.13, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.362e-05/2.375e-05, allocations: 3.984 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3059, allocations: 54.86 MB / 364.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.909/7.215, allocations: 2.909 GB / 3.265 GB, free: 162 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/7.215, allocations: 75.64 kB / 3.265 GB, free: 162 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.839/8.054, allocations: 211.3 MB / 3.471 GB, free: 103.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.706e-06/8.054, allocations: 0 / 3.471 GB, free: 103.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/8.054, allocations: 3.656 kB / 3.471 GB, free: 103.5 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.004093/8.058, allocations: 1.161 MB / 3.472 GB, free: 102.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/8.058, allocations: 11.72 kB / 3.472 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/8.058, allocations: 26.09 kB / 3.472 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/8.059, allocations: 222.2 kB / 3.472 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/8.059, allocations: 127.1 kB / 3.472 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.628e-05/8.059, allocations: 23.72 kB / 3.472 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/8.059, allocations: 316.8 kB / 3.473 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/8.059, allocations: 0 / 3.473 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/8.059, allocations: 10.53 kB / 3.473 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/8.059, allocations: 3.969 kB / 3.473 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000874/8.06, allocations: 0.7417 MB / 3.474 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/8.062, allocations: 1.221 MB / 3.475 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/8.062, allocations: 151.3 kB / 3.475 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/8.062, allocations: 87.14 kB / 3.475 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002693/8.065, allocations: 3.032 MB / 3.478 GB, free: 98.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/8.065, allocations: 33.78 kB / 3.478 GB, free: 98.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.975e-06/8.065, allocations: 0 / 3.478 GB, free: 98.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003048/8.065, allocations: 110 kB / 3.478 GB, free: 98.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/8.066, allocations: 51.41 kB / 3.478 GB, free: 98.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/8.066, allocations: 189.1 kB / 3.478 GB, free: 97.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/8.066, allocations: 33.45 kB / 3.478 GB, free: 97.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.366e-05/8.066, allocations: 282.6 kB / 3.479 GB, free: 97.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/8.066, allocations: 54.45 kB / 3.479 GB, free: 97.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/8.066, allocations: 7.781 kB / 3.479 GB, free: 97.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/8.066, allocations: 333.8 kB / 3.479 GB, free: 97.24 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.872e-05/8.066, allocations: 47.84 kB / 3.479 GB, free: 97.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/8.066, allocations: 330.4 kB / 3.479 GB, free: 96.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/8.066, allocations: 101 kB / 3.479 GB, free: 96.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.25e-06/8.067, allocations: 3.938 kB / 3.479 GB, free: 96.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006761/8.067, allocations: 371 kB / 3.48 GB, free: 96.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/8.067, allocations: 10.78 kB / 3.48 GB, free: 96.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/8.067, allocations: 10.44 kB / 3.48 GB, free: 96.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/8.067, allocations: 15.56 kB / 3.48 GB, free: 96.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/8.068, allocations: 97.64 kB / 3.48 GB, free: 96.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/8.068, allocations: 19.69 kB / 3.48 GB, free: 96.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/8.068, allocations: 53.78 kB / 3.48 GB, free: 96.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/8.068, allocations: 23.06 kB / 3.48 GB, free: 96.61 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 () * 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 9.103e-05/8.068, allocations: 143.6 kB / 3.48 GB, free: 96.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/8.068, allocations: 19.31 kB / 3.48 GB, free: 96.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/8.069, allocations: 174.7 kB / 3.48 GB, free: 96.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/8.069, allocations: 3.844 kB / 3.48 GB, free: 96.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-06/8.069, allocations: 0 / 3.48 GB, free: 96.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.196e-06/8.069, allocations: 0 / 3.48 GB, free: 96.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/8.069, allocations: 438.4 kB / 3.481 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.123e-06/8.069, allocations: 3.875 kB / 3.481 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.489e-05/8.07, allocations: 11.66 kB / 3.481 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.914e-06/8.07, allocations: 0 / 3.481 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/8.07, allocations: 3.562 kB / 3.481 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.61e-06/8.07, allocations: 3.906 kB / 3.481 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.836e-06/8.07, allocations: 7.469 kB / 3.481 GB, free: 95.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/8.07, allocations: 263.6 kB / 3.481 GB, free: 95.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/8.07, allocations: 117.5 kB / 3.481 GB, free: 95.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/8.07, allocations: 7.875 kB / 3.481 GB, free: 95.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/8.07, allocations: 3.625 kB / 3.481 GB, free: 95.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/8.07, allocations: 11.7 kB / 3.481 GB, free: 95.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/8.07, allocations: 11.59 kB / 3.481 GB, free: 95.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001307/8.07, allocations: 142.7 kB / 3.481 GB, free: 95.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.89e-07/8.07, allocations: 3.969 kB / 3.481 GB, free: 95.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008194/8.071, allocations: 118.7 kB / 3.481 GB, free: 95.46 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 () * 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.0003885/8.072, allocations: 284.5 kB / 3.482 GB, free: 95.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003298/8.072, allocations: 167.1 kB / 3.482 GB, free: 95.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/8.072, allocations: 0 / 3.482 GB, free: 95.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.456e-05/8.072, allocations: 27.03 kB / 3.482 GB, free: 95.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/8.073, allocations: 40.31 kB / 3.482 GB, free: 95.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2558/8.328, allocations: 97.98 MB / 3.578 GB, free: 38.44 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/8.329, allocations: 0.7326 MB / 3.578 GB, free: 37.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.189e-05/8.329, allocations: 31.44 kB / 3.578 GB, free: 37.64 MB / 490.7 MB Notification: Performance of SimCode: time 1.853e-06/8.329, allocations: 0 / 3.578 GB, free: 37.64 MB / 490.7 MB Notification: Performance of Templates: time 0.007105/8.336, allocations: 4.176 MB / 3.582 GB, free: 33.48 MB / 490.7 MB