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.Glycol47.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.IncompleteMedia.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") Notification: Performance of loadModel(ModelicaTest): time 2.138/2.138, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004444, allocations: 15.98 kB / 314.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2798, allocations: 54.85 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4967/0.7765, allocations: 190.9 MB / 0.547 GB, free: 8.871 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.7768, allocations: 83.52 kB / 0.5471 GB, free: 8.824 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1638/0.9406, allocations: 43.78 MB / 0.5899 GB, free: 3.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.597e-06/0.9406, allocations: 0 / 0.5899 GB, free: 3.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.9407, allocations: 4 kB / 0.5899 GB, free: 3.336 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001448/0.9421, allocations: 0.6192 MB / 0.5905 GB, free: 2.688 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.9422, allocations: 8.031 kB / 0.5905 GB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.9427, allocations: 42.22 kB / 0.5905 GB, free: 2.641 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.943, allocations: 213.6 kB / 0.5907 GB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.943, allocations: 16.89 kB / 0.5907 GB, free: 2.391 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.943, allocations: 16.88 kB / 0.5907 GB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.9436, allocations: 236.5 kB / 0.591 GB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.9436, allocations: 3.953 kB / 0.591 GB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.9436, allocations: 9.812 kB / 0.591 GB, free: 2.156 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.575e-06/0.9437, allocations: 4 kB / 0.591 GB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.9441, allocations: 233.2 kB / 0.5912 GB, free: 1.969 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.9458, allocations: 1.345 MB / 0.5925 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/0.9461, allocations: 83.33 kB / 0.5926 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002066/0.9482, allocations: 1.84 MB / 0.5944 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000282/0.9485, allocations: 159.5 kB / 0.5946 GB, free: 14.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 2.858e-06/0.9485, allocations: 0 / 0.5946 GB, free: 14.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.001211/0.9497, allocations: 368.6 kB / 0.5949 GB, free: 13.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.9499, allocations: 267.6 kB / 0.5952 GB, free: 13.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.9501, allocations: 130.5 kB / 0.5953 GB, free: 13.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.9502, allocations: 32.33 kB / 0.5953 GB, free: 13.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.9503, allocations: 228.9 kB / 0.5955 GB, free: 13.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.433e-05/0.9504, allocations: 57.14 kB / 0.5956 GB, free: 13.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.9504, allocations: 5 kB / 0.5956 GB, free: 13.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.9506, allocations: 327.4 kB / 0.5959 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.9507, allocations: 41.09 kB / 0.5959 GB, free: 12.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.9509, allocations: 176.3 kB / 0.5961 GB, free: 12.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.9511, allocations: 71.3 kB / 0.5962 GB, free: 12.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.306e-06/0.9511, allocations: 8 kB / 0.5962 GB, free: 12.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00061/0.9518, allocations: 265.6 kB / 0.5964 GB, free: 12.24 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.9518, allocations: 12.12 kB / 0.5965 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.9518, allocations: 4 kB / 0.5965 GB, free: 12.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.9519, allocations: 8 kB / 0.5965 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/0.9526, allocations: 91.88 kB / 0.5966 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000471/0.953, allocations: 0.5997 MB / 0.5971 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.9533, allocations: 6.312 kB / 0.5971 GB, free: 11.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.9534, allocations: 30.45 kB / 0.5972 GB, free: 11.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.9536, allocations: 144.9 kB / 0.5973 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/0.9536, allocations: 22.06 kB / 0.5973 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000706/0.9543, allocations: 250.2 kB / 0.5976 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-06/0.9544, allocations: 4 kB / 0.5976 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.616e-06/0.9544, allocations: 96 / 0.5976 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.543e-06/0.9544, allocations: 3.938 kB / 0.5976 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003365/0.9548, allocations: 222 kB / 0.5978 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.104e-06/0.9548, allocations: 0 / 0.5978 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.9553, allocations: 54.08 kB / 0.5978 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.033e-06/0.9553, allocations: 0 / 0.5978 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.9553, allocations: 8.031 kB / 0.5979 GB, free: 10.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004234/0.9558, allocations: 0.5927 MB / 0.5984 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.289e-06/0.9558, allocations: 0 / 0.5984 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.956, allocations: 149.3 kB / 0.5986 GB, free: 10 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.9562, allocations: 126.5 kB / 0.5987 GB, free: 9.871 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.151e-05/0.9563, allocations: 4 kB / 0.5987 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.9564, allocations: 6.125 kB / 0.5987 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.9565, allocations: 10.36 kB / 0.5987 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.9565, allocations: 8 kB / 0.5987 GB, free: 9.848 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.9567, allocations: 127.3 kB / 0.5988 GB, free: 9.734 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.9567, allocations: 0 / 0.5988 GB, free: 9.734 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009205/0.9576, allocations: 185.5 kB / 0.599 GB, free: 9.566 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008852/0.9585, allocations: 332 kB / 0.5993 GB, free: 9.242 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.9592, allocations: 156 kB / 0.5995 GB, free: 9.109 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.113e-06/0.9592, allocations: 0 / 0.5995 GB, free: 9.109 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.9595, allocations: 49.97 kB / 0.5995 GB, free: 9.066 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.9598, allocations: 28.38 kB / 0.5996 GB, free: 9.047 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04038/1, allocations: 11.73 MB / 0.611 GB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/1.001, allocations: 0.7245 MB / 0.6117 GB, free: 12.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/1.001, allocations: 35.41 kB / 0.6118 GB, free: 12.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.686e-06/1.001, allocations: 0 / 0.6118 GB, free: 12.6 MB / 458.7 MB Notification: Performance of Templates: time 0.01135/1.012, allocations: 5.473 MB / 0.6171 GB, free: 7.133 MB / 458.7 MB