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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.335/2.335, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.874e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2843, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.916/1.2, allocations: 369.2 MB / 0.7102 GB, free: 115.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/1.201, allocations: 63.97 kB / 0.7103 GB, free: 115.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05918/1.26, allocations: 18.68 MB / 0.7285 GB, free: 96.36 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.087e-06/1.26, allocations: 4 kB / 0.7285 GB, free: 96.36 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/1.26, allocations: 0 / 0.7285 GB, free: 96.36 MB / 474.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.001049/1.261, allocations: 0.5629 MB / 0.7291 GB, free: 95.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/1.261, allocations: 8.031 kB / 0.7291 GB, free: 95.74 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/1.261, allocations: 31.75 kB / 0.7291 GB, free: 95.71 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/1.261, allocations: 234.6 kB / 0.7293 GB, free: 95.44 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/1.262, allocations: 119.4 kB / 0.7294 GB, free: 95.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/1.262, allocations: 16 kB / 0.7295 GB, free: 95.29 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008415/1.262, allocations: 0.7152 MB / 0.7302 GB, free: 94.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/1.263, allocations: 274.6 kB / 0.7304 GB, free: 94.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.263, allocations: 0 / 0.7304 GB, free: 94.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/1.263, allocations: 4 kB / 0.7304 GB, free: 94.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/1.263, allocations: 15.94 kB / 0.7304 GB, free: 94.25 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/1.266, allocations: 3.5 MB / 0.7338 GB, free: 90.17 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.116e-05/1.266, allocations: 54.55 kB / 0.7339 GB, free: 90.11 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/1.266, allocations: 16.95 kB / 0.7339 GB, free: 90.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/1.266, allocations: 441.9 kB / 0.7343 GB, free: 89.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/1.267, allocations: 38.5 kB / 0.7344 GB, free: 89.56 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.966e-06/1.267, allocations: 4 kB / 0.7344 GB, free: 89.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002168/1.267, allocations: 53.78 kB / 0.7344 GB, free: 89.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/1.267, allocations: 55.34 kB / 0.7345 GB, free: 89.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/1.267, allocations: 213.9 kB / 0.7347 GB, free: 89.22 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/1.267, allocations: 25.7 kB / 0.7347 GB, free: 89.19 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/1.267, allocations: 320.5 kB / 0.735 GB, free: 88.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/1.267, allocations: 11.94 kB / 0.735 GB, free: 88.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.076e-05/1.267, allocations: 0 / 0.735 GB, free: 88.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.37e-05/1.267, allocations: 338.8 kB / 0.7354 GB, free: 88.52 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/1.267, allocations: 32.88 kB / 0.7354 GB, free: 88.49 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/1.268, allocations: 332.1 kB / 0.7357 GB, free: 88.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/1.268, allocations: 111.8 kB / 0.7358 GB, free: 87.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.809e-06/1.268, allocations: 4 kB / 0.7358 GB, free: 87.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008418/1.269, allocations: 345.5 kB / 0.7361 GB, free: 87.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.269, allocations: 8 kB / 0.7361 GB, free: 87.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.269, allocations: 12 kB / 0.7362 GB, free: 87.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/1.269, allocations: 16 kB / 0.7362 GB, free: 87.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/1.269, allocations: 99.83 kB / 0.7363 GB, free: 87.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/1.269, allocations: 15.94 kB / 0.7363 GB, free: 87.41 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/1.27, allocations: 55.91 kB / 0.7363 GB, free: 87.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/1.27, allocations: 35.97 kB / 0.7364 GB, free: 87.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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.694e-05/1.27, allocations: 132.6 kB / 0.7365 GB, free: 87.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/1.27, allocations: 19.72 kB / 0.7365 GB, free: 87.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/1.27, allocations: 21.17 kB / 0.7365 GB, free: 87.14 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.27, allocations: 0 / 0.7365 GB, free: 87.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.766e-06/1.27, allocations: 0 / 0.7365 GB, free: 87.14 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-06/1.27, allocations: 0 / 0.7365 GB, free: 87.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/1.27, allocations: 170.2 kB / 0.7367 GB, free: 86.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.492e-06/1.27, allocations: 4 kB / 0.7367 GB, free: 86.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-06/1.27, allocations: 3.953 kB / 0.7367 GB, free: 86.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.509e-06/1.27, allocations: 7.984 kB / 0.7367 GB, free: 86.92 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-06/1.27, allocations: 0 / 0.7367 GB, free: 86.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.079e-06/1.27, allocations: 0 / 0.7367 GB, free: 86.92 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.519e-06/1.27, allocations: 0 / 0.7367 GB, free: 86.92 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/1.271, allocations: 143.4 kB / 0.7369 GB, free: 86.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.82e-05/1.271, allocations: 112.9 kB / 0.737 GB, free: 86.64 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/1.271, allocations: 11.89 kB / 0.737 GB, free: 86.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/1.271, allocations: 8 kB / 0.737 GB, free: 86.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/1.271, allocations: 0 / 0.737 GB, free: 86.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/1.271, allocations: 0 / 0.737 GB, free: 86.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001176/1.271, allocations: 146 kB / 0.7371 GB, free: 86.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.614e-06/1.271, allocations: 3.938 kB / 0.7371 GB, free: 86.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006734/1.272, allocations: 95.88 kB / 0.7372 GB, free: 86.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.000227/1.272, allocations: 151.2 kB / 0.7374 GB, free: 86.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002462/1.272, allocations: 125.9 kB / 0.7375 GB, free: 86.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.457e-06/1.272, allocations: 4 kB / 0.7375 GB, free: 86.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/1.272, allocations: 0 / 0.7375 GB, free: 86.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/1.273, allocations: 21.42 kB / 0.7375 GB, free: 86.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/1.284, allocations: 4.051 MB / 0.7415 GB, free: 81.96 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/1.284, allocations: 0.7248 MB / 0.7422 GB, free: 81.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/1.284, allocations: 23.44 kB / 0.7422 GB, free: 81.18 MB / 474.7 MB Notification: Performance of SimCode: time 1.875e-06/1.284, allocations: 0 / 0.7422 GB, free: 81.18 MB / 474.7 MB Notification: Performance of Templates: time 0.00578/1.29, allocations: 3.159 MB / 0.7453 GB, free: 78.03 MB / 474.7 MB