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.IncompleteMedia.ReferenceMoistAir.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.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.167/2.167, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.889e-05/1.912e-05, allocations: 3.938 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2792, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.09/16.37, allocations: 6.536 GB / 6.886 GB, free: 78.19 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/16.37, allocations: 78.08 kB / 6.886 GB, free: 78.15 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.162/17.53, allocations: 243.4 MB / 7.124 GB, free: 24.39 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.85e-06/17.53, allocations: 0 / 7.124 GB, free: 24.39 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/17.53, allocations: 4 kB / 7.124 GB, free: 24.38 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.007013/17.54, allocations: 1.893 MB / 7.125 GB, free: 22.45 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/17.54, allocations: 12.03 kB / 7.125 GB, free: 22.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/17.54, allocations: 35.67 kB / 7.125 GB, free: 22.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/17.54, allocations: 246.6 kB / 7.126 GB, free: 22.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/17.54, allocations: 8 kB / 7.126 GB, free: 22.11 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/17.54, allocations: 16 kB / 7.126 GB, free: 22.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009931/17.54, allocations: 0.821 MB / 7.126 GB, free: 21.27 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/17.54, allocations: 449.1 kB / 7.127 GB, free: 20.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/17.54, allocations: 7.938 kB / 7.127 GB, free: 20.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/17.54, allocations: 0 / 7.127 GB, free: 20.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/17.54, allocations: 24.55 kB / 7.127 GB, free: 20.77 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003587/17.54, allocations: 3.876 MB / 7.131 GB, free: 16.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/17.54, allocations: 110.6 kB / 7.131 GB, free: 16.24 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/17.54, allocations: 44.84 kB / 7.131 GB, free: 16.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01185/17.55, allocations: 11.71 MB / 7.142 GB, free: 2.195 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/17.55, allocations: 111.2 kB / 7.142 GB, free: 2.074 MB / 474.7 MB Notification: Performance of pre-optimization done (n=17): time 3.694e-06/17.55, allocations: 0 / 7.142 GB, free: 2.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=18): time 0.001602/17.56, allocations: 300.8 kB / 7.143 GB, free: 1.773 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/17.56, allocations: 55.39 kB / 7.143 GB, free: 1.707 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/17.56, allocations: 220.2 kB / 7.143 GB, free: 1.484 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/17.56, allocations: 29.69 kB / 7.143 GB, free: 1.449 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/17.56, allocations: 320.8 kB / 7.143 GB, free: 1.133 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/17.56, allocations: 67.09 kB / 7.143 GB, free: 1.066 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/17.56, allocations: 0 / 7.143 GB, free: 1.066 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.134e-05/17.56, allocations: 334.8 kB / 7.144 GB, free: 0.7305 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/17.56, allocations: 73.09 kB / 7.144 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/17.56, allocations: 340.4 kB / 7.144 GB, free: 204 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2913/17.85, allocations: 229.5 kB / 7.144 GB, free: 61.87 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/17.85, allocations: 2.625 kB / 7.144 GB, free: 61.87 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002728/17.85, allocations: 0.5107 MB / 7.145 GB, free: 61.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/17.85, allocations: 11.38 kB / 7.145 GB, free: 61.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/17.85, allocations: 12.72 kB / 7.145 GB, free: 61.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.403e-05/17.85, allocations: 13.84 kB / 7.145 GB, free: 61.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009955/17.85, allocations: 177.2 kB / 7.145 GB, free: 61.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006633/17.85, allocations: 1.209 MB / 7.146 GB, free: 60.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005447/17.85, allocations: 15.08 kB / 7.146 GB, free: 60.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/17.85, allocations: 49.19 kB / 7.146 GB, free: 60.66 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001931/17.85, allocations: 127.2 kB / 7.146 GB, free: 60.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/17.85, allocations: 25.59 kB / 7.146 GB, free: 60.56 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007359/17.86, allocations: 216.3 kB / 7.147 GB, free: 60.52 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.721e-06/17.86, allocations: 2.297 kB / 7.147 GB, free: 60.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.253e-06/17.86, allocations: 0.5 kB / 7.147 GB, free: 60.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.589e-06/17.86, allocations: 1.766 kB / 7.147 GB, free: 60.52 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/17.86, allocations: 0.5007 MB / 7.147 GB, free: 60.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/17.86, allocations: 1.5 kB / 7.147 GB, free: 60.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/17.86, allocations: 80.2 kB / 7.147 GB, free: 60.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/17.86, allocations: 1.656 kB / 7.147 GB, free: 60.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/17.86, allocations: 7.453 kB / 7.147 GB, free: 60.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005966/17.86, allocations: 1.194 MB / 7.148 GB, free: 59.07 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.674e-06/17.86, allocations: 0.5938 kB / 7.148 GB, free: 59.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/17.86, allocations: 296.9 kB / 7.149 GB, free: 58.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/17.86, allocations: 134.7 kB / 7.149 GB, free: 58.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.259e-05/17.86, allocations: 1.891 kB / 7.149 GB, free: 58.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/17.86, allocations: 7.844 kB / 7.149 GB, free: 58.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/17.86, allocations: 11.94 kB / 7.149 GB, free: 58.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/17.86, allocations: 11.97 kB / 7.149 GB, free: 58.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001958/17.86, allocations: 159.7 kB / 7.149 GB, free: 58.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.33e-07/17.86, allocations: 3.875 kB / 7.149 GB, free: 58.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008049/17.87, allocations: 1.912 MB / 7.151 GB, free: 58.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01399/17.88, allocations: 2.766 MB / 7.154 GB, free: 58.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001086/17.88, allocations: 268.2 kB / 7.154 GB, free: 58.58 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/17.88, allocations: 3.844 kB / 7.154 GB, free: 58.58 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005052/17.88, allocations: 93.03 kB / 7.154 GB, free: 58.58 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/17.88, allocations: 40.34 kB / 7.154 GB, free: 58.58 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9343/18.82, allocations: 227.5 MB / 7.376 GB, free: 67.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/18.82, allocations: 0.7555 MB / 7.377 GB, free: 67.26 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/18.82, allocations: 60.5 kB / 7.377 GB, free: 67.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.765e-06/18.82, allocations: 0 / 7.377 GB, free: 67.25 MB / 490.7 MB Notification: Performance of Templates: time 0.08098/18.9, allocations: 48.14 MB / 7.424 GB, free: 60.34 MB / 490.7 MB