Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",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.001274/0.001274, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001354/0.001354, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.339/1.339, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001333/0.001333, allocations: 59.91 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.0907, allocations: 46.61 MB / 374.6 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3412/0.432, allocations: 151.2 MB / 0.5135 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003325/0.4354, allocations: 3.037 MB / 0.5165 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.4354, allocations: 4 kB / 0.5165 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.4359, allocations: 63.64 kB / 0.5165 GB, free: 5.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.438, allocations: 1.011 MB / 0.5175 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004942/0.4385, allocations: 204.1 kB / 0.5177 GB, free: 3.973 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003902/0.4389, allocations: 350.7 kB / 0.5181 GB, free: 3.629 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.439, allocations: 17.06 kB / 0.5181 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.4392, allocations: 155.5 kB / 0.5182 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.4394, allocations: 103.6 kB / 0.5183 GB, free: 3.359 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.4394, allocations: 12 kB / 0.5183 GB, free: 3.348 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.442, allocations: 1.468 MB / 0.5198 GB, free: 1.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.4421, allocations: 79.77 kB / 0.5198 GB, free: 1.801 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.4422, allocations: 103.6 kB / 0.5199 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.4436, allocations: 0.9888 MB / 0.5209 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4436, allocations: 0 / 0.5209 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4436, allocations: 0 / 0.5209 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.4436, allocations: 4 kB / 0.5209 GB, free: 0.707 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008929/0.4445, allocations: 0.5491 MB / 0.5214 GB, free: 112 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4446, allocations: 12.03 kB / 0.5215 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/0.4446, allocations: 58.67 kB / 0.5215 GB, free: 32 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.446, allocations: 192.6 kB / 0.5217 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.4464, allocations: 248.1 kB / 0.5219 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.4464, allocations: 16.75 kB / 0.5219 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.4465, allocations: 23.89 kB / 0.522 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005691/0.447, allocations: 381.5 kB / 0.5223 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4471, allocations: 0 / 0.5223 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.4471, allocations: 8 kB / 0.5223 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.4471, allocations: 4 kB / 0.5223 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.4477, allocations: 419.6 kB / 0.5227 GB, free: 14.72 MB / 462.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.001619/0.4493, allocations: 0.8087 MB / 0.5235 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003755/0.4497, allocations: 233 kB / 0.5238 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.4499, allocations: 121.7 kB / 0.5239 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/0.4516, allocations: 0.8969 MB / 0.5247 GB, free: 12.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.4516, allocations: 34.55 kB / 0.5248 GB, free: 12.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.4516, allocations: 4 kB / 0.5248 GB, free: 12.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001161/0.4528, allocations: 366.3 kB / 0.5251 GB, free: 12.03 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.4529, allocations: 81.11 kB / 0.5252 GB, free: 11.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.192e-05/0.4529, allocations: 108.6 kB / 0.5253 GB, free: 11.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.453, allocations: 33.7 kB / 0.5253 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.4531, allocations: 116.5 kB / 0.5255 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.409e-05/0.4531, allocations: 111.1 kB / 0.5256 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/0.4533, allocations: 66.02 kB / 0.5256 GB, free: 11.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4534, allocations: 326.8 kB / 0.5259 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.4536, allocations: 96.61 kB / 0.526 GB, free: 11.06 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.4538, allocations: 187.4 kB / 0.5262 GB, free: 10.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.4543, allocations: 312.6 kB / 0.5265 GB, free: 10.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4543, allocations: 0 / 0.5265 GB, free: 10.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005917/0.4549, allocations: 341.9 kB / 0.5268 GB, free: 10.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4549, allocations: 8 kB / 0.5268 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4549, allocations: 0.875 kB / 0.5268 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.455, allocations: 8 kB / 0.5268 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.4553, allocations: 67.91 kB / 0.5269 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4553, allocations: 4 kB / 0.5269 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.4555, allocations: 35.77 kB / 0.527 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.4556, allocations: 16 kB / 0.527 GB, free: 10.03 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.4558, allocations: 149.9 kB / 0.5271 GB, free: 9.871 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.4559, allocations: 19.84 kB / 0.5271 GB, free: 9.852 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006473/0.4565, allocations: 318.3 kB / 0.5274 GB, free: 9.523 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.4565, allocations: 10.69 kB / 0.5274 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.4565, allocations: 4 kB / 0.5274 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4566, allocations: 0 / 0.5274 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.4571, allocations: 331.1 kB / 0.5278 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4571, allocations: 0 / 0.5278 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.4574, allocations: 55.91 kB / 0.5278 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4575, allocations: 0 / 0.5278 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/0.4575, allocations: 19.98 kB / 0.5278 GB, free: 9.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4575, allocations: 4 kB / 0.5278 GB, free: 9.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4575, allocations: 3.938 kB / 0.5278 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/0.4582, allocations: 0.5029 MB / 0.5283 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.4583, allocations: 89 kB / 0.5284 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.4583, allocations: 8.062 kB / 0.5284 GB, free: 8.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.4586, allocations: 15.98 kB / 0.5284 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.4587, allocations: 19.98 kB / 0.5285 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.4587, allocations: 15.98 kB / 0.5285 GB, free: 8.383 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.944e-05/0.4588, allocations: 88.83 kB / 0.5286 GB, free: 8.297 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4588, allocations: 0 / 0.5286 GB, free: 8.297 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000756/0.4595, allocations: 235.3 kB / 0.5288 GB, free: 8.066 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00184/0.4614, allocations: 1.371 MB / 0.5301 GB, free: 6.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004849/0.4619, allocations: 260.2 kB / 0.5304 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4619, allocations: 0 / 0.5304 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.4621, allocations: 127.8 kB / 0.5305 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.4628, allocations: 83.77 kB / 0.5306 GB, free: 6.211 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.4659, allocations: 2.666 MB / 0.5332 GB, free: 3.395 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.4662, allocations: 0.7361 MB / 0.5339 GB, free: 2.633 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.4665, allocations: 75.44 kB / 0.534 GB, free: 2.562 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.4666, allocations: 63.41 kB / 0.534 GB, free: 2.5 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4666, allocations: 0 / 0.534 GB, free: 2.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.499, allocations: 10.62 MB / 0.5444 GB, free: 7.812 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.299, allocations: 19.8 kB / 0.5444 GB, free: 7.793 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_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_MixIdealGasAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches