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.00113/0.00113, allocations: 113.4 kB / 17.73 MB, free: 5.324 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.001099/0.001099, allocations: 188.2 kB / 18.66 MB, free: 4.398 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.23/1.23, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001127/0.001127, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07113/0.07227, allocations: 46.61 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.384/0.4563, allocations: 150.9 MB / 0.5132 GB, free: 8.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002585/0.4589, allocations: 1.484 MB / 0.5146 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.4591, allocations: 4 kB / 0.5146 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.4598, allocations: 59.66 kB / 0.5147 GB, free: 7.074 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.4611, allocations: 390.2 kB / 0.5151 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.4619, allocations: 161.4 kB / 0.5152 GB, free: 6.535 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.4623, allocations: 191.2 kB / 0.5154 GB, free: 6.348 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.4623, allocations: 5.828 kB / 0.5154 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.4625, allocations: 75.75 kB / 0.5155 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.4628, allocations: 71.69 kB / 0.5155 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.4628, allocations: 4 kB / 0.5155 GB, free: 6.195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.4645, allocations: 0.569 MB / 0.5161 GB, free: 5.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.4645, allocations: 27.95 kB / 0.5161 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.4646, allocations: 47.8 kB / 0.5162 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.4656, allocations: 391.1 kB / 0.5165 GB, free: 5.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4657, allocations: 3.984 kB / 0.5166 GB, free: 5.164 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4657, allocations: 0 / 0.5166 GB, free: 5.164 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.4657, allocations: 3.938 kB / 0.5166 GB, free: 5.16 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.0007536/0.4664, allocations: 428.1 kB / 0.517 GB, free: 4.695 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.4665, allocations: 15.97 kB / 0.517 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.4666, allocations: 42.73 kB / 0.517 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002595/0.4692, allocations: 188.6 kB / 0.5172 GB, free: 4.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.4695, allocations: 220.3 kB / 0.5174 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.4695, allocations: 3.938 kB / 0.5174 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.725e-05/0.4696, allocations: 16 kB / 0.5174 GB, free: 4.172 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007288/0.4703, allocations: 193.5 kB / 0.5176 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4703, allocations: 4 kB / 0.5176 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.4704, allocations: 7.984 kB / 0.5176 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.4704, allocations: 0 / 0.5176 GB, free: 3.965 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000682/0.4711, allocations: 247.7 kB / 0.5179 GB, free: 3.723 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.00214/0.4732, allocations: 0.6724 MB / 0.5185 GB, free: 2.992 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.4739, allocations: 183 kB / 0.5187 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.4741, allocations: 96.75 kB / 0.5188 GB, free: 2.707 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/0.4743, allocations: 97.34 kB / 0.5189 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.349e-05/0.4745, allocations: 31.75 kB / 0.5189 GB, free: 2.555 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 6.432e-06/0.4745, allocations: 0 / 0.5189 GB, free: 2.555 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.006681/0.4812, allocations: 1.539 MB / 0.5204 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.4812, allocations: 59.34 kB / 0.5205 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/0.4813, allocations: 113.8 kB / 0.5206 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/0.4814, allocations: 29.7 kB / 0.5206 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.4816, allocations: 96.41 kB / 0.5207 GB, free: 0.582 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.149e-05/0.4817, allocations: 74.94 kB / 0.5208 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.4818, allocations: 45.69 kB / 0.5208 GB, free: 468 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002772/0.4821, allocations: 318.8 kB / 0.5211 GB, free: 140 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.4823, allocations: 87.95 kB / 0.5212 GB, free: 52 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.4826, allocations: 123.2 kB / 0.5213 GB, free: 15.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/0.4833, allocations: 231.2 kB / 0.5215 GB, free: 15.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4833, allocations: 3.938 kB / 0.5215 GB, free: 15.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007428/0.4841, allocations: 290.2 kB / 0.5218 GB, free: 15.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4841, allocations: 4 kB / 0.5218 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4841, allocations: 4 kB / 0.5218 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.4844, allocations: 20.84 kB / 0.5218 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.4849, allocations: 59.89 kB / 0.5219 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004994/0.4854, allocations: 0.5407 MB / 0.5224 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.4858, allocations: 4 kB / 0.5224 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/0.4859, allocations: 11.98 kB / 0.5224 GB, free: 14.71 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.0001232/0.4861, allocations: 133.7 kB / 0.5226 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.4861, allocations: 7.906 kB / 0.5226 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009796/0.4871, allocations: 311.3 kB / 0.5229 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4871, allocations: 0 / 0.5229 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4871, allocations: 11.88 kB / 0.5229 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4871, allocations: 0 / 0.5229 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.4885, allocations: 0.668 MB / 0.5235 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4885, allocations: 0 / 0.5235 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.489, allocations: 56.59 kB / 0.5236 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001388/0.4892, allocations: 28.78 kB / 0.5236 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-05/0.4893, allocations: 11.98 kB / 0.5236 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.4907, allocations: 1.363 MB / 0.525 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4907, allocations: 3.938 kB / 0.525 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.4917, allocations: 447.6 kB / 0.5254 GB, free: 11.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.4918, allocations: 88.98 kB / 0.5255 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.4919, allocations: 4 kB / 0.5255 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.4922, allocations: 11.98 kB / 0.5255 GB, free: 11.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4924, allocations: 23.88 kB / 0.5255 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/0.4925, allocations: 7.984 kB / 0.5255 GB, free: 11.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.525e-05/0.4926, allocations: 95.33 kB / 0.5256 GB, free: 11.19 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4926, allocations: 0 / 0.5256 GB, free: 11.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006762/0.4932, allocations: 127.9 kB / 0.5257 GB, free: 11.06 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.002171/0.4954, allocations: 1.129 MB / 0.5268 GB, free: 9.895 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006948/0.4961, allocations: 227.8 kB / 0.5271 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.4961, allocations: 0 / 0.5271 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.4966, allocations: 246.1 kB / 0.5273 GB, free: 9.422 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.4971, allocations: 53.2 kB / 0.5273 GB, free: 9.371 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.5009, allocations: 2.126 MB / 0.5294 GB, free: 7.125 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004375/0.5013, allocations: 0.7084 MB / 0.5301 GB, free: 6.391 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002693/0.5016, allocations: 57.38 kB / 0.5302 GB, free: 6.336 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.5018, allocations: 43.41 kB / 0.5302 GB, free: 6.293 MB / 462.1 MB Notification: Performance of SimCode: time 2.926e-06/0.5018, allocations: 0 / 0.5302 GB, free: 6.293 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/0.5443, allocations: 8.083 MB / 0.5381 GB, free: 14.14 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.55, allocations: 4.062 kB / 0.5381 GB, free: 14.14 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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