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.TestOnly.IdealGasN2.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.189/2.189, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.545e-05/1.588e-05, allocations: 0 / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2716, allocations: 54.86 MB / 358 MB, free: 14.92 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.328, allocations: 455.7 MB / 0.7947 GB, free: 11.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/1.328, allocations: 71.27 kB / 0.7948 GB, free: 11.64 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4425/1.771, allocations: 29.27 MB / 0.8233 GB, free: 171.9 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.272e-06/1.771, allocations: 4 kB / 0.8233 GB, free: 171.9 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/1.771, allocations: 0 / 0.8233 GB, free: 171.9 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004306/1.771, allocations: 386.9 kB / 0.8237 GB, free: 171.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/1.771, allocations: 6.719 kB / 0.8237 GB, free: 171.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/1.773, allocations: 184.7 kB / 0.8239 GB, free: 171.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/1.773, allocations: 211.1 kB / 0.8241 GB, free: 171.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/1.773, allocations: 0.6875 kB / 0.8241 GB, free: 171.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/1.774, allocations: 6.094 kB / 0.8241 GB, free: 171.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003818/1.774, allocations: 155.3 kB / 0.8243 GB, free: 171.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/1.774, allocations: 137.8 kB / 0.8244 GB, free: 171.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/1.774, allocations: 0 / 0.8244 GB, free: 171.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/1.774, allocations: 3.938 kB / 0.8244 GB, free: 171.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.378e-06/1.774, allocations: 0 / 0.8244 GB, free: 171.1 MB / 474.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.001001/1.775, allocations: 0.5588 MB / 0.8249 GB, free: 170.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/1.776, allocations: 118.4 kB / 0.8251 GB, free: 170.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/1.776, allocations: 61.11 kB / 0.8251 GB, free: 170.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/1.776, allocations: 3.375 kB / 0.8251 GB, free: 170.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/1.776, allocations: 34.5 kB / 0.8251 GB, free: 170.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.401e-06/1.776, allocations: 4 kB / 0.8251 GB, free: 170.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=19): time 0.004093/1.78, allocations: 0.8816 MB / 0.826 GB, free: 170 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/1.78, allocations: 54.12 kB / 0.8261 GB, free: 169.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/1.78, allocations: 109.5 kB / 0.8262 GB, free: 169.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/1.78, allocations: 25.7 kB / 0.8262 GB, free: 169.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/1.78, allocations: 156.6 kB / 0.8263 GB, free: 169.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/1.78, allocations: 75.41 kB / 0.8264 GB, free: 169.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/1.78, allocations: 3.938 kB / 0.8264 GB, free: 169.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.363e-05/1.78, allocations: 320.8 kB / 0.8267 GB, free: 169.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/1.78, allocations: 59.62 kB / 0.8268 GB, free: 169.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/1.781, allocations: 88.64 kB / 0.8269 GB, free: 169.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/1.781, allocations: 77.06 kB / 0.8269 GB, free: 169.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.299e-06/1.781, allocations: 0 / 0.8269 GB, free: 169.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004725/1.781, allocations: 228.2 kB / 0.8272 GB, free: 169.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.781, allocations: 8.438 kB / 0.8272 GB, free: 169.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.702e-06/1.781, allocations: 3.188 kB / 0.8272 GB, free: 169.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/1.781, allocations: 36.98 kB / 0.8272 GB, free: 169.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003724/1.782, allocations: 61.61 kB / 0.8273 GB, free: 169.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000357/1.782, allocations: 0.5746 MB / 0.8278 GB, free: 168.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/1.782, allocations: 0 / 0.8278 GB, free: 168.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/1.783, allocations: 28.78 kB / 0.8278 GB, free: 168.5 MB / 474.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 0.0001023/1.783, allocations: 111.9 kB / 0.828 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/1.783, allocations: 12.52 kB / 0.828 GB, free: 168.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009238/1.784, allocations: 321.4 kB / 0.8283 GB, free: 168.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.579e-06/1.784, allocations: 7.25 kB / 0.8283 GB, free: 168.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.853e-06/1.784, allocations: 0 / 0.8283 GB, free: 168.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.517e-06/1.784, allocations: 7.75 kB / 0.8283 GB, free: 168.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/1.785, allocations: 0.5494 MB / 0.8288 GB, free: 167.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.188e-06/1.785, allocations: 3.375 kB / 0.8288 GB, free: 167.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/1.785, allocations: 68.53 kB / 0.8289 GB, free: 167.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/1.785, allocations: 18.77 kB / 0.8289 GB, free: 167.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/1.785, allocations: 13.73 kB / 0.8289 GB, free: 167.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007892/1.786, allocations: 1.219 MB / 0.8301 GB, free: 166.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.361e-06/1.786, allocations: 0 / 0.8301 GB, free: 166.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/1.787, allocations: 441.2 kB / 0.8305 GB, free: 166.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/1.787, allocations: 86.16 kB / 0.8306 GB, free: 166.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/1.787, allocations: 0 / 0.8306 GB, free: 166.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/1.787, allocations: 9.922 kB / 0.8306 GB, free: 166.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/1.788, allocations: 24.73 kB / 0.8306 GB, free: 166.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/1.788, allocations: 20.25 kB / 0.8307 GB, free: 166.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.874e-05/1.788, allocations: 93.75 kB / 0.8308 GB, free: 166.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.88e-07/1.788, allocations: 0 / 0.8308 GB, free: 166.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006465/1.788, allocations: 103.4 kB / 0.8309 GB, free: 166.1 MB / 474.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.0009421/1.789, allocations: 0.6148 MB / 0.8315 GB, free: 165.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004913/1.79, allocations: 175.8 kB / 0.8316 GB, free: 165.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.79, allocations: 0 / 0.8316 GB, free: 165.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/1.79, allocations: 213.4 kB / 0.8318 GB, free: 165.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/1.791, allocations: 42.83 kB / 0.8319 GB, free: 165.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006372/1.791, allocations: 333.3 kB / 0.8322 GB, free: 165.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/1.791, allocations: 0.7115 MB / 0.8329 GB, free: 164.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/1.792, allocations: 58.08 kB / 0.8329 GB, free: 164.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.64e-06/1.792, allocations: 0 / 0.8329 GB, free: 164.7 MB / 474.7 MB Notification: Performance of Templates: time 0.01005/1.802, allocations: 6.393 MB / 0.8392 GB, free: 158.8 MB / 474.7 MB