Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.463e-05/1.477e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2857, allocations: 48.69 MB / 320 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.14/15.42, allocations: 6.529 GB / 6.841 GB, free: 44.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/15.43, allocations: 82.78 kB / 6.841 GB, free: 44.76 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35/16.77, allocations: 242.2 MB / 7.078 GB, free: 58.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.848e-06/16.77, allocations: 3.281 kB / 7.078 GB, free: 58.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/16.78, allocations: 6.656 kB / 7.078 GB, free: 58.32 MB / 426.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.01045/16.79, allocations: 1.891 MB / 7.08 GB, free: 57.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/16.79, allocations: 14.84 kB / 7.08 GB, free: 57.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003577/16.79, allocations: 30.33 kB / 7.08 GB, free: 57.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/16.79, allocations: 251 kB / 7.08 GB, free: 57.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/16.79, allocations: 11.8 kB / 7.08 GB, free: 57.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.446e-05/16.79, allocations: 14.84 kB / 7.08 GB, free: 57.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001833/16.79, allocations: 0.8207 MB / 7.081 GB, free: 57.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/16.79, allocations: 449.2 kB / 7.081 GB, free: 57.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/16.79, allocations: 1.688 kB / 7.081 GB, free: 57.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.248e-05/16.79, allocations: 3.906 kB / 7.081 GB, free: 57.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.228e-05/16.79, allocations: 25.11 kB / 7.081 GB, free: 57.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005166/16.79, allocations: 3.819 MB / 7.085 GB, free: 53.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/16.8, allocations: 114.2 kB / 7.085 GB, free: 53.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.325e-05/16.8, allocations: 46.83 kB / 7.085 GB, free: 53.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01282/16.81, allocations: 11.7 MB / 7.097 GB, free: 41.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/16.81, allocations: 109 kB / 7.097 GB, free: 41.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=17): time 4.646e-06/16.81, allocations: 1.906 kB / 7.097 GB, free: 41.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.001635/16.81, allocations: 309.1 kB / 7.097 GB, free: 41.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/16.81, allocations: 51.41 kB / 7.097 GB, free: 41.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/16.81, allocations: 228.6 kB / 7.097 GB, free: 41.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/16.81, allocations: 25.7 kB / 7.097 GB, free: 41.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/16.81, allocations: 322.5 kB / 7.098 GB, free: 41.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/16.81, allocations: 61.48 kB / 7.098 GB, free: 41.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/16.81, allocations: 3.938 kB / 7.098 GB, free: 41.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.364e-05/16.81, allocations: 329.1 kB / 7.098 GB, free: 41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/16.81, allocations: 77.22 kB / 7.098 GB, free: 41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/16.81, allocations: 340 kB / 7.098 GB, free: 40.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/16.81, allocations: 241.5 kB / 7.099 GB, free: 40.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.447e-06/16.81, allocations: 0 / 7.099 GB, free: 40.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002196/16.81, allocations: 0.5057 MB / 7.099 GB, free: 40.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/16.81, allocations: 13.06 kB / 7.099 GB, free: 40.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/16.81, allocations: 6.969 kB / 7.099 GB, free: 40.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/16.81, allocations: 16.62 kB / 7.099 GB, free: 40.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008293/16.82, allocations: 177.5 kB / 7.099 GB, free: 40.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006206/16.82, allocations: 1.207 MB / 7.101 GB, free: 39.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/16.82, allocations: 18.16 kB / 7.101 GB, free: 39.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/16.82, allocations: 42.61 kB / 7.101 GB, free: 39.44 MB / 426.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.0001768/16.82, allocations: 133.2 kB / 7.101 GB, free: 39.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/16.82, allocations: 27.69 kB / 7.101 GB, free: 39.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006541/16.82, allocations: 218.8 kB / 7.101 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.003e-06/16.82, allocations: 3.562 kB / 7.101 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.394e-06/16.82, allocations: 0 / 7.101 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-06/16.82, allocations: 3.938 kB / 7.101 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008795/16.82, allocations: 0.4962 MB / 7.102 GB, free: 38.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.527e-06/16.82, allocations: 3.953 kB / 7.102 GB, free: 38.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/16.82, allocations: 87.52 kB / 7.102 GB, free: 38.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.681e-06/16.82, allocations: 3.609 kB / 7.102 GB, free: 38.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/16.82, allocations: 3.562 kB / 7.102 GB, free: 38.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005693/16.82, allocations: 1.192 MB / 7.103 GB, free: 37.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.151e-06/16.82, allocations: 0 / 7.103 GB, free: 37.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/16.82, allocations: 282.8 kB / 7.103 GB, free: 37.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/16.82, allocations: 139.7 kB / 7.103 GB, free: 37.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/16.82, allocations: 0 / 7.103 GB, free: 37.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/16.82, allocations: 15.44 kB / 7.103 GB, free: 37.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/16.82, allocations: 12.33 kB / 7.103 GB, free: 37.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/16.82, allocations: 10.56 kB / 7.103 GB, free: 37.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001594/16.82, allocations: 162.1 kB / 7.103 GB, free: 37.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.27e-07/16.82, allocations: 3.938 kB / 7.103 GB, free: 37.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00751/16.83, allocations: 1.912 MB / 7.105 GB, free: 37.02 MB / 426.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.01341/16.84, allocations: 2.753 MB / 7.108 GB, free: 36.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/16.84, allocations: 279.5 kB / 7.108 GB, free: 36.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.081e-06/16.84, allocations: 0 / 7.108 GB, free: 36.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00047/16.84, allocations: 97.47 kB / 7.108 GB, free: 36.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/16.84, allocations: 38.14 kB / 7.108 GB, free: 36.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8346/17.68, allocations: 227.4 MB / 7.33 GB, free: 39.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/17.68, allocations: 0.7557 MB / 7.331 GB, free: 38.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/17.68, allocations: 61.52 kB / 7.331 GB, free: 38.57 MB / 442.7 MB Notification: Performance of SimCode: time 2.626e-06/17.68, allocations: 0 / 7.331 GB, free: 38.57 MB / 442.7 MB Notification: Performance of Templates: time 0.07895/17.76, allocations: 48.05 MB / 7.378 GB, free: 1.551 MB / 442.7 MB