Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.962/1.962, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.783e-05, allocations: 0 / 277.8 MB, free: 15.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09074/0.09079, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8197/0.9106, allocations: 288.5 MB / 0.6007 GB, free: 78.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.9108, allocations: 68.59 kB / 0.6007 GB, free: 78.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06655/0.9774, allocations: 20.14 MB / 0.6204 GB, free: 61.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.256e-06/0.9775, allocations: 4 kB / 0.6204 GB, free: 61.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.9775, allocations: 4 kB / 0.6204 GB, free: 61.67 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.001001/0.9785, allocations: 0.5474 MB / 0.6209 GB, free: 61.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.9786, allocations: 8.031 kB / 0.6209 GB, free: 61.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.9787, allocations: 23.81 kB / 0.621 GB, free: 61.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.979, allocations: 232.5 kB / 0.6212 GB, free: 60.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.9792, allocations: 138.4 kB / 0.6213 GB, free: 60.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.9792, allocations: 19.44 kB / 0.6213 GB, free: 60.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004918/0.9797, allocations: 314.1 kB / 0.6216 GB, free: 60.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.9798, allocations: 0 / 0.6216 GB, free: 60.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.9798, allocations: 15.5 kB / 0.6217 GB, free: 60.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.9798, allocations: 12 kB / 0.6217 GB, free: 60.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.9809, allocations: 0.7271 MB / 0.6224 GB, free: 59.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.9823, allocations: 1.164 MB / 0.6235 GB, free: 58.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.9827, allocations: 148.3 kB / 0.6237 GB, free: 58.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.9829, allocations: 78.22 kB / 0.6237 GB, free: 58.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002443/0.9853, allocations: 2.884 MB / 0.6265 GB, free: 55.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.9854, allocations: 34.06 kB / 0.6266 GB, free: 55.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 3.308e-06/0.9854, allocations: 0 / 0.6266 GB, free: 55.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007862/0.9862, allocations: 207.6 kB / 0.6268 GB, free: 54.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.9863, allocations: 59.41 kB / 0.6268 GB, free: 54.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.9865, allocations: 187.8 kB / 0.627 GB, free: 54.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.9865, allocations: 29.08 kB / 0.627 GB, free: 54.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.9866, allocations: 268.2 kB / 0.6273 GB, free: 54.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.9867, allocations: 65.88 kB / 0.6274 GB, free: 54.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.9867, allocations: 3.562 kB / 0.6274 GB, free: 54.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.287e-05/0.9868, allocations: 334.3 kB / 0.6277 GB, free: 54.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.9869, allocations: 43.31 kB / 0.6277 GB, free: 54.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.9871, allocations: 305.8 kB / 0.628 GB, free: 53.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.9873, allocations: 102.1 kB / 0.6281 GB, free: 53.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.361e-06/0.9873, allocations: 4 kB / 0.6281 GB, free: 53.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006768/0.988, allocations: 364 kB / 0.6285 GB, free: 53.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.988, allocations: 8 kB / 0.6285 GB, free: 53.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.9881, allocations: 8 kB / 0.6285 GB, free: 53.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.9881, allocations: 16 kB / 0.6285 GB, free: 53.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/0.9886, allocations: 107.4 kB / 0.6286 GB, free: 53.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/0.9887, allocations: 19.94 kB / 0.6286 GB, free: 53.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.9891, allocations: 23.53 kB / 0.6286 GB, free: 53.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.9891, allocations: 31.42 kB / 0.6287 GB, free: 53.02 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 () * 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.0001105/0.9892, allocations: 143.4 kB / 0.6288 GB, free: 52.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.689e-05/0.9893, allocations: 23.73 kB / 0.6288 GB, free: 52.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/0.9898, allocations: 177.2 kB / 0.629 GB, free: 52.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.9899, allocations: 4 kB / 0.629 GB, free: 52.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.9899, allocations: 0 / 0.629 GB, free: 52.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.9899, allocations: 7.984 kB / 0.629 GB, free: 52.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.9906, allocations: 451 kB / 0.6294 GB, free: 52.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.848e-06/0.9906, allocations: 0 / 0.6294 GB, free: 52.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.9909, allocations: 43.84 kB / 0.6295 GB, free: 52.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.511e-06/0.9909, allocations: 4 kB / 0.6295 GB, free: 52.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.991, allocations: 0 / 0.6295 GB, free: 52.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.991, allocations: 4 kB / 0.6295 GB, free: 52.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.353e-06/0.991, allocations: 4.062 kB / 0.6295 GB, free: 52.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.9913, allocations: 258.9 kB / 0.6297 GB, free: 51.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.9914, allocations: 112.7 kB / 0.6298 GB, free: 51.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.9915, allocations: 7.953 kB / 0.6298 GB, free: 51.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.9917, allocations: 15.42 kB / 0.6299 GB, free: 51.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.9918, allocations: 4 kB / 0.6299 GB, free: 51.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.9918, allocations: 11.98 kB / 0.6299 GB, free: 51.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.992, allocations: 143.6 kB / 0.63 GB, free: 51.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.23e-07/0.992, allocations: 4 kB / 0.63 GB, free: 51.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007292/0.9927, allocations: 99.31 kB / 0.6301 GB, free: 51.55 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 () * 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.0002969/0.993, allocations: 186.7 kB / 0.6303 GB, free: 51.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003954/0.9934, allocations: 171.3 kB / 0.6305 GB, free: 51.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.343e-06/0.9935, allocations: 4 kB / 0.6305 GB, free: 51.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.634e-05/0.9935, allocations: 38.73 kB / 0.6305 GB, free: 51.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.994, allocations: 48.08 kB / 0.6305 GB, free: 51.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/1.01, allocations: 5.461 MB / 0.6359 GB, free: 46.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/1.01, allocations: 0.7328 MB / 0.6366 GB, free: 46.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/1.01, allocations: 35.3 kB / 0.6366 GB, free: 46.07 MB / 426.7 MB Notification: Performance of SimCode: time 2.45e-06/1.01, allocations: 0 / 0.6366 GB, free: 46.07 MB / 426.7 MB Notification: Performance of Templates: time 0.006626/1.017, allocations: 3.616 MB / 0.6402 GB, free: 42.47 MB / 426.7 MB