Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 110.5 kB / 17.73 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 187.1 kB / 18.66 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.1, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3742/0.4742, allocations: 150.9 MB / 0.5132 GB, free: 8.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.4764, allocations: 1.493 MB / 0.5146 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.511e-05/0.4765, allocations: 0 / 0.5146 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.4769, allocations: 59.67 kB / 0.5147 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.478, allocations: 386.2 kB / 0.5151 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.4785, allocations: 164 kB / 0.5152 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.4788, allocations: 183.2 kB / 0.5154 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.4788, allocations: 8 kB / 0.5154 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.479, allocations: 75.75 kB / 0.5155 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.4792, allocations: 59.7 kB / 0.5155 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.4792, allocations: 12 kB / 0.5156 GB, free: 6.215 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.4803, allocations: 0.569 MB / 0.5161 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.4804, allocations: 31.94 kB / 0.5161 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.802e-05/0.4805, allocations: 51.8 kB / 0.5162 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.4811, allocations: 389.5 kB / 0.5166 GB, free: 5.188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4811, allocations: 0 / 0.5166 GB, free: 5.188 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4811, allocations: 0 / 0.5166 GB, free: 5.188 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.4811, allocations: 3.938 kB / 0.5166 GB, free: 5.184 MB / 446.1 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.0006195/0.4818, allocations: 442.9 kB / 0.517 GB, free: 4.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4818, allocations: 8.031 kB / 0.517 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.4819, allocations: 42.69 kB / 0.517 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.4841, allocations: 192.6 kB / 0.5172 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.4843, allocations: 204.4 kB / 0.5174 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4843, allocations: 11.94 kB / 0.5174 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.4844, allocations: 11.95 kB / 0.5174 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.4849, allocations: 205.5 kB / 0.5176 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.4849, allocations: 0 / 0.5176 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.485, allocations: 4 kB / 0.5176 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.485, allocations: 4 kB / 0.5176 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006256/0.4856, allocations: 243.7 kB / 0.5179 GB, free: 3.742 MB / 446.1 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.001888/0.4875, allocations: 0.6726 MB / 0.5185 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.488, allocations: 190.5 kB / 0.5187 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.4883, allocations: 92.77 kB / 0.5188 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/0.4885, allocations: 97.08 kB / 0.5189 GB, free: 2.609 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.4885, allocations: 34.56 kB / 0.5189 GB, free: 2.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.4885, allocations: 0 / 0.5189 GB, free: 2.566 MB / 446.1 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.005803/0.4943, allocations: 1.539 MB / 0.5204 GB, free: 0.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.4944, allocations: 55.41 kB / 0.5205 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.4945, allocations: 113.8 kB / 0.5206 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/0.4946, allocations: 29.7 kB / 0.5206 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.4946, allocations: 96.36 kB / 0.5207 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.4947, allocations: 71.42 kB / 0.5208 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.4948, allocations: 45.7 kB / 0.5208 GB, free: 488 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.495, allocations: 322.8 kB / 0.5211 GB, free: 156 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.4953, allocations: 87.95 kB / 0.5212 GB, free: 68 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002826/0.4956, allocations: 123.2 kB / 0.5213 GB, free: 15.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.4961, allocations: 231.3 kB / 0.5215 GB, free: 15.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4961, allocations: 3.938 kB / 0.5216 GB, free: 15.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006393/0.4967, allocations: 290.2 kB / 0.5218 GB, free: 15.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4968, allocations: 4 kB / 0.5218 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.4968, allocations: 0 / 0.5218 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.4969, allocations: 24.84 kB / 0.5219 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.4974, allocations: 55.89 kB / 0.5219 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003997/0.4978, allocations: 0.533 MB / 0.5224 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.4981, allocations: 12.02 kB / 0.5224 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.4981, allocations: 8 kB / 0.5224 GB, free: 14.73 MB / 462.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.4983, allocations: 133.7 kB / 0.5226 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.4983, allocations: 15.94 kB / 0.5226 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007543/0.4991, allocations: 311.3 kB / 0.5229 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4991, allocations: 4 kB / 0.5229 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4991, allocations: 3.938 kB / 0.5229 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.4991, allocations: 4.734 kB / 0.5229 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.5003, allocations: 0.6725 MB / 0.5236 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5003, allocations: 0 / 0.5236 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.5008, allocations: 51.89 kB / 0.5236 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.519e-05/0.5008, allocations: 24.78 kB / 0.5236 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.5009, allocations: 18.27 kB / 0.5236 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.502, allocations: 1.363 MB / 0.525 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.502, allocations: 4.031 kB / 0.525 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008651/0.5028, allocations: 457.9 kB / 0.5254 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.5029, allocations: 89.03 kB / 0.5255 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.503, allocations: 4 kB / 0.5255 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.5033, allocations: 11.98 kB / 0.5255 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.5033, allocations: 15.98 kB / 0.5255 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.5034, allocations: 11.98 kB / 0.5255 GB, free: 11.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.988e-05/0.5034, allocations: 91.34 kB / 0.5256 GB, free: 11.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5034, allocations: 0 / 0.5256 GB, free: 11.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005146/0.504, allocations: 131.7 kB / 0.5258 GB, free: 11.07 MB / 462.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001808/0.5058, allocations: 1.126 MB / 0.5269 GB, free: 9.906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006545/0.5064, allocations: 239.7 kB / 0.5271 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.5065, allocations: 0 / 0.5271 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.5069, allocations: 234.9 kB / 0.5273 GB, free: 9.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.5074, allocations: 49.55 kB / 0.5274 GB, free: 9.383 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.5105, allocations: 2.143 MB / 0.5295 GB, free: 7.117 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.5109, allocations: 0.7046 MB / 0.5301 GB, free: 6.387 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002768/0.5112, allocations: 53.39 kB / 0.5302 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.5113, allocations: 39.42 kB / 0.5302 GB, free: 6.297 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5113, allocations: 0 / 0.5302 GB, free: 6.297 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.5487, allocations: 8.018 MB / 0.5381 GB, free: 14.21 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.57, allocations: 4.062 kB / 0.5381 GB, free: 14.21 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches