Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01103/0.01103, allocations: 104.4 kB / 15.06 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001167/0.001167, allocations: 164.8 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.745/1.745, allocations: 170.9 MB / 187.6 MB, free: 0.9844 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2487/0.2487, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004613, allocations: 19.98 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09318/0.09369, allocations: 48.7 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5127/0.6064, allocations: 141.7 MB / 0.502 GB, free: 9.918 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02603/0.6325, allocations: 8.711 MB / 0.5105 GB, free: 1.195 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.6339, allocations: 23.81 kB / 0.5105 GB, free: 1.172 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.6359, allocations: 274.6 kB / 0.5108 GB, free: 0.9023 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008025/0.644, allocations: 1.174 MB / 0.5119 GB, free: 15.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005331/0.6494, allocations: 0.9088 MB / 0.5128 GB, free: 14.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003158/0.6525, allocations: 1.04 MB / 0.5138 GB, free: 13.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.6537, allocations: 381.1 kB / 0.5142 GB, free: 13.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.6573, allocations: 0.7362 MB / 0.5149 GB, free: 12.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.659, allocations: 446.5 kB / 0.5153 GB, free: 12.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002607/0.6593, allocations: 32 kB / 0.5154 GB, free: 12.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/0.6629, allocations: 0.632 MB / 0.516 GB, free: 11.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006753/0.6636, allocations: 219.4 kB / 0.5162 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.6641, allocations: 161.4 kB / 0.5163 GB, free: 11.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.6674, allocations: 0.9871 MB / 0.5173 GB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6674, allocations: 0 / 0.5173 GB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.278e-06/0.6675, allocations: 0 / 0.5173 GB, free: 10.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.031e-05/0.6675, allocations: 0 / 0.5173 GB, free: 10.2 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004852/0.6724, allocations: 0.9817 MB / 0.5183 GB, free: 9.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.6725, allocations: 8.031 kB / 0.5183 GB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004057/0.6729, allocations: 114.5 kB / 0.5184 GB, free: 9.031 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.6751, allocations: 128 kB / 0.5185 GB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.6772, allocations: 0.4927 MB / 0.519 GB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.6775, allocations: 100.4 kB / 0.5191 GB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002566/0.6778, allocations: 47.98 kB / 0.5191 GB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/0.681, allocations: 0.8058 MB / 0.5199 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.681, allocations: 3.938 kB / 0.5199 GB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.6812, allocations: 23.95 kB / 0.5199 GB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.6814, allocations: 44.91 kB / 0.52 GB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/0.6844, allocations: 0.6205 MB / 0.5206 GB, free: 6.645 MB / 378.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.01135/0.6958, allocations: 3.939 MB / 0.5244 GB, free: 2.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.6973, allocations: 343.4 kB / 0.5248 GB, free: 2.109 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.6975, allocations: 25.23 kB / 0.5248 GB, free: 2.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.869e-05/0.6976, allocations: 46.77 kB / 0.5248 GB, free: 2.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 5.009e-06/0.6976, allocations: 4 kB / 0.5248 GB, free: 2.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.01453/0.7122, allocations: 1.624 MB / 0.5264 GB, free: 336 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.7124, allocations: 140.4 kB / 0.5266 GB, free: 164 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/0.714, allocations: 0.5975 MB / 0.5271 GB, free: 15.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.7142, allocations: 37.7 kB / 0.5272 GB, free: 15.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/0.7148, allocations: 390.6 kB / 0.5275 GB, free: 15.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004791/0.7153, allocations: 142 kB / 0.5277 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.7156, allocations: 8 kB / 0.5277 GB, free: 14.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0009167/0.7166, allocations: 374.8 kB / 0.528 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/0.7181, allocations: 201.9 kB / 0.5282 GB, free: 14.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.7201, allocations: 0.5314 MB / 0.5288 GB, free: 13.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001913/0.7221, allocations: 303.5 kB / 0.5291 GB, free: 13.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-05/0.7222, allocations: 4 kB / 0.5291 GB, free: 13.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.006127/0.7283, allocations: 0.8803 MB / 0.5299 GB, free: 12.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.004e-05/0.7284, allocations: 8 kB / 0.5299 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.7285, allocations: 16.09 kB / 0.5299 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.731, allocations: 305.3 kB / 0.5302 GB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009174/0.7319, allocations: 131.8 kB / 0.5304 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.7337, allocations: 0.9019 MB / 0.5312 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009684/0.7347, allocations: 52.03 kB / 0.5313 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.7349, allocations: 64 kB / 0.5313 GB, free: 11.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005612/0.7355, allocations: 253.5 kB / 0.5316 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.7357, allocations: 75.11 kB / 0.5317 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.7382, allocations: 0.6663 MB / 0.5323 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.7382, allocations: 8 kB / 0.5323 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7382, allocations: 4 kB / 0.5323 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.7383, allocations: 0 / 0.5323 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003035/0.7413, allocations: 1.258 MB / 0.5335 GB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.7413, allocations: 8.094 kB / 0.5336 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/0.7434, allocations: 207.8 kB / 0.5338 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001303/0.7435, allocations: 24.84 kB / 0.5338 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.841e-05/0.7436, allocations: 27.94 kB / 0.5338 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/0.7465, allocations: 2.688 MB / 0.5364 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7465, allocations: 0 / 0.5364 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.7487, allocations: 0.8602 MB / 0.5373 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.7491, allocations: 184.3 kB / 0.5374 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.7493, allocations: 12 kB / 0.5375 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006947/0.75, allocations: 27.92 kB / 0.5375 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.7502, allocations: 43.88 kB / 0.5375 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.7503, allocations: 44.05 kB / 0.5376 GB, free: 4.172 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008337/0.7511, allocations: 415 kB / 0.538 GB, free: 3.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.7511, allocations: 0 / 0.538 GB, free: 3.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001407/0.7526, allocations: 300 kB / 0.5382 GB, free: 3.477 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003707/0.7563, allocations: 1.991 MB / 0.5402 GB, free: 1.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.7582, allocations: 0.5491 MB / 0.5407 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.7582, allocations: 5.562 kB / 0.5407 GB, free: 0.875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.7602, allocations: 414.6 kB / 0.5411 GB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005228/0.7655, allocations: 305.6 kB / 0.5414 GB, free: 168 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02411/0.7896, allocations: 11.42 MB / 0.5526 GB, free: 4.461 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.791, allocations: 0.9416 MB / 0.5535 GB, free: 3.492 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00318/0.7943, allocations: 269.8 kB / 0.5537 GB, free: 3.227 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002236/0.7966, allocations: 271.3 kB / 0.554 GB, free: 2.961 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/0.7966, allocations: 0 / 0.554 GB, free: 2.961 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07785/0.8745, allocations: 23.08 MB / 0.5765 GB, free: 11.98 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003787/0.875, allocations: 273.8 kB / 0.5768 GB, free: 11.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.514/4.389, allocations: 4.062 kB / 0.5768 GB, free: 11.62 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat