Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.000353, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07779/0.07817, allocations: 44.51 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3979/0.4761, allocations: 137.1 MB / 445.5 MB, free: 2.266 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.4795, allocations: 1.939 MB / 447.4 MB, free: 328 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.4797, allocations: 4 kB / 447.5 MB, free: 324 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.4803, allocations: 147.3 kB / 447.6 MB, free: 176 kB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007596/0.4811, allocations: 267.1 kB / 447.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.4822, allocations: 279.4 kB / 448.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007461/0.4829, allocations: 494.9 kB / 448.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.4831, allocations: 69.56 kB / 448.7 MB, free: 15.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.4843, allocations: 438.8 kB / 449.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.4846, allocations: 175.3 kB / 449.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.781e-05/0.4847, allocations: 16 kB / 449.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.485, allocations: 99.88 kB / 449.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.4852, allocations: 79.77 kB / 449.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.4853, allocations: 89.58 kB / 449.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006073/0.4859, allocations: 406.9 kB / 450 MB, free: 13.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.898e-06/0.4859, allocations: 0 / 450 MB, free: 13.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.486, allocations: 0 / 450 MB, free: 13.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.848e-06/0.486, allocations: 0 / 450 MB, free: 13.8 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008994/0.4869, allocations: 0.5145 MB / 450.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.4869, allocations: 15.97 kB / 450.5 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003443/0.4873, allocations: 43.61 kB / 450.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.4878, allocations: 270.6 kB / 450.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.4878, allocations: 20.5 kB / 450.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.4879, allocations: 24 kB / 450.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.4885, allocations: 326.9 kB / 451.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.4886, allocations: 3.906 kB / 451.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/0.4887, allocations: 12 kB / 451.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.4887, allocations: 4 kB / 451.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000473/0.4892, allocations: 201.6 kB / 451.4 MB, free: 12.27 MB / 346.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.002365/0.4915, allocations: 1.577 MB / 452.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.492, allocations: 178.7 kB / 453.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.492, allocations: 4 kB / 453.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.4921, allocations: 38.56 kB / 453.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 2.847e-06/0.4921, allocations: 0 / 453.2 MB, free: 10.31 MB / 346.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.006562/0.4987, allocations: 1.622 MB / 454.8 MB, free: 8.559 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.4987, allocations: 51.41 kB / 454.8 MB, free: 8.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.4991, allocations: 256.8 kB / 455.1 MB, free: 8.238 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.74e-05/0.4992, allocations: 33.7 kB / 455.1 MB, free: 8.199 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.4994, allocations: 230.7 kB / 455.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.4995, allocations: 94.64 kB / 455.4 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.4995, allocations: 8 kB / 455.4 MB, free: 7.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4997, allocations: 326.8 kB / 455.8 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.5, allocations: 87.95 kB / 455.9 MB, free: 7.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.5003, allocations: 183.9 kB / 456 MB, free: 7.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.5006, allocations: 116 kB / 456.1 MB, free: 7.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.924e-06/0.5007, allocations: 4 kB / 456.1 MB, free: 7.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009281/0.5016, allocations: 391.2 kB / 456.5 MB, free: 6.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.5016, allocations: 4 kB / 456.5 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.5017, allocations: 4.406 kB / 456.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/0.502, allocations: 77.62 kB / 456.6 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.5024, allocations: 84.64 kB / 456.7 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.5044, allocations: 1.857 MB / 458.6 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.5047, allocations: 24.17 kB / 458.6 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.5048, allocations: 47.95 kB / 458.6 MB, free: 4.465 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002422/0.5051, allocations: 153.7 kB / 458.8 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/0.5052, allocations: 31.72 kB / 458.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.5066, allocations: 439.6 kB / 459.2 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.5066, allocations: 7.938 kB / 459.2 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.56e-06/0.5066, allocations: 3.953 kB / 459.2 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007828/0.5074, allocations: 0.5553 MB / 459.8 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.5088, allocations: 0.7193 MB / 460.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.345e-06/0.5089, allocations: 0 / 460.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/0.5093, allocations: 67.89 kB / 460.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001173/0.5094, allocations: 24.84 kB / 460.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.5095, allocations: 19.98 kB / 460.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.5107, allocations: 1.284 MB / 461.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.681e-06/0.5108, allocations: 0 / 461.9 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000965/0.5117, allocations: 498.7 kB / 462.4 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.5119, allocations: 96.86 kB / 462.5 MB, free: 232 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.5119, allocations: 4 kB / 462.5 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.5123, allocations: 15.98 kB / 462.5 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.5124, allocations: 27.97 kB / 462.5 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.495e-05/0.5124, allocations: 40 kB / 462.6 MB, free: 144 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002898/0.5128, allocations: 186 kB / 462.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.5128, allocations: 0 / 462.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006812/0.5135, allocations: 124 kB / 462.9 MB, free: 15.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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.0004515/0.5139, allocations: 155.1 kB / 463 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008547/0.5148, allocations: 370.4 kB / 463.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5148, allocations: 4.75 kB / 463.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.5153, allocations: 238.4 kB / 463.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.5163, allocations: 157 kB / 463.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.5179, allocations: 0.8499 MB / 464.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.5184, allocations: 0.7723 MB / 465.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003756/0.5188, allocations: 75.41 kB / 465.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of SimCode: time 1.535e-06/0.5188, allocations: 0 / 465.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of Templates: time 0.01382/0.5327, allocations: 7.47 MB / 473 MB, free: 5.68 MB / 362.7 MB