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.IdealGasN2Mix.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.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.18/2.18, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007978/0.0007981, allocations: 15.98 kB / 314.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4124, allocations: 54.87 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4532/0.8657, allocations: 125.7 MB / 494.9 MB, free: 13.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.8675, allocations: 1.225 MB / 496.1 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.8675, allocations: 3.406 kB / 496.1 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.8678, allocations: 37.36 kB / 496.1 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007729/0.8686, allocations: 280.1 kB / 496.4 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.8691, allocations: 131.7 kB / 496.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.8693, allocations: 117.5 kB / 496.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.8694, allocations: 3.281 kB / 496.6 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.8696, allocations: 86.42 kB / 496.7 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.8697, allocations: 41.61 kB / 496.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.8697, allocations: 3.25 kB / 496.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.8708, allocations: 445.9 kB / 497.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.8709, allocations: 29.69 kB / 497.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.8709, allocations: 41.33 kB / 497.3 MB, free: 13.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.8714, allocations: 252.1 kB / 497.5 MB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.848e-06/0.8714, allocations: 0 / 497.5 MB, free: 13.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.406e-06/0.8715, allocations: 0 / 497.5 MB, free: 13.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.378e-06/0.8715, allocations: 3.938 kB / 497.5 MB, free: 13.52 MB / 410.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.000584/0.8721, allocations: 404.4 kB / 497.9 MB, free: 13.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.8721, allocations: 11.88 kB / 497.9 MB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/0.8745, allocations: 192.5 kB / 498.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.8749, allocations: 200.7 kB / 498.3 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.8749, allocations: 12.11 kB / 498.3 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.875, allocations: 8.094 kB / 498.3 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000575/0.8756, allocations: 205 kB / 498.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.8756, allocations: 5.031 kB / 498.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.196e-05/0.8756, allocations: 6.844 kB / 498.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.327e-06/0.8757, allocations: 2.281 kB / 498.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007663/0.8764, allocations: 236.4 kB / 498.8 MB, free: 12.88 MB / 410.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.002059/0.8785, allocations: 0.6822 MB / 499.5 MB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.8791, allocations: 189.5 kB / 499.6 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.8793, allocations: 89.95 kB / 499.7 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.8793, allocations: 35.44 kB / 499.8 MB, free: 12.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.195e-06/0.8794, allocations: 0 / 499.8 MB, free: 12.33 MB / 410.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.006557/0.8859, allocations: 1.541 MB / 0.4896 GB, free: 11.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.886, allocations: 57.06 kB / 0.4896 GB, free: 11.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.8862, allocations: 108.8 kB / 0.4897 GB, free: 11.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.8862, allocations: 34.84 kB / 0.4897 GB, free: 11.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.8864, allocations: 171.6 kB / 0.4899 GB, free: 11.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.891e-05/0.8864, allocations: 66.2 kB / 0.49 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.602e-05/0.8865, allocations: 5.531 kB / 0.49 GB, free: 11.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.8867, allocations: 319.7 kB / 0.4903 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.8869, allocations: 85.88 kB / 0.4904 GB, free: 10.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.8872, allocations: 127.5 kB / 0.4905 GB, free: 10.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.8875, allocations: 105.4 kB / 0.4906 GB, free: 10.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-06/0.8876, allocations: 0 / 0.4906 GB, free: 10.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007853/0.8884, allocations: 283.2 kB / 0.4909 GB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8884, allocations: 2.938 kB / 0.4909 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.565e-06/0.8884, allocations: 2.531 kB / 0.4909 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.8886, allocations: 25.42 kB / 0.4909 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005189/0.8891, allocations: 57.73 kB / 0.4909 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004938/0.8896, allocations: 0.5377 MB / 0.4915 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.89, allocations: 14.83 kB / 0.4915 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.89, allocations: 13.11 kB / 0.4915 GB, free: 10.35 MB / 410.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.0001706/0.8902, allocations: 117.6 kB / 0.4916 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.8903, allocations: 15.25 kB / 0.4916 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009945/0.8913, allocations: 321.7 kB / 0.4919 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.771e-06/0.8914, allocations: 2.5 kB / 0.4919 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.794e-06/0.8914, allocations: 4 kB / 0.4919 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.064e-06/0.8914, allocations: 2.156 kB / 0.4919 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.8928, allocations: 0.6709 MB / 0.4926 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.289e-06/0.8928, allocations: 0 / 0.4926 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.8934, allocations: 54.55 kB / 0.4926 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.8935, allocations: 24.36 kB / 0.4927 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.8936, allocations: 8.188 kB / 0.4927 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/0.8948, allocations: 1.275 MB / 0.4939 GB, free: 8.516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.8949, allocations: 5.609 kB / 0.4939 GB, free: 8.512 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.896, allocations: 447.3 kB / 0.4944 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.8961, allocations: 96.41 kB / 0.4944 GB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/0.8961, allocations: 9.625 kB / 0.4945 GB, free: 8.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.8965, allocations: 14.95 kB / 0.4945 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.8966, allocations: 13.89 kB / 0.4945 GB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.8966, allocations: 15.5 kB / 0.4945 GB, free: 8.219 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.644e-05/0.8967, allocations: 84.97 kB / 0.4946 GB, free: 8.145 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.27e-07/0.8967, allocations: 0 / 0.4946 GB, free: 8.145 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006832/0.8974, allocations: 129.5 kB / 0.4947 GB, free: 8.129 MB / 410.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.0007891/0.8982, allocations: 249.3 kB / 0.4949 GB, free: 8.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007445/0.899, allocations: 228.1 kB / 0.4952 GB, free: 7.996 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.255e-06/0.899, allocations: 2.781 kB / 0.4952 GB, free: 7.996 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004779/0.8995, allocations: 230.8 kB / 0.4954 GB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.8999, allocations: 40.94 kB / 0.4954 GB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.901, allocations: 0.6034 MB / 0.496 GB, free: 7.504 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.9015, allocations: 0.7068 MB / 0.4967 GB, free: 6.809 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.9017, allocations: 34.78 kB / 0.4967 GB, free: 6.797 MB / 410.7 MB Notification: Performance of SimCode: time 1.54e-06/0.9017, allocations: 0 / 0.4967 GB, free: 6.797 MB / 410.7 MB Notification: Performance of Templates: time 0.0105/0.9122, allocations: 5.304 MB / 0.5019 GB, free: 4.086 MB / 410.7 MB