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.001226/0.001226, allocations: 106.6 kB / 17.73 MB, free: 5.348 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.001189/0.001189, allocations: 191 kB / 18.67 MB, free: 4.414 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.409/1.409, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001196/0.001196, allocations: 51.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07892/0.08013, allocations: 46.61 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3242/0.4044, allocations: 150.9 MB / 0.5132 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.4061, allocations: 1.494 MB / 0.5146 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.4062, allocations: 4 kB / 0.5146 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.4066, allocations: 55.66 kB / 0.5147 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008233/0.4074, allocations: 386.2 kB / 0.5151 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.4079, allocations: 160.1 kB / 0.5152 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.4081, allocations: 195.2 kB / 0.5154 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.4082, allocations: 9.828 kB / 0.5154 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.4083, allocations: 75.75 kB / 0.5155 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.4084, allocations: 63.7 kB / 0.5155 GB, free: 6.215 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.4085, allocations: 4 kB / 0.5155 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009441/0.4094, allocations: 0.569 MB / 0.5161 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.758e-05/0.4095, allocations: 27.95 kB / 0.5161 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.905e-05/0.4096, allocations: 51.8 kB / 0.5162 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.4101, allocations: 391.1 kB / 0.5165 GB, free: 5.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4101, allocations: 0 / 0.5165 GB, free: 5.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4101, allocations: 7.984 kB / 0.5166 GB, free: 5.172 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.4101, allocations: 0 / 0.5166 GB, free: 5.172 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.0004972/0.4106, allocations: 432 kB / 0.517 GB, free: 4.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4107, allocations: 12.03 kB / 0.517 GB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.4107, allocations: 38.73 kB / 0.517 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.4129, allocations: 192.6 kB / 0.5172 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.4132, allocations: 216.3 kB / 0.5174 GB, free: 4.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.4132, allocations: 7.938 kB / 0.5174 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.4132, allocations: 12 kB / 0.5174 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004672/0.4137, allocations: 197.5 kB / 0.5176 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4137, allocations: 0 / 0.5176 GB, free: 3.988 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.4138, allocations: 4 kB / 0.5176 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.4138, allocations: 4 kB / 0.5176 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.4144, allocations: 247.7 kB / 0.5179 GB, free: 3.738 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.001728/0.4161, allocations: 0.6724 MB / 0.5185 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004256/0.4166, allocations: 186.5 kB / 0.5187 GB, free: 2.816 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.4168, allocations: 100.8 kB / 0.5188 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.417, allocations: 93.09 kB / 0.5189 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.417, allocations: 30.81 kB / 0.5189 GB, free: 2.566 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.417, 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.005674/0.4227, allocations: 1.538 MB / 0.5204 GB, free: 0.918 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.4228, allocations: 51.41 kB / 0.5205 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.4229, allocations: 121.8 kB / 0.5206 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.4229, allocations: 25.7 kB / 0.5206 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.423, allocations: 96.41 kB / 0.5207 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.891e-05/0.4231, allocations: 70.95 kB / 0.5208 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.673e-05/0.4232, allocations: 45.69 kB / 0.5208 GB, free: 488 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.4233, allocations: 318.8 kB / 0.5211 GB, free: 160 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.4235, allocations: 87.95 kB / 0.5212 GB, free: 72 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.4238, allocations: 127.3 kB / 0.5213 GB, free: 15.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004546/0.4242, allocations: 227.2 kB / 0.5215 GB, free: 15.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4242, allocations: 7.938 kB / 0.5215 GB, free: 15.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006029/0.4248, allocations: 282.2 kB / 0.5218 GB, free: 15.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4249, allocations: 8 kB / 0.5218 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.4249, allocations: 0 / 0.5218 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.425, allocations: 24.84 kB / 0.5218 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.4255, allocations: 59.98 kB / 0.5219 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003819/0.4259, allocations: 0.5367 MB / 0.5224 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.4262, allocations: 9.375 kB / 0.5224 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.4262, allocations: 11.98 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.0001328/0.4264, allocations: 133.7 kB / 0.5226 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.4264, allocations: 12 kB / 0.5226 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007631/0.4272, allocations: 319.5 kB / 0.5229 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4272, allocations: 0 / 0.5229 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4272, allocations: 11.94 kB / 0.5229 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4273, allocations: 0 / 0.5229 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.4284, allocations: 0.664 MB / 0.5235 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.4284, allocations: 3.984 kB / 0.5235 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.4288, allocations: 56 kB / 0.5236 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.298e-05/0.4289, allocations: 24.75 kB / 0.5236 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.126e-05/0.429, allocations: 21.61 kB / 0.5236 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.43, allocations: 1.359 MB / 0.525 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.43, allocations: 0 / 0.525 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008188/0.4308, allocations: 450.1 kB / 0.5254 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.4309, allocations: 88.98 kB / 0.5255 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.4309, allocations: 4 kB / 0.5255 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.4312, allocations: 12.86 kB / 0.5255 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.4313, allocations: 23.95 kB / 0.5255 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.4313, allocations: 7.984 kB / 0.5255 GB, free: 11.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.499e-05/0.4314, allocations: 91.27 kB / 0.5256 GB, free: 11.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4314, allocations: 0 / 0.5256 GB, free: 11.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005044/0.4319, allocations: 123.9 kB / 0.5257 GB, free: 11.08 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.001632/0.4335, allocations: 1.129 MB / 0.5268 GB, free: 9.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.4342, allocations: 236 kB / 0.5271 GB, free: 9.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4342, allocations: 0 / 0.5271 GB, free: 9.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.4346, allocations: 234.4 kB / 0.5273 GB, free: 9.438 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.435, allocations: 53.89 kB / 0.5273 GB, free: 9.387 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.4379, allocations: 2.124 MB / 0.5294 GB, free: 7.141 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.4382, allocations: 0.7162 MB / 0.5301 GB, free: 6.398 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002832/0.4385, allocations: 53.53 kB / 0.5302 GB, free: 6.348 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.4386, allocations: 43.41 kB / 0.5302 GB, free: 6.305 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4386, allocations: 0 / 0.5302 GB, free: 6.305 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03099/0.4696, allocations: 8.08 MB / 0.5381 GB, free: 14.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.34, allocations: 8.047 kB / 0.5381 GB, free: 14.15 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