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.001093/0.001093, allocations: 102.5 kB / 17.72 MB, free: 5.363 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.001109/0.001109, allocations: 191 kB / 18.66 MB, free: 4.434 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.308/1.308, allocations: 205.1 MB / 224.5 MB, free: 12.27 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.001268/0.001268, allocations: 55.92 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08303/0.08431, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3401/0.4245, allocations: 151.2 MB / 0.5135 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003995/0.4285, allocations: 3.042 MB / 0.5165 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.4287, allocations: 4 kB / 0.5165 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.4292, allocations: 59.66 kB / 0.5165 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002615/0.4318, allocations: 1.005 MB / 0.5175 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.4323, allocations: 201.3 kB / 0.5177 GB, free: 4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.4328, allocations: 354.7 kB / 0.518 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.178e-05/0.4329, allocations: 13.08 kB / 0.5181 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.4332, allocations: 151.4 kB / 0.5182 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.4334, allocations: 111.6 kB / 0.5183 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.728e-05/0.4334, allocations: 16 kB / 0.5183 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.4361, allocations: 1.465 MB / 0.5197 GB, free: 1.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.4363, allocations: 75.83 kB / 0.5198 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.4364, allocations: 103.6 kB / 0.5199 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.4381, allocations: 0.9861 MB / 0.5209 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4381, allocations: 0 / 0.5209 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4381, allocations: 0 / 0.5209 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.4381, allocations: 4 kB / 0.5209 GB, free: 0.7305 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.0009106/0.439, allocations: 0.5429 MB / 0.5214 GB, free: 144 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4391, allocations: 8.031 kB / 0.5214 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.4392, allocations: 54.73 kB / 0.5215 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.4405, allocations: 196.5 kB / 0.5217 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.4409, allocations: 256.1 kB / 0.5219 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.441, allocations: 12.75 kB / 0.5219 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.441, allocations: 27.84 kB / 0.5219 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006213/0.4416, allocations: 377.5 kB / 0.5223 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.4417, allocations: 0 / 0.5223 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.4417, allocations: 8 kB / 0.5223 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4417, allocations: 4 kB / 0.5223 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.4423, allocations: 415.6 kB / 0.5227 GB, free: 14.75 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.001748/0.4441, allocations: 0.8123 MB / 0.5235 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004099/0.4445, allocations: 229 kB / 0.5237 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.4447, allocations: 117.7 kB / 0.5238 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/0.4464, allocations: 0.8931 MB / 0.5247 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.4465, allocations: 38.56 kB / 0.5247 GB, free: 12.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 3.386e-06/0.4465, allocations: 4 kB / 0.5248 GB, free: 12.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001233/0.4478, allocations: 370.5 kB / 0.5251 GB, free: 12.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.4478, allocations: 81.09 kB / 0.5252 GB, free: 11.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.714e-05/0.4479, allocations: 117.8 kB / 0.5253 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.448, allocations: 33.7 kB / 0.5253 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.4481, allocations: 108.4 kB / 0.5254 GB, free: 11.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.387e-05/0.4482, allocations: 106.4 kB / 0.5255 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.4483, allocations: 66.02 kB / 0.5256 GB, free: 11.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4484, allocations: 326.8 kB / 0.5259 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.4486, allocations: 92.61 kB / 0.526 GB, free: 11.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.4489, allocations: 195.4 kB / 0.5262 GB, free: 10.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.4494, allocations: 287.3 kB / 0.5265 GB, free: 10.56 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.4494, allocations: 4 kB / 0.5265 GB, free: 10.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006284/0.45, allocations: 350.7 kB / 0.5268 GB, free: 10.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4501, allocations: 11.92 kB / 0.5268 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4501, allocations: 6.891 kB / 0.5268 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4501, allocations: 4 kB / 0.5268 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.4505, allocations: 71.91 kB / 0.5269 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.4505, allocations: 4 kB / 0.5269 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.4507, allocations: 31.67 kB / 0.5269 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.4508, allocations: 16 kB / 0.5269 GB, free: 10.07 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.0001519/0.4509, allocations: 145.9 kB / 0.5271 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.451, allocations: 19.81 kB / 0.5271 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006728/0.4517, allocations: 316.1 kB / 0.5274 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.4517, allocations: 4 kB / 0.5274 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4517, allocations: 0 / 0.5274 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4518, allocations: 0.875 kB / 0.5274 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000571/0.4523, allocations: 335 kB / 0.5277 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4523, allocations: 3.938 kB / 0.5277 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003387/0.4527, allocations: 55.97 kB / 0.5278 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.4527, allocations: 0 / 0.5278 GB, free: 9.141 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.4527, allocations: 12 kB / 0.5278 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4528, allocations: 10.94 kB / 0.5278 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4528, allocations: 3.984 kB / 0.5278 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007685/0.4535, allocations: 0.4989 MB / 0.5283 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.4536, allocations: 96.84 kB / 0.5284 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.4536, allocations: 8.062 kB / 0.5284 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003177/0.454, allocations: 15.98 kB / 0.5284 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.454, allocations: 23.92 kB / 0.5284 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.4541, allocations: 15.98 kB / 0.5284 GB, free: 8.426 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.4541, allocations: 92.36 kB / 0.5285 GB, free: 8.336 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4541, allocations: 0 / 0.5285 GB, free: 8.336 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000832/0.455, allocations: 219.8 kB / 0.5287 GB, free: 8.121 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.00199/0.457, allocations: 1.367 MB / 0.5301 GB, free: 6.727 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000532/0.4575, allocations: 264.2 kB / 0.5303 GB, free: 6.469 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4575, allocations: 4 kB / 0.5303 GB, free: 6.465 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.4578, allocations: 127.8 kB / 0.5305 GB, free: 6.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.4585, allocations: 84.14 kB / 0.5305 GB, free: 6.262 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.4619, allocations: 2.661 MB / 0.5331 GB, free: 3.449 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.4623, allocations: 0.7322 MB / 0.5338 GB, free: 2.691 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003425/0.4626, allocations: 77.95 kB / 0.5339 GB, free: 2.617 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.4628, allocations: 59.42 kB / 0.534 GB, free: 2.559 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4628, allocations: 0 / 0.534 GB, free: 2.559 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03399/0.4968, allocations: 10.68 MB / 0.5444 GB, free: 7.809 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.45/8.946, allocations: 11.91 kB / 0.5444 GB, free: 7.797 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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