Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 194.9 MB / 211.7 MB, free: 2.973 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003523, allocations: 8 kB / 264 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07998/0.08036, allocations: 44.5 MB / 308.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.5299, allocations: 185.9 MB / 494.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.5302, allocations: 87.75 kB / 494.4 MB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054/1.584, allocations: 200.6 MB / 0.6788 GB, free: 86.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.82e-06/1.585, allocations: 0 / 0.6788 GB, free: 86.06 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.925e-05/1.585, allocations: 7.812 kB / 0.6788 GB, free: 86.06 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001903/1.586, allocations: 0.9991 MB / 0.6798 GB, free: 85.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.587, allocations: 9.688 kB / 0.6798 GB, free: 85.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003409/1.587, allocations: 42.23 kB / 0.6798 GB, free: 85.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/1.587, allocations: 290.1 kB / 0.6801 GB, free: 85.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/1.587, allocations: 17.38 kB / 0.6801 GB, free: 85.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/1.587, allocations: 30.56 kB / 0.6801 GB, free: 85.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/1.588, allocations: 327.4 kB / 0.6804 GB, free: 85.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/1.588, allocations: 7.594 kB / 0.6805 GB, free: 85.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/1.588, allocations: 13.88 kB / 0.6805 GB, free: 85.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/1.588, allocations: 7.812 kB / 0.6805 GB, free: 85.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/1.588, allocations: 190.2 kB / 0.6807 GB, free: 85.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/1.59, allocations: 2.07 MB / 0.6827 GB, free: 83.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/1.591, allocations: 188 kB / 0.6829 GB, free: 83.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/1.591, allocations: 250.8 kB / 0.6831 GB, free: 83.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/1.591, allocations: 41 kB / 0.6831 GB, free: 83.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.628e-06/1.591, allocations: 2.625 kB / 0.6831 GB, free: 83.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.003033/1.594, allocations: 1.025 MB / 0.6841 GB, free: 82.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/1.594, allocations: 54.91 kB / 0.6842 GB, free: 82.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/1.594, allocations: 238.1 kB / 0.6844 GB, free: 82.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/1.594, allocations: 32.33 kB / 0.6844 GB, free: 82.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/1.595, allocations: 236 kB / 0.6847 GB, free: 82.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/1.595, allocations: 106.2 kB / 0.6848 GB, free: 82.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/1.595, allocations: 5.125 kB / 0.6848 GB, free: 82.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/1.595, allocations: 330.8 kB / 0.6851 GB, free: 82.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/1.595, allocations: 86.45 kB / 0.6852 GB, free: 82.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/1.595, allocations: 165.6 kB / 0.6853 GB, free: 82.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/1.595, allocations: 118.9 kB / 0.6854 GB, free: 82.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.761e-06/1.595, allocations: 0 / 0.6854 GB, free: 82.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007374/1.596, allocations: 362.5 kB / 0.6858 GB, free: 82.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/1.596, allocations: 7.406 kB / 0.6858 GB, free: 82.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.41e-06/1.596, allocations: 3.75 kB / 0.6858 GB, free: 82.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005756/1.597, allocations: 100 kB / 0.6859 GB, free: 82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003199/1.597, allocations: 62.45 kB / 0.686 GB, free: 82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005593/1.598, allocations: 0.6577 MB / 0.6866 GB, free: 81.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/1.598, allocations: 16.98 kB / 0.6866 GB, free: 81.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.736e-05/1.598, allocations: 20.34 kB / 0.6866 GB, free: 81.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002173/1.598, allocations: 156.1 kB / 0.6868 GB, free: 81.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.75e-05/1.599, allocations: 27.91 kB / 0.6868 GB, free: 81.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008366/1.599, allocations: 378.6 kB / 0.6872 GB, free: 81.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.48e-06/1.599, allocations: 3.953 kB / 0.6872 GB, free: 81.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.876e-06/1.599, allocations: 0 / 0.6872 GB, free: 81.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006972/1.6, allocations: 0.5744 MB / 0.6877 GB, free: 80.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/1.601, allocations: 0.7348 MB / 0.6885 GB, free: 80.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.173e-06/1.602, allocations: 3.969 kB / 0.6885 GB, free: 80.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/1.602, allocations: 38.03 kB / 0.6885 GB, free: 80.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006879/1.602, allocations: 99.47 kB / 0.6886 GB, free: 80.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/1.602, allocations: 9.094 kB / 0.6886 GB, free: 80.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005162/1.603, allocations: 0.6317 MB / 0.6892 GB, free: 79.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.911e-06/1.603, allocations: 6.594 kB / 0.6892 GB, free: 79.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/1.604, allocations: 0.5037 MB / 0.6897 GB, free: 79.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/1.604, allocations: 107.4 kB / 0.6898 GB, free: 79.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/1.604, allocations: 11 kB / 0.6898 GB, free: 79.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/1.605, allocations: 16.72 kB / 0.6898 GB, free: 79.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/1.605, allocations: 25.5 kB / 0.6899 GB, free: 79.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/1.605, allocations: 13.94 kB / 0.6899 GB, free: 79.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002687/1.605, allocations: 202 kB / 0.6901 GB, free: 79.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.59e-07/1.605, allocations: 0 / 0.6901 GB, free: 79.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008064/1.606, allocations: 157.2 kB / 0.6902 GB, free: 79.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004098/1.606, allocations: 236 kB / 0.6904 GB, free: 79.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006181/1.607, allocations: 247.5 kB / 0.6907 GB, free: 79.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.668e-06/1.607, allocations: 0 / 0.6907 GB, free: 79.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003152/1.607, allocations: 131 kB / 0.6908 GB, free: 79.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009467/1.608, allocations: 143.2 kB / 0.6909 GB, free: 79.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/1.61, allocations: 0.7927 MB / 0.6917 GB, free: 79.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/1.61, allocations: 0.7683 MB / 0.6925 GB, free: 78.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/1.61, allocations: 34.11 kB / 0.6925 GB, free: 78.32 MB / 394.7 MB Notification: Performance of SimCode: time 2.197e-06/1.61, allocations: 0 / 0.6925 GB, free: 78.32 MB / 394.7 MB Notification: Performance of Templates: time 0.0112/1.621, allocations: 7.322 MB / 0.6997 GB, free: 78.12 MB / 394.7 MB