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.001182/0.001182, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001172/0.001172, allocations: 183.1 kB / 18.67 MB, free: 4.41 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.318/1.318, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001588/0.001588, allocations: 52.39 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08098/0.08258, allocations: 46.63 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3201/0.4027, allocations: 151.2 MB / 0.5135 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003632/0.4064, allocations: 3.041 MB / 0.5165 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.4065, allocations: 0 / 0.5165 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003324/0.4068, allocations: 55.66 kB / 0.5165 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002168/0.409, allocations: 1.007 MB / 0.5175 GB, free: 4.188 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.4095, allocations: 203.5 kB / 0.5177 GB, free: 3.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004444/0.41, allocations: 350.7 kB / 0.518 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.941e-05/0.41, allocations: 13.08 kB / 0.5181 GB, free: 3.633 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.4103, allocations: 147.5 kB / 0.5182 GB, free: 3.488 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.4105, allocations: 111.6 kB / 0.5183 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.455e-05/0.4105, allocations: 20 kB / 0.5183 GB, free: 3.359 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.4132, allocations: 1.46 MB / 0.5198 GB, free: 1.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.4133, allocations: 75.83 kB / 0.5198 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.4135, allocations: 107.5 kB / 0.5199 GB, free: 1.719 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.415, allocations: 0.985 MB / 0.5209 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.415, allocations: 0 / 0.5209 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.415, allocations: 0 / 0.5209 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.415, 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.001035/0.416, allocations: 0.5529 MB / 0.5214 GB, free: 132 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.4161, allocations: 8.031 kB / 0.5214 GB, free: 124 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.967e-05/0.4162, allocations: 58.72 kB / 0.5215 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.4175, allocations: 200.6 kB / 0.5217 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.4179, allocations: 248.1 kB / 0.5219 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.4179, allocations: 12.75 kB / 0.5219 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.418, allocations: 27.89 kB / 0.522 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005906/0.4186, allocations: 373.5 kB / 0.5223 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4186, allocations: 3.984 kB / 0.5223 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.951e-05/0.4186, allocations: 8 kB / 0.5223 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4187, allocations: 4 kB / 0.5223 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005956/0.4193, 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.001616/0.4209, allocations: 0.8087 MB / 0.5235 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000397/0.4213, allocations: 229 kB / 0.5237 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.4215, allocations: 121.7 kB / 0.5239 GB, free: 13.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/0.4232, allocations: 0.8892 MB / 0.5247 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.4233, allocations: 38.56 kB / 0.5248 GB, free: 12.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 3.506e-06/0.4233, allocations: 7.938 kB / 0.5248 GB, free: 12.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001164/0.4245, allocations: 366.2 kB / 0.5251 GB, free: 12.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.4245, allocations: 77.11 kB / 0.5252 GB, free: 11.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.4246, allocations: 113.8 kB / 0.5253 GB, free: 11.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.4247, allocations: 33.7 kB / 0.5253 GB, free: 11.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.094e-05/0.4248, allocations: 112.5 kB / 0.5254 GB, free: 11.69 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.515e-05/0.4249, allocations: 111 kB / 0.5255 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.425, allocations: 62.03 kB / 0.5256 GB, free: 11.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4251, allocations: 330.8 kB / 0.5259 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.4253, allocations: 96.55 kB / 0.526 GB, free: 11.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.4256, allocations: 187.5 kB / 0.5262 GB, free: 10.87 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.4261, allocations: 308.2 kB / 0.5265 GB, free: 10.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4261, allocations: 4 kB / 0.5265 GB, free: 10.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006161/0.4267, allocations: 342 kB / 0.5268 GB, free: 10.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.4267, allocations: 4 kB / 0.5268 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4268, allocations: 4 kB / 0.5268 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4268, allocations: 4 kB / 0.5268 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.4271, allocations: 75.89 kB / 0.5269 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4271, allocations: 6.734 kB / 0.5269 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.4273, allocations: 28.66 kB / 0.5269 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.4274, allocations: 19.98 kB / 0.527 GB, free: 10.05 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.0001385/0.4275, allocations: 145.9 kB / 0.5271 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.635e-05/0.4276, allocations: 23.89 kB / 0.5271 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000649/0.4283, allocations: 318.9 kB / 0.5274 GB, free: 9.547 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4283, allocations: 4 kB / 0.5274 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4283, allocations: 3.984 kB / 0.5274 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4283, allocations: 0 / 0.5274 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.4289, allocations: 334.1 kB / 0.5277 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4289, allocations: 0 / 0.5277 GB, free: 9.176 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.4292, allocations: 55.97 kB / 0.5278 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4292, allocations: 0 / 0.5278 GB, free: 9.121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.4293, allocations: 15.94 kB / 0.5278 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4293, allocations: 7.938 kB / 0.5278 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4293, allocations: 0 / 0.5278 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007549/0.43, allocations: 0.5069 MB / 0.5283 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.4301, allocations: 89 kB / 0.5284 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.767e-05/0.4301, allocations: 12.05 kB / 0.5284 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.4304, allocations: 15.94 kB / 0.5284 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.4305, allocations: 23.97 kB / 0.5285 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.4305, allocations: 15.98 kB / 0.5285 GB, free: 8.402 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.246e-05/0.4306, allocations: 91.89 kB / 0.5286 GB, free: 8.312 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.823e-06/0.4306, allocations: 0 / 0.5286 GB, free: 8.312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000692/0.4313, allocations: 227.3 kB / 0.5288 GB, free: 8.09 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.001877/0.4332, allocations: 1.375 MB / 0.5301 GB, free: 6.688 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004832/0.4337, allocations: 252.3 kB / 0.5304 GB, free: 6.441 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4337, allocations: 4 kB / 0.5304 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.4339, allocations: 131.8 kB / 0.5305 GB, free: 6.309 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.4345, allocations: 84.89 kB / 0.5306 GB, free: 6.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.4378, allocations: 2.66 MB / 0.5332 GB, free: 3.418 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.4382, allocations: 0.7322 MB / 0.5339 GB, free: 2.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000284/0.4385, allocations: 79.42 kB / 0.534 GB, free: 2.586 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.4386, allocations: 59.42 kB / 0.534 GB, free: 2.527 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4386, allocations: 4 kB / 0.534 GB, free: 2.523 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.4723, allocations: 10.62 MB / 0.5444 GB, free: 7.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.438, allocations: 12.05 kB / 0.5444 GB, free: 7.828 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