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.001275/0.001275, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.00132/0.00132, allocations: 191 kB / 18.66 MB, free: 4.445 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.233/1.233, 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.001175/0.001175, allocations: 55.92 kB / 328 MB, free: 3.82 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08085/0.08203, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3032/0.3853, allocations: 151.2 MB / 0.5135 GB, free: 8.309 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003393/0.3888, allocations: 3.04 MB / 0.5165 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.3889, allocations: 0 / 0.5165 GB, free: 5.266 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.3894, allocations: 63.64 kB / 0.5165 GB, free: 5.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.3917, allocations: 1.005 MB / 0.5175 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.3922, allocations: 200.1 kB / 0.5177 GB, free: 4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005148/0.3927, allocations: 358.6 kB / 0.518 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.3928, allocations: 13.08 kB / 0.5181 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.3931, allocations: 151.4 kB / 0.5182 GB, free: 3.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.3933, allocations: 111.5 kB / 0.5183 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.3934, allocations: 16 kB / 0.5183 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.3959, allocations: 1.469 MB / 0.5198 GB, free: 1.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.641e-05/0.396, allocations: 75.83 kB / 0.5198 GB, free: 1.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.3961, allocations: 99.59 kB / 0.5199 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.3977, allocations: 0.9822 MB / 0.5209 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3977, allocations: 0 / 0.5209 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3977, allocations: 4 kB / 0.5209 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3978, allocations: 4 kB / 0.5209 GB, free: 0.7266 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.0009905/0.3988, allocations: 0.5429 MB / 0.5214 GB, free: 140 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3988, allocations: 11.97 kB / 0.5214 GB, free: 128 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/0.3989, allocations: 54.73 kB / 0.5215 GB, free: 64 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.4003, allocations: 204.5 kB / 0.5217 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.4006, allocations: 248.1 kB / 0.5219 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.4007, allocations: 12.75 kB / 0.5219 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.308e-05/0.4007, allocations: 27.84 kB / 0.522 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.4013, allocations: 369.5 kB / 0.5223 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4013, allocations: 0 / 0.5223 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.4014, allocations: 15.98 kB / 0.5223 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.4014, allocations: 4 kB / 0.5223 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005243/0.4019, allocations: 419.6 kB / 0.5227 GB, free: 14.74 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.00158/0.4035, allocations: 0.8045 MB / 0.5235 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.4039, allocations: 229 kB / 0.5237 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.4041, allocations: 122.5 kB / 0.5238 GB, free: 13.52 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/0.4057, allocations: 0.8853 MB / 0.5247 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.4057, allocations: 46.55 kB / 0.5248 GB, free: 12.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/0.4057, allocations: 0 / 0.5248 GB, free: 12.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001084/0.4068, allocations: 358.5 kB / 0.5251 GB, free: 12.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.4069, allocations: 85.05 kB / 0.5252 GB, free: 11.97 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.886e-05/0.407, allocations: 121.7 kB / 0.5253 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.407, allocations: 29.7 kB / 0.5253 GB, free: 11.81 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.4071, allocations: 112.4 kB / 0.5254 GB, free: 11.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.4072, allocations: 106.4 kB / 0.5255 GB, free: 11.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.622e-05/0.4073, allocations: 66.03 kB / 0.5256 GB, free: 11.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4074, allocations: 326.8 kB / 0.5259 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.4076, allocations: 96.55 kB / 0.526 GB, free: 11.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.4078, allocations: 187.5 kB / 0.5262 GB, free: 10.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.4082, allocations: 299.8 kB / 0.5265 GB, free: 10.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4082, allocations: 0.875 kB / 0.5265 GB, free: 10.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005633/0.4088, allocations: 357 kB / 0.5268 GB, free: 10.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4088, allocations: 4 kB / 0.5268 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.4088, allocations: 4 kB / 0.5268 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4089, allocations: 4 kB / 0.5268 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.4092, allocations: 75.89 kB / 0.5269 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.4092, allocations: 4 kB / 0.5269 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.4094, allocations: 27.69 kB / 0.5269 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.4095, allocations: 20.8 kB / 0.5269 GB, free: 10.06 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.0001252/0.4096, allocations: 145.7 kB / 0.5271 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.522e-05/0.4097, allocations: 15.81 kB / 0.5271 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005917/0.4103, allocations: 319.4 kB / 0.5274 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4103, allocations: 4 kB / 0.5274 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4103, allocations: 3.984 kB / 0.5274 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.4103, allocations: 2.5 kB / 0.5274 GB, free: 9.555 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.4109, allocations: 335 kB / 0.5277 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4109, allocations: 0 / 0.5277 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.4112, allocations: 51.97 kB / 0.5278 GB, free: 9.137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4112, allocations: 8 kB / 0.5278 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.4113, allocations: 8 kB / 0.5278 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4113, allocations: 3.938 kB / 0.5278 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4113, allocations: 3.938 kB / 0.5278 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006852/0.412, allocations: 0.499 MB / 0.5283 GB, free: 8.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.412, allocations: 96.86 kB / 0.5284 GB, free: 8.484 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.4121, allocations: 12.05 kB / 0.5284 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.4124, allocations: 12 kB / 0.5284 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.4124, allocations: 19.97 kB / 0.5284 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.4124, allocations: 19.98 kB / 0.5284 GB, free: 8.422 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.788e-05/0.4125, allocations: 93.06 kB / 0.5285 GB, free: 8.332 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4125, allocations: 0 / 0.5285 GB, free: 8.332 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007375/0.4132, allocations: 223.8 kB / 0.5287 GB, free: 8.113 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.001818/0.4151, allocations: 1.367 MB / 0.5301 GB, free: 6.719 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004557/0.4155, allocations: 256.3 kB / 0.5303 GB, free: 6.469 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4156, allocations: 0 / 0.5303 GB, free: 6.469 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.4157, allocations: 127.8 kB / 0.5304 GB, free: 6.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.4164, allocations: 85.58 kB / 0.5305 GB, free: 6.266 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.4194, allocations: 2.662 MB / 0.5331 GB, free: 3.457 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.4197, allocations: 0.7361 MB / 0.5338 GB, free: 2.695 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.42, allocations: 77.81 kB / 0.5339 GB, free: 2.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.4201, allocations: 59.42 kB / 0.534 GB, free: 2.562 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4202, allocations: 4 kB / 0.534 GB, free: 2.559 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.45, allocations: 10.69 MB / 0.5444 GB, free: 7.805 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.13, allocations: 7.969 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