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.LinearWater_pT_Ambient.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.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.277/2.277, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004191, allocations: 11.98 kB / 314.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.763/9.101, allocations: 2.909 GB / 3.27 GB, free: 114.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/9.102, allocations: 79.44 kB / 3.27 GB, free: 114.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.083/10.18, allocations: 211.6 MB / 3.476 GB, free: 101.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.056e-06/10.18, allocations: 3.5 kB / 3.476 GB, free: 101.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/10.18, allocations: 1.75 kB / 3.476 GB, free: 101.8 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.005518/10.19, allocations: 1.166 MB / 3.478 GB, free: 101.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/10.19, allocations: 7.781 kB / 3.478 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/10.19, allocations: 25.22 kB / 3.478 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/10.19, allocations: 232.9 kB / 3.478 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/10.19, allocations: 129.8 kB / 3.478 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.923e-05/10.19, allocations: 26.44 kB / 3.478 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007357/10.19, allocations: 320 kB / 3.478 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/10.19, allocations: 3.938 kB / 3.478 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/10.19, allocations: 13.91 kB / 3.478 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/10.19, allocations: 6.594 kB / 3.478 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/10.19, allocations: 0.735 MB / 3.479 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/10.19, allocations: 1.22 MB / 3.48 GB, free: 99.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004587/10.2, allocations: 161.8 kB / 3.48 GB, free: 99.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003046/10.2, allocations: 2.783 MB / 3.483 GB, free: 97.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/10.2, allocations: 37.78 kB / 3.483 GB, free: 97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.865e-06/10.2, allocations: 0 / 3.483 GB, free: 97 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004279/10.2, allocations: 124.1 kB / 3.483 GB, free: 96.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/10.2, allocations: 59.31 kB / 3.483 GB, free: 96.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/10.2, allocations: 222.5 kB / 3.484 GB, free: 96.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/10.2, allocations: 25.7 kB / 3.484 GB, free: 96.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/10.2, allocations: 278.7 kB / 3.484 GB, free: 96.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/10.2, allocations: 51.88 kB / 3.484 GB, free: 96.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/10.2, allocations: 12.58 kB / 3.484 GB, free: 96.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.513e-05/10.2, allocations: 333 kB / 3.484 GB, free: 96.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/10.2, allocations: 43.36 kB / 3.484 GB, free: 96.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/10.2, allocations: 340.3 kB / 3.485 GB, free: 95.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/10.2, allocations: 104 kB / 3.485 GB, free: 95.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/10.2, allocations: 0 / 3.485 GB, free: 95.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007564/10.2, allocations: 375.4 kB / 3.485 GB, free: 95.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/10.2, allocations: 11.41 kB / 3.485 GB, free: 95.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/10.2, allocations: 11.06 kB / 3.485 GB, free: 95.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/10.2, allocations: 15 kB / 3.485 GB, free: 95.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/10.2, allocations: 102.4 kB / 3.485 GB, free: 95.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.583e-05/10.2, allocations: 17.84 kB / 3.485 GB, free: 95.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/10.2, allocations: 51.06 kB / 3.485 GB, free: 95.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/10.2, allocations: 41.17 kB / 3.485 GB, free: 95.62 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.0001619/10.2, allocations: 144.3 kB / 3.485 GB, free: 95.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/10.2, allocations: 21.31 kB / 3.485 GB, free: 95.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/10.2, allocations: 168.2 kB / 3.486 GB, free: 95.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/10.2, allocations: 0 / 3.486 GB, free: 95.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/10.2, allocations: 3.969 kB / 3.486 GB, free: 95.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/10.2, allocations: 3.312 kB / 3.486 GB, free: 95.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000659/10.2, allocations: 432.2 kB / 3.486 GB, free: 95.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/10.2, allocations: 7.031 kB / 3.486 GB, free: 95.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/10.2, allocations: 11.53 kB / 3.486 GB, free: 95.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/10.2, allocations: 3.906 kB / 3.486 GB, free: 95.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/10.2, allocations: 7.484 kB / 3.486 GB, free: 95.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/10.2, allocations: 3.906 kB / 3.486 GB, free: 95.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/10.2, allocations: 0 / 3.486 GB, free: 95.05 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/10.2, allocations: 217.5 kB / 3.486 GB, free: 94.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/10.2, allocations: 115.7 kB / 3.486 GB, free: 94.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/10.2, allocations: 0 / 3.486 GB, free: 94.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/10.2, allocations: 11.8 kB / 3.486 GB, free: 94.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.451e-05/10.2, allocations: 11.86 kB / 3.486 GB, free: 94.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/10.2, allocations: 7.625 kB / 3.486 GB, free: 94.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001591/10.2, allocations: 148.5 kB / 3.487 GB, free: 94.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/10.2, allocations: 0 / 3.487 GB, free: 94.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009442/10.21, allocations: 118.9 kB / 3.487 GB, free: 94.68 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.0005342/10.21, allocations: 275.8 kB / 3.487 GB, free: 94.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005006/10.21, allocations: 171.5 kB / 3.487 GB, free: 94.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/10.21, allocations: 3.844 kB / 3.487 GB, free: 94.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.474e-05/10.21, allocations: 30.38 kB / 3.487 GB, free: 94.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/10.21, allocations: 38.16 kB / 3.487 GB, free: 94.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3793/10.59, allocations: 98.46 MB / 3.583 GB, free: 44.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/10.59, allocations: 0.7287 MB / 3.584 GB, free: 43.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.775e-05/10.59, allocations: 35.38 kB / 3.584 GB, free: 43.26 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/10.59, allocations: 3.938 kB / 3.584 GB, free: 43.25 MB / 490.7 MB Notification: Performance of Templates: time 0.008567/10.6, allocations: 4.176 MB / 3.588 GB, free: 39.09 MB / 490.7 MB