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/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.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.305/2.305, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.027e-05, allocations: 4 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3229, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.333, allocations: 456.4 MB / 0.8017 GB, free: 118.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/1.333, allocations: 67.97 kB / 0.8018 GB, free: 118.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08997/1.423, allocations: 29.81 MB / 0.8309 GB, free: 88.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.371e-06/1.423, allocations: 0 / 0.8309 GB, free: 88.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/1.423, allocations: 11.28 kB / 0.8309 GB, free: 88.54 MB / 490.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.0004085/1.424, allocations: 382.6 kB / 0.8312 GB, free: 88.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/1.424, allocations: 12.03 kB / 0.8313 GB, free: 88.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/1.426, allocations: 184.6 kB / 0.8314 GB, free: 87.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/1.426, allocations: 210.9 kB / 0.8316 GB, free: 87.69 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/1.426, allocations: 7.984 kB / 0.8316 GB, free: 87.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/1.426, allocations: 12 kB / 0.8317 GB, free: 87.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/1.427, allocations: 204.1 kB / 0.8319 GB, free: 87.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/1.427, allocations: 4 kB / 0.8319 GB, free: 87.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/1.427, allocations: 7.984 kB / 0.8319 GB, free: 87.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.469e-06/1.427, allocations: 7.953 kB / 0.8319 GB, free: 87.43 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/1.427, allocations: 144 kB / 0.832 GB, free: 87.29 MB / 490.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.001048/1.428, allocations: 0.5842 MB / 0.8326 GB, free: 86.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/1.429, allocations: 130.5 kB / 0.8327 GB, free: 86.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/1.429, allocations: 60.86 kB / 0.8328 GB, free: 86.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/1.429, allocations: 4 kB / 0.8328 GB, free: 86.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/1.429, allocations: 34.5 kB / 0.8328 GB, free: 86.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 3.041e-06/1.429, allocations: 4 kB / 0.8328 GB, free: 86.4 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005134/1.434, allocations: 1.095 MB / 0.8339 GB, free: 85.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/1.434, allocations: 55.34 kB / 0.8339 GB, free: 85.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/1.434, allocations: 101 kB / 0.834 GB, free: 85.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/1.434, allocations: 29.7 kB / 0.834 GB, free: 85.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/1.434, allocations: 170.3 kB / 0.8342 GB, free: 84.85 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/1.434, allocations: 63.33 kB / 0.8343 GB, free: 84.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/1.434, allocations: 8 kB / 0.8343 GB, free: 84.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.291e-05/1.434, allocations: 322.7 kB / 0.8346 GB, free: 84.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/1.435, allocations: 67.98 kB / 0.8347 GB, free: 84.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/1.435, allocations: 91.61 kB / 0.8347 GB, free: 84.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/1.435, allocations: 79.34 kB / 0.8348 GB, free: 84.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.21e-06/1.435, allocations: 0 / 0.8348 GB, free: 84.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005367/1.436, allocations: 248.6 kB / 0.8351 GB, free: 83.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.436, allocations: 5.875 kB / 0.8351 GB, free: 83.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.993e-06/1.436, allocations: 4 kB / 0.8351 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002166/1.436, allocations: 52.81 kB / 0.8351 GB, free: 83.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/1.436, allocations: 55.95 kB / 0.8352 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003702/1.437, allocations: 0.5679 MB / 0.8357 GB, free: 83.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/1.437, allocations: 15.92 kB / 0.8357 GB, free: 83.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/1.437, allocations: 24 kB / 0.8358 GB, free: 83.21 MB / 490.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.0001049/1.437, allocations: 116.9 kB / 0.8359 GB, free: 83.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/1.437, allocations: 11.91 kB / 0.8359 GB, free: 83.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009705/1.438, allocations: 323.2 kB / 0.8362 GB, free: 82.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.364e-06/1.438, allocations: 8 kB / 0.8362 GB, free: 82.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.828e-06/1.438, allocations: 3.953 kB / 0.8362 GB, free: 82.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.517e-06/1.438, allocations: 3.984 kB / 0.8362 GB, free: 82.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/1.439, allocations: 0.5981 MB / 0.8368 GB, free: 82.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.439, allocations: 3.953 kB / 0.8368 GB, free: 82.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/1.44, allocations: 71.98 kB / 0.8369 GB, free: 82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001114/1.44, allocations: 20.84 kB / 0.8369 GB, free: 81.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/1.44, allocations: 11.98 kB / 0.8369 GB, free: 81.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007873/1.441, allocations: 1.264 MB / 0.8381 GB, free: 80.57 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.194e-06/1.441, allocations: 4.031 kB / 0.8381 GB, free: 80.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/1.441, allocations: 468.5 kB / 0.8386 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/1.441, allocations: 85.02 kB / 0.8387 GB, free: 79.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/1.442, allocations: 3.953 kB / 0.8387 GB, free: 79.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/1.442, allocations: 11.98 kB / 0.8387 GB, free: 79.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.442, allocations: 23.97 kB / 0.8387 GB, free: 79.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/1.442, allocations: 24.06 kB / 0.8387 GB, free: 79.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.705e-05/1.442, allocations: 99.2 kB / 0.8388 GB, free: 79.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.33e-07/1.442, allocations: 0 / 0.8388 GB, free: 79.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006615/1.443, allocations: 111.9 kB / 0.8389 GB, free: 79.7 MB / 490.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.0008519/1.444, allocations: 0.5334 MB / 0.8394 GB, free: 79.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005323/1.444, allocations: 187.8 kB / 0.8396 GB, free: 78.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.596e-06/1.444, allocations: 0 / 0.8396 GB, free: 78.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003332/1.444, allocations: 222.7 kB / 0.8398 GB, free: 78.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/1.445, allocations: 46.48 kB / 0.8399 GB, free: 78.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/1.446, allocations: 352 kB / 0.8402 GB, free: 78.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/1.446, allocations: 0.7205 MB / 0.8409 GB, free: 77.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/1.446, allocations: 47.41 kB / 0.841 GB, free: 77.52 MB / 490.7 MB Notification: Performance of SimCode: time 1.983e-06/1.446, allocations: 4 kB / 0.841 GB, free: 77.52 MB / 490.7 MB Notification: Performance of Templates: time 0.01036/1.457, allocations: 6.426 MB / 0.8472 GB, free: 71.09 MB / 490.7 MB