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.LinearWater_pT_Ambient.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.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.111/2.111, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004298, allocations: 16 kB / 314.4 MB, free: 9.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2716, allocations: 54.85 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.234/7.505, allocations: 2.909 GB / 3.269 GB, free: 103.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/7.506, allocations: 76.88 kB / 3.269 GB, free: 103.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8627/8.368, allocations: 211.6 MB / 3.476 GB, free: 109.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.125e-06/8.368, allocations: 0 / 3.476 GB, free: 109.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/8.368, allocations: 7.406 kB / 3.476 GB, free: 109.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.004372/8.373, allocations: 1.162 MB / 3.477 GB, free: 109.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/8.373, allocations: 9.688 kB / 3.477 GB, free: 109.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/8.373, allocations: 29.5 kB / 3.477 GB, free: 109.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/8.373, allocations: 221 kB / 3.477 GB, free: 109.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/8.374, allocations: 129.5 kB / 3.477 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/8.374, allocations: 20.88 kB / 3.477 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/8.374, allocations: 334.8 kB / 3.478 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/8.374, allocations: 0 / 3.478 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/8.374, allocations: 11.53 kB / 3.478 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/8.374, allocations: 7.812 kB / 3.478 GB, free: 108.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008795/8.375, allocations: 0.736 MB / 3.479 GB, free: 108.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/8.377, allocations: 1.222 MB / 3.48 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/8.377, allocations: 156.7 kB / 3.48 GB, free: 108 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002332/8.379, allocations: 2.789 MB / 3.483 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.889e-05/8.379, allocations: 34.41 kB / 3.483 GB, free: 105.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 2.99e-06/8.379, allocations: 0 / 3.483 GB, free: 105.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003727/8.38, allocations: 128.8 kB / 3.483 GB, free: 105.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/8.38, allocations: 54.94 kB / 3.483 GB, free: 105 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/8.38, allocations: 194.5 kB / 3.483 GB, free: 104.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/8.38, allocations: 29.14 kB / 3.483 GB, free: 104.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.868e-05/8.38, allocations: 285.5 kB / 3.483 GB, free: 104.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/8.38, allocations: 48.84 kB / 3.483 GB, free: 104.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/8.38, allocations: 9.969 kB / 3.483 GB, free: 104.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.954e-05/8.38, allocations: 328.6 kB / 3.484 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/8.38, allocations: 49.97 kB / 3.484 GB, free: 104.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/8.381, allocations: 330.1 kB / 3.484 GB, free: 103.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/8.381, allocations: 103.5 kB / 3.484 GB, free: 103.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/8.381, allocations: 3.625 kB / 3.484 GB, free: 103.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006736/8.382, allocations: 374.7 kB / 3.484 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/8.382, allocations: 7.594 kB / 3.484 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/8.382, allocations: 11.16 kB / 3.484 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/8.382, allocations: 21.59 kB / 3.485 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/8.382, allocations: 98.36 kB / 3.485 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/8.382, allocations: 23.23 kB / 3.485 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/8.382, allocations: 50.06 kB / 3.485 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/8.382, allocations: 26.5 kB / 3.485 GB, free: 103.8 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.0001371/8.383, allocations: 160.9 kB / 3.485 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.141e-05/8.383, allocations: 26.97 kB / 3.485 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/8.383, allocations: 166.2 kB / 3.485 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/8.383, allocations: 0 / 3.485 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-06/8.383, allocations: 0 / 3.485 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.354e-06/8.383, allocations: 3.281 kB / 3.485 GB, free: 103.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/8.384, allocations: 438.5 kB / 3.485 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.832e-06/8.384, allocations: 0 / 3.485 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.556e-05/8.384, allocations: 12.94 kB / 3.485 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/8.384, allocations: 3.188 kB / 3.485 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/8.384, allocations: 3.5 kB / 3.485 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.031e-06/8.384, allocations: 7.016 kB / 3.485 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.431e-06/8.384, allocations: 0 / 3.485 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/8.384, allocations: 260.2 kB / 3.486 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.582e-05/8.384, allocations: 115.7 kB / 3.486 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/8.384, allocations: 7.656 kB / 3.486 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/8.384, allocations: 9.453 kB / 3.486 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/8.385, allocations: 13.62 kB / 3.486 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/8.385, allocations: 7.562 kB / 3.486 GB, free: 102.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001295/8.385, allocations: 148.9 kB / 3.486 GB, free: 102.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.95e-07/8.385, allocations: 0 / 3.486 GB, free: 102.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008647/8.386, allocations: 111.1 kB / 3.486 GB, free: 102.8 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.0003935/8.386, allocations: 275.4 kB / 3.486 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003327/8.386, allocations: 174.4 kB / 3.487 GB, free: 102.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.844e-06/8.386, allocations: 7.906 kB / 3.487 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.382e-05/8.386, allocations: 30.23 kB / 3.487 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/8.387, allocations: 48.78 kB / 3.487 GB, free: 102.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2576/8.644, allocations: 98.46 MB / 3.583 GB, free: 60.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/8.645, allocations: 0.7287 MB / 3.584 GB, free: 59.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/8.645, allocations: 31.42 kB / 3.584 GB, free: 59.33 MB / 490.7 MB Notification: Performance of SimCode: time 1.612e-06/8.645, allocations: 0 / 3.584 GB, free: 59.33 MB / 490.7 MB Notification: Performance of Templates: time 0.006761/8.652, allocations: 4.18 MB / 3.588 GB, free: 55.16 MB / 490.7 MB