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.158/2.158, allocations: 234.9 MB / 250.5 MB, free: 9.449 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004298, allocations: 12 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2749, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9396/1.215, allocations: 370 MB / 0.7219 GB, free: 135 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/1.215, allocations: 75.95 kB / 0.722 GB, free: 134.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05971/1.275, allocations: 18.84 MB / 0.7404 GB, free: 116 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.629e-06/1.275, allocations: 4 kB / 0.7404 GB, free: 116 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/1.275, allocations: 3.984 kB / 0.7404 GB, free: 115.9 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.00109/1.276, allocations: 0.5696 MB / 0.7409 GB, free: 115.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/1.276, allocations: 12.03 kB / 0.7409 GB, free: 115.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/1.276, allocations: 31.67 kB / 0.741 GB, free: 115.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/1.276, allocations: 222.8 kB / 0.7412 GB, free: 115 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/1.276, allocations: 123.4 kB / 0.7413 GB, free: 114.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/1.276, allocations: 20 kB / 0.7413 GB, free: 114.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/1.277, allocations: 327.6 kB / 0.7416 GB, free: 114.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/1.277, allocations: 0 / 0.7416 GB, free: 114.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/1.277, allocations: 15.94 kB / 0.7417 GB, free: 114.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/1.277, allocations: 11.95 kB / 0.7417 GB, free: 114.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/1.278, allocations: 0.739 MB / 0.7424 GB, free: 113.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/1.279, allocations: 1.229 MB / 0.7436 GB, free: 112.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/1.28, allocations: 163.7 kB / 0.7437 GB, free: 112.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002293/1.282, allocations: 2.769 MB / 0.7464 GB, free: 109 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/1.282, allocations: 46.44 kB / 0.7465 GB, free: 108.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 3.132e-06/1.282, allocations: 0 / 0.7465 GB, free: 108.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.000348/1.282, allocations: 129.3 kB / 0.7466 GB, free: 108.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/1.282, allocations: 51.41 kB / 0.7467 GB, free: 108.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/1.283, allocations: 198.2 kB / 0.7469 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/1.283, allocations: 29.7 kB / 0.7469 GB, free: 108.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/1.283, allocations: 277.2 kB / 0.7471 GB, free: 108.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.77e-05/1.283, allocations: 51.3 kB / 0.7472 GB, free: 108.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/1.283, allocations: 8 kB / 0.7472 GB, free: 108.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.899e-05/1.283, allocations: 330.8 kB / 0.7475 GB, free: 107.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-05/1.283, allocations: 44.84 kB / 0.7476 GB, free: 107.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/1.283, allocations: 332.9 kB / 0.7479 GB, free: 107.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/1.284, allocations: 95.86 kB / 0.748 GB, free: 107.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.944e-06/1.284, allocations: 4 kB / 0.748 GB, free: 107.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006509/1.284, allocations: 381.5 kB / 0.7483 GB, free: 106.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.284, allocations: 12 kB / 0.7484 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/1.284, allocations: 11.95 kB / 0.7484 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/1.284, allocations: 16 kB / 0.7484 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/1.285, allocations: 91.83 kB / 0.7485 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/1.285, allocations: 23.92 kB / 0.7485 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/1.285, allocations: 51.44 kB / 0.7485 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/1.285, allocations: 32.23 kB / 0.7486 GB, free: 106.6 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.0001331/1.285, allocations: 157.5 kB / 0.7487 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.066e-05/1.285, allocations: 15.81 kB / 0.7487 GB, free: 106.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/1.286, allocations: 165.7 kB / 0.7489 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/1.286, allocations: 7.938 kB / 0.7489 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.636e-06/1.286, allocations: 3.938 kB / 0.7489 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.326e-06/1.286, allocations: 0 / 0.7489 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/1.286, allocations: 429.6 kB / 0.7493 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.564e-06/1.286, allocations: 4 kB / 0.7493 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.068e-05/1.286, allocations: 19.92 kB / 0.7493 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.09e-06/1.286, allocations: 0 / 0.7493 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/1.287, allocations: 7.938 kB / 0.7493 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.47e-06/1.287, allocations: 0 / 0.7493 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.745e-06/1.287, allocations: 7.984 kB / 0.7493 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/1.287, allocations: 269.7 kB / 0.7496 GB, free: 105.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/1.287, allocations: 108.8 kB / 0.7497 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/1.287, allocations: 8 kB / 0.7497 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/1.287, allocations: 8.047 kB / 0.7497 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/1.287, allocations: 15.89 kB / 0.7497 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/1.287, allocations: 4 kB / 0.7497 GB, free: 105.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001247/1.287, allocations: 152.5 kB / 0.7499 GB, free: 105.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.287, allocations: 0 / 0.7499 GB, free: 105.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006868/1.288, allocations: 103.9 kB / 0.75 GB, free: 105 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.0002276/1.288, allocations: 155.1 kB / 0.7501 GB, free: 104.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/1.289, allocations: 165.8 kB / 0.7503 GB, free: 104.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.523e-06/1.289, allocations: 0 / 0.7503 GB, free: 104.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/1.289, allocations: 28.11 kB / 0.7503 GB, free: 104.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/1.289, allocations: 37.09 kB / 0.7504 GB, free: 104.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/1.303, allocations: 5.102 MB / 0.7553 GB, free: 99.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/1.304, allocations: 0.7287 MB / 0.7561 GB, free: 98.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.914e-05/1.304, allocations: 39.36 kB / 0.7561 GB, free: 98.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.595e-06/1.304, allocations: 4 kB / 0.7561 GB, free: 98.61 MB / 490.7 MB Notification: Performance of Templates: time 0.005878/1.31, allocations: 3.268 MB / 0.7593 GB, free: 95.36 MB / 490.7 MB