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.LinearColdWater.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.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.222/2.222, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.599e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3185, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9387/1.257, allocations: 369.9 MB / 0.7172 GB, free: 146.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/1.258, allocations: 69.06 kB / 0.7173 GB, free: 146.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06267/1.32, allocations: 18.8 MB / 0.7356 GB, free: 145.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.033e-06/1.32, allocations: 3.938 kB / 0.7356 GB, free: 145.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/1.32, allocations: 7.734 kB / 0.7356 GB, free: 145.3 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.00104/1.321, allocations: 0.5643 MB / 0.7362 GB, free: 144.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/1.321, allocations: 7.719 kB / 0.7362 GB, free: 144.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/1.322, allocations: 31.05 kB / 0.7362 GB, free: 144.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/1.322, allocations: 231.1 kB / 0.7364 GB, free: 144.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/1.322, allocations: 126.1 kB / 0.7366 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/1.322, allocations: 22.56 kB / 0.7366 GB, free: 144.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/1.322, allocations: 316.3 kB / 0.7369 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/1.322, allocations: 3.938 kB / 0.7369 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/1.323, allocations: 10.81 kB / 0.7369 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/1.323, allocations: 7.891 kB / 0.7369 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/1.323, allocations: 0.7355 MB / 0.7376 GB, free: 144.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/1.325, allocations: 1.223 MB / 0.7388 GB, free: 143.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/1.325, allocations: 157 kB / 0.739 GB, free: 143.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/1.325, allocations: 77.39 kB / 0.739 GB, free: 143.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00242/1.328, allocations: 3.015 MB / 0.742 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/1.328, allocations: 38.41 kB / 0.742 GB, free: 140.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.703e-06/1.328, allocations: 0 / 0.742 GB, free: 140.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002804/1.328, allocations: 102.4 kB / 0.7421 GB, free: 140.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/1.328, allocations: 55.34 kB / 0.7422 GB, free: 140.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/1.328, allocations: 192.5 kB / 0.7424 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/1.328, allocations: 32.16 kB / 0.7424 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.963e-05/1.328, allocations: 280.4 kB / 0.7427 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/1.328, allocations: 53.84 kB / 0.7427 GB, free: 140.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/1.328, allocations: 7.688 kB / 0.7427 GB, free: 140.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.762e-05/1.328, allocations: 327.2 kB / 0.743 GB, free: 139.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.779e-05/1.329, allocations: 46.78 kB / 0.7431 GB, free: 139.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/1.329, allocations: 334.8 kB / 0.7434 GB, free: 139.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/1.329, allocations: 97.88 kB / 0.7435 GB, free: 139.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/1.329, allocations: 4 kB / 0.7435 GB, free: 139.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006271/1.33, allocations: 369.1 kB / 0.7438 GB, free: 139.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.33, allocations: 12.02 kB / 0.7438 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.33, allocations: 15.78 kB / 0.7439 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/1.33, allocations: 15.69 kB / 0.7439 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/1.33, allocations: 89.72 kB / 0.744 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/1.33, allocations: 26.88 kB / 0.744 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003405/1.33, allocations: 54.03 kB / 0.744 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/1.33, allocations: 30.52 kB / 0.7441 GB, free: 139.3 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 8.365e-05/1.331, allocations: 139.3 kB / 0.7442 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/1.331, allocations: 19.62 kB / 0.7442 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/1.331, allocations: 164.6 kB / 0.7444 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/1.331, allocations: 3.969 kB / 0.7444 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/1.331, allocations: 0 / 0.7444 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.205e-06/1.331, allocations: 3.938 kB / 0.7444 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/1.332, allocations: 432.9 kB / 0.7448 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.716e-06/1.332, allocations: 3.328 kB / 0.7448 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/1.332, allocations: 11.72 kB / 0.7448 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.563e-06/1.332, allocations: 3.906 kB / 0.7448 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/1.332, allocations: 3.438 kB / 0.7448 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.609e-06/1.332, allocations: 8 kB / 0.7448 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.843e-06/1.332, allocations: 3.938 kB / 0.7448 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/1.332, allocations: 257.9 kB / 0.7451 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.218e-05/1.332, allocations: 115.3 kB / 0.7452 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/1.332, allocations: 0 / 0.7452 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/1.332, allocations: 15.36 kB / 0.7452 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/1.332, allocations: 7.453 kB / 0.7452 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/1.332, allocations: 7.812 kB / 0.7452 GB, free: 138.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001198/1.333, allocations: 152.7 kB / 0.7454 GB, free: 138.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.12e-07/1.333, allocations: 0 / 0.7454 GB, free: 138.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006505/1.333, allocations: 100.8 kB / 0.7455 GB, free: 138.2 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.0002138/1.333, allocations: 164 kB / 0.7456 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002963/1.334, allocations: 168.4 kB / 0.7458 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.512e-06/1.334, allocations: 0 / 0.7458 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.325e-05/1.334, allocations: 27.59 kB / 0.7458 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/1.334, allocations: 33.03 kB / 0.7458 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.348, allocations: 4.792 MB / 0.7505 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/1.348, allocations: 0.7299 MB / 0.7512 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/1.348, allocations: 27.16 kB / 0.7513 GB, free: 136.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.733e-06/1.348, allocations: 3.938 kB / 0.7513 GB, free: 136.9 MB / 490.7 MB Notification: Performance of Templates: time 0.005629/1.354, allocations: 3.27 MB / 0.7545 GB, free: 136.4 MB / 490.7 MB