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.001165/0.001165, allocations: 115.7 kB / 17.28 MB, free: 6.219 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.001249/0.001249, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.305/1.305, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001131/0.001131, allocations: 51.92 kB / 280.2 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08259/0.08373, allocations: 46.63 MB / 326.9 MB, free: 4.715 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3079/0.3917, allocations: 149.1 MB / 475.9 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003197/0.3949, allocations: 3.041 MB / 479 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.834e-05/0.395, allocations: 0 / 479 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.3954, allocations: 55.7 kB / 479 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.3973, allocations: 0.9357 MB / 480 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.3978, allocations: 184.5 kB / 480.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003803/0.3982, allocations: 358.7 kB / 480.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.887e-05/0.3983, allocations: 17.08 kB / 480.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002234/0.3985, allocations: 151.5 kB / 480.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.3987, allocations: 119.6 kB / 480.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.3987, allocations: 12 kB / 480.8 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.401, allocations: 1.582 MB / 482.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.124e-05/0.4011, allocations: 79.83 kB / 482.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.4012, allocations: 103.6 kB / 482.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.4024, allocations: 1.076 MB / 483.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4024, allocations: 0 / 483.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.4024, allocations: 4 kB / 483.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4025, allocations: 0 / 483.6 MB, free: 10.73 MB / 382.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.000809/0.4033, allocations: 0.5352 MB / 484.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.4033, allocations: 8.031 kB / 484.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.738e-05/0.4034, allocations: 58.73 kB / 484.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/0.407, allocations: 385.3 kB / 484.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.4073, allocations: 264 kB / 484.9 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.4073, allocations: 12.75 kB / 484.9 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.4074, allocations: 23.94 kB / 484.9 MB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009333/0.4084, allocations: 493.3 kB / 485.4 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4084, allocations: 3.938 kB / 485.4 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/0.4084, allocations: 12 kB / 485.4 MB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.4085, allocations: 7.938 kB / 485.4 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009766/0.4094, allocations: 0.5075 MB / 485.9 MB, free: 8.344 MB / 382.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.002091/0.4115, allocations: 0.993 MB / 486.9 MB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.4122, allocations: 297.2 kB / 487.2 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.4125, allocations: 153.7 kB / 487.3 MB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001628/0.4141, allocations: 0.8892 MB / 488.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.4141, allocations: 46.55 kB / 488.3 MB, free: 5.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.4142, allocations: 0 / 488.3 MB, free: 5.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009366/0.4151, allocations: 397.5 kB / 488.7 MB, free: 5.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.4151, allocations: 81.11 kB / 488.7 MB, free: 5.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.4152, allocations: 113.8 kB / 488.9 MB, free: 5.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.4153, allocations: 29.7 kB / 488.9 MB, free: 5.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.4153, allocations: 112.4 kB / 489 MB, free: 4.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.253e-05/0.4154, allocations: 114.4 kB / 489.1 MB, free: 4.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.4156, allocations: 62.03 kB / 489.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4157, allocations: 326.8 kB / 489.5 MB, free: 4.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.4159, allocations: 117.5 kB / 489.6 MB, free: 4.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.4162, allocations: 203.5 kB / 489.8 MB, free: 4.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.4168, allocations: 334.8 kB / 490.1 MB, free: 3.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4168, allocations: 4 kB / 490.1 MB, free: 3.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007061/0.4175, allocations: 386.1 kB / 490.5 MB, free: 3.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.4175, allocations: 4 kB / 490.5 MB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4175, allocations: 4.625 kB / 490.5 MB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4175, allocations: 4 kB / 490.5 MB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.418, allocations: 81.95 kB / 490.6 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.418, allocations: 4 kB / 490.6 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.4183, allocations: 35.67 kB / 490.6 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.4184, allocations: 27.88 kB / 490.7 MB, free: 3.215 MB / 382.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.0001539/0.4185, allocations: 141.7 kB / 490.8 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.4186, allocations: 11.91 kB / 490.8 MB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008046/0.4194, allocations: 385.2 kB / 491.2 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.4195, allocations: 4 kB / 491.2 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4195, allocations: 0 / 491.2 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4195, allocations: 0 / 491.2 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.4201, allocations: 372.5 kB / 491.6 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4201, allocations: 0 / 491.6 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/0.4205, allocations: 63.84 kB / 491.6 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4205, allocations: 4 kB / 491.6 MB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.4205, allocations: 11.98 kB / 491.6 MB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.4206, allocations: 7.938 kB / 491.6 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4206, allocations: 0.7031 kB / 491.6 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008416/0.4214, allocations: 0.5453 MB / 492.2 MB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.4215, allocations: 88.95 kB / 492.3 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.4215, allocations: 12.06 kB / 492.3 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.4219, allocations: 15.98 kB / 492.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.422, allocations: 23.91 kB / 492.3 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.422, allocations: 15.98 kB / 492.3 MB, free: 1.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.414e-05/0.4221, allocations: 91.58 kB / 492.4 MB, free: 1.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4221, allocations: 0 / 492.4 MB, free: 1.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007811/0.4228, allocations: 227.7 kB / 492.7 MB, free: 1.133 MB / 382.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.002198/0.4251, allocations: 1.423 MB / 494.1 MB, free: 15.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006242/0.4257, allocations: 317.5 kB / 494.4 MB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4257, allocations: 0 / 494.4 MB, free: 15.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.426, allocations: 148.4 kB / 494.5 MB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/0.4266, allocations: 81.06 kB / 494.6 MB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.4301, allocations: 2.796 MB / 497.4 MB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.4304, allocations: 0.7321 MB / 498.1 MB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005089/0.4309, allocations: 89.89 kB / 498.2 MB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.4311, allocations: 59.42 kB / 498.3 MB, free: 11.31 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4311, allocations: 0 / 498.3 MB, free: 11.31 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.4534, allocations: 10.58 MB / 0.4969 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.4536, allocations: 203.4 kB / 0.4971 GB, free: 460 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/2.641, allocations: 0 / 0.4971 GB, free: 460 kB / 398.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","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches