Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.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) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.635/1.635, allocations: 171.3 MB / 179.2 MB, free: 7.586 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.379e-05/2.387e-05, allocations: 8 kB / 222.5 MB, free: 8.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07037/0.07042, allocations: 38.76 MB / 261.3 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.261, allocations: 440.7 MB / 0.6855 GB, free: 122.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/1.262, allocations: 67.52 kB / 0.6855 GB, free: 122.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08459/1.346, allocations: 29.24 MB / 0.7141 GB, free: 94.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.086e-06/1.346, allocations: 0 / 0.7141 GB, free: 94.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/1.346, allocations: 4 kB / 0.7141 GB, free: 94.02 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003793/1.347, allocations: 378.3 kB / 0.7145 GB, free: 93.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.347, allocations: 12.03 kB / 0.7145 GB, free: 93.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/1.349, allocations: 184.1 kB / 0.7146 GB, free: 93.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/1.349, allocations: 206.8 kB / 0.7148 GB, free: 93.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/1.349, allocations: 4 kB / 0.7148 GB, free: 93.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.247e-05/1.349, allocations: 7.984 kB / 0.7149 GB, free: 93.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003761/1.349, allocations: 144 kB / 0.715 GB, free: 93.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/1.35, allocations: 136.1 kB / 0.7151 GB, free: 92.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.35, allocations: 0 / 0.7151 GB, free: 92.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/1.35, allocations: 0 / 0.7151 GB, free: 92.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/1.35, allocations: 4 kB / 0.7151 GB, free: 92.87 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009721/1.351, allocations: 0.5568 MB / 0.7157 GB, free: 92.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/1.351, allocations: 130.5 kB / 0.7158 GB, free: 92.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/1.351, allocations: 60.84 kB / 0.7158 GB, free: 92.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/1.351, allocations: 4 kB / 0.7159 GB, free: 92.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/1.351, allocations: 34.56 kB / 0.7159 GB, free: 92.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.378e-06/1.351, allocations: 3.938 kB / 0.7159 GB, free: 92.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.004019/1.355, allocations: 0.8914 MB / 0.7168 GB, free: 91.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/1.355, allocations: 51.41 kB / 0.7168 GB, free: 90.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/1.355, allocations: 101 kB / 0.7169 GB, free: 90.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/1.355, allocations: 29.7 kB / 0.7169 GB, free: 90.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/1.355, allocations: 162.4 kB / 0.7171 GB, free: 90.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/1.355, allocations: 67 kB / 0.7172 GB, free: 90.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/1.356, allocations: 0 / 0.7172 GB, free: 90.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.176e-05/1.356, allocations: 322.8 kB / 0.7175 GB, free: 90.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/1.356, allocations: 63.92 kB / 0.7175 GB, free: 90.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/1.356, allocations: 91.61 kB / 0.7176 GB, free: 90.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/1.356, allocations: 75.52 kB / 0.7177 GB, free: 90.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.259e-06/1.356, allocations: 0 / 0.7177 GB, free: 90.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004582/1.357, allocations: 232.7 kB / 0.7179 GB, free: 89.83 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.357, allocations: 4 kB / 0.7179 GB, free: 89.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.801e-06/1.357, allocations: 4 kB / 0.7179 GB, free: 89.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001553/1.357, allocations: 36.84 kB / 0.7179 GB, free: 89.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/1.357, allocations: 55.89 kB / 0.718 GB, free: 89.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003481/1.357, allocations: 0.5681 MB / 0.7186 GB, free: 89.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/1.358, allocations: 8.094 kB / 0.7186 GB, free: 89.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/1.358, allocations: 27.98 kB / 0.7186 GB, free: 89.1 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.422e-05/1.358, allocations: 112.8 kB / 0.7187 GB, free: 88.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/1.358, allocations: 11.91 kB / 0.7187 GB, free: 88.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008717/1.359, allocations: 318.9 kB / 0.719 GB, free: 88.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/1.359, allocations: 11.94 kB / 0.719 GB, free: 88.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.667e-06/1.359, allocations: 0 / 0.719 GB, free: 88.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/1.359, allocations: 0 / 0.719 GB, free: 88.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008761/1.36, allocations: 0.5533 MB / 0.7196 GB, free: 88.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.36, allocations: 7.938 kB / 0.7196 GB, free: 88.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003956/1.36, allocations: 59.89 kB / 0.7196 GB, free: 87.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.109e-05/1.36, allocations: 20.86 kB / 0.7196 GB, free: 87.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.449e-05/1.36, allocations: 8.078 kB / 0.7197 GB, free: 87.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006942/1.361, allocations: 1.221 MB / 0.7208 GB, free: 86.6 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.361, allocations: 4.156 kB / 0.7209 GB, free: 86.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005974/1.362, allocations: 434.6 kB / 0.7213 GB, free: 86.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/1.362, allocations: 89.11 kB / 0.7213 GB, free: 86.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/1.362, allocations: 3.953 kB / 0.7214 GB, free: 86.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/1.362, allocations: 4 kB / 0.7214 GB, free: 86.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/1.362, allocations: 23.97 kB / 0.7214 GB, free: 85.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/1.362, allocations: 31.98 kB / 0.7214 GB, free: 85.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.773e-05/1.362, allocations: 79.28 kB / 0.7215 GB, free: 85.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-07/1.362, allocations: 0 / 0.7215 GB, free: 85.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005961/1.363, allocations: 103.9 kB / 0.7216 GB, free: 85.78 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008679/1.364, allocations: 0.6256 MB / 0.7222 GB, free: 85.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004399/1.364, allocations: 180.3 kB / 0.7224 GB, free: 84.97 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/1.364, allocations: 0 / 0.7224 GB, free: 84.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/1.365, allocations: 201.7 kB / 0.7226 GB, free: 84.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/1.365, allocations: 44.23 kB / 0.7226 GB, free: 84.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/1.366, allocations: 345.4 kB / 0.7229 GB, free: 84.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/1.366, allocations: 0.7124 MB / 0.7236 GB, free: 83.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/1.366, allocations: 59.39 kB / 0.7237 GB, free: 83.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.411e-06/1.366, allocations: 7.938 kB / 0.7237 GB, free: 83.54 MB / 346.7 MB Notification: Performance of Templates: time 0.009546/1.376, allocations: 6.385 MB / 0.7299 GB, free: 77.14 MB / 346.7 MB