Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(ModelicaTest): time 2.366/2.366, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004624, allocations: 8 kB / 314.9 MB, free: 9.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3665, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.251/2.618, allocations: 0.7224 GB / 1.084 GB, free: 119.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/2.618, allocations: 80.64 kB / 1.084 GB, free: 119.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1174/2.736, allocations: 33.52 MB / 1.116 GB, free: 91.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.435e-06/2.736, allocations: 0 / 1.116 GB, free: 91.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/2.736, allocations: 0 / 1.116 GB, free: 91.59 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006358/2.737, allocations: 414.8 kB / 1.117 GB, free: 91.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/2.737, allocations: 8.031 kB / 1.117 GB, free: 91.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002858/2.739, allocations: 185.8 kB / 1.117 GB, free: 90.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/2.74, allocations: 213.8 kB / 1.117 GB, free: 90.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/2.74, allocations: 4.062 kB / 1.117 GB, free: 90.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/2.74, allocations: 11.95 kB / 1.117 GB, free: 90.73 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007295/2.741, allocations: 201.8 kB / 1.117 GB, free: 90.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/2.741, allocations: 0 / 1.117 GB, free: 90.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/2.741, allocations: 7.812 kB / 1.117 GB, free: 90.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/2.741, allocations: 0 / 1.117 GB, free: 90.58 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008514/2.742, allocations: 211.5 kB / 1.118 GB, free: 90.44 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002128/2.744, allocations: 0.6237 MB / 1.118 GB, free: 89.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/2.744, allocations: 162.2 kB / 1.118 GB, free: 89.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/2.745, allocations: 89.09 kB / 1.118 GB, free: 89.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/2.745, allocations: 34.25 kB / 1.118 GB, free: 89.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 3.006e-06/2.745, allocations: 0 / 1.118 GB, free: 89.61 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.009316/2.754, allocations: 1.471 MB / 1.12 GB, free: 88.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/2.754, allocations: 51.41 kB / 1.12 GB, free: 88.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.145e-05/2.754, allocations: 121 kB / 1.12 GB, free: 88.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/2.754, allocations: 25.7 kB / 1.12 GB, free: 88.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.465e-05/2.754, allocations: 170.4 kB / 1.12 GB, free: 87.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/2.754, allocations: 70.48 kB / 1.12 GB, free: 87.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/2.755, allocations: 3.188 kB / 1.12 GB, free: 87.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.906e-05/2.755, allocations: 326.7 kB / 1.121 GB, free: 87.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003131/2.755, allocations: 78.03 kB / 1.121 GB, free: 87.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/2.755, allocations: 117.5 kB / 1.121 GB, free: 87.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/2.756, allocations: 92.98 kB / 1.121 GB, free: 87.33 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/2.756, allocations: 0 / 1.121 GB, free: 87.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008977/2.757, allocations: 274.6 kB / 1.121 GB, free: 87.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/2.757, allocations: 4 kB / 1.121 GB, free: 87.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/2.757, allocations: 0 / 1.121 GB, free: 87.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001801/2.757, allocations: 28.73 kB / 1.121 GB, free: 87.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/2.757, allocations: 55.52 kB / 1.121 GB, free: 87.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003656/2.758, allocations: 0.5405 MB / 1.122 GB, free: 86.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/2.758, allocations: 7.844 kB / 1.122 GB, free: 86.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/2.758, allocations: 8 kB / 1.122 GB, free: 86.48 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 () * Number of clocked 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.0001645/2.758, allocations: 121.5 kB / 1.122 GB, free: 86.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/2.759, allocations: 15.84 kB / 1.122 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/2.76, allocations: 293.9 kB / 1.122 GB, free: 86.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/2.76, allocations: 8 kB / 1.122 GB, free: 86.12 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/2.76, allocations: 0 / 1.122 GB, free: 86.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/2.76, allocations: 0 / 1.122 GB, free: 86.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/2.761, allocations: 0.6642 MB / 1.123 GB, free: 85.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/2.761, allocations: 0 / 1.123 GB, free: 85.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/2.762, allocations: 55.98 kB / 1.123 GB, free: 85.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001605/2.762, allocations: 20.72 kB / 1.123 GB, free: 85.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/2.762, allocations: 7.938 kB / 1.123 GB, free: 85.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008938/2.763, allocations: 1.269 MB / 1.124 GB, free: 84.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/2.763, allocations: 3.953 kB / 1.124 GB, free: 84.07 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/2.764, allocations: 432 kB / 1.125 GB, free: 83.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/2.764, allocations: 89.03 kB / 1.125 GB, free: 83.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/2.765, allocations: 7.812 kB / 1.125 GB, free: 83.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/2.765, allocations: 7.953 kB / 1.125 GB, free: 83.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/2.765, allocations: 18.91 kB / 1.125 GB, free: 83.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/2.765, allocations: 12 kB / 1.125 GB, free: 83.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.699e-05/2.765, allocations: 87.52 kB / 1.125 GB, free: 83.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.9e-07/2.765, allocations: 0 / 1.125 GB, free: 83.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008556/2.766, allocations: 164.2 kB / 1.125 GB, free: 83.36 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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.001534/2.768, allocations: 0.6232 MB / 1.126 GB, free: 82.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009592/2.769, allocations: 211.3 kB / 1.126 GB, free: 82.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/2.769, allocations: 3.938 kB / 1.126 GB, free: 82.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005359/2.769, allocations: 226.4 kB / 1.126 GB, free: 82.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/2.77, allocations: 53.66 kB / 1.126 GB, free: 82.35 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/2.771, allocations: 0.5924 MB / 1.127 GB, free: 81.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/2.771, allocations: 0.7127 MB / 1.127 GB, free: 81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/2.771, allocations: 23.42 kB / 1.127 GB, free: 80.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.452e-06/2.771, allocations: 0 / 1.127 GB, free: 80.98 MB / 490.7 MB Notification: Performance of Templates: time 0.01554/2.787, allocations: 7.418 MB / 1.135 GB, free: 73.58 MB / 490.7 MB