Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008609/0.0008609, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007038/0.0007038, allocations: 88.08 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003016, allocations: 12 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.185, allocations: 47.57 MB / 375.2 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2852/0.4702, allocations: 137.1 MB / 0.5003 GB, free: 1.508 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.473, allocations: 2.827 MB / 0.5031 GB, free: 1.465 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.4731, allocations: 6.906 kB / 0.5031 GB, free: 1.461 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.4734, allocations: 53.25 kB / 0.5031 GB, free: 1.461 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.4752, allocations: 0.8907 MB / 0.504 GB, free: 1.414 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.4756, allocations: 175.5 kB / 0.5041 GB, free: 1.402 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.476, allocations: 409.9 kB / 0.5045 GB, free: 1.402 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.4761, allocations: 13.92 kB / 0.5046 GB, free: 1.398 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.4763, allocations: 135.1 kB / 0.5047 GB, free: 1.398 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.4764, allocations: 120.8 kB / 0.5048 GB, free: 1.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.4765, allocations: 5.594 kB / 0.5048 GB, free: 1.398 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.479, allocations: 1.734 MB / 0.5065 GB, free: 1.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.637e-05/0.4791, allocations: 76.08 kB / 0.5066 GB, free: 1.383 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.4792, allocations: 118.8 kB / 0.5067 GB, free: 1.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.4802, allocations: 0.7578 MB / 0.5074 GB, free: 1.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4802, allocations: 0 / 0.5074 GB, free: 1.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4802, allocations: 3.344 kB / 0.5074 GB, free: 1.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4802, allocations: 4 kB / 0.5074 GB, free: 1.312 MB / 378.7 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.0007595/0.481, allocations: 498.9 kB / 0.5079 GB, free: 16.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4811, allocations: 11.59 kB / 0.5079 GB, free: 16.89 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.31e-05/0.4811, allocations: 55.16 kB / 0.508 GB, free: 16.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.4845, allocations: 380.7 kB / 0.5083 GB, free: 16.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.4849, allocations: 262.5 kB / 0.5086 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.4849, allocations: 13.56 kB / 0.5086 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.4849, allocations: 25.48 kB / 0.5086 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009223/0.4859, allocations: 491.9 kB / 0.5091 GB, free: 16.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4859, allocations: 0 / 0.5091 GB, free: 16.56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.486, allocations: 9.156 kB / 0.5091 GB, free: 16.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.486, allocations: 5.031 kB / 0.5091 GB, free: 16.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.4871, allocations: 0.5168 MB / 0.5096 GB, free: 16.56 MB / 394.7 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.001992/0.4891, allocations: 0.9899 MB / 0.5106 GB, free: 16.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.4896, allocations: 296.5 kB / 0.5109 GB, free: 16.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.4899, allocations: 156.7 kB / 0.511 GB, free: 16.03 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001598/0.4915, allocations: 0.8891 MB / 0.5119 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.4915, allocations: 40.69 kB / 0.5119 GB, free: 15.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 2.064e-06/0.4915, allocations: 0 / 0.5119 GB, free: 15.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008089/0.4923, allocations: 406.7 kB / 0.5123 GB, free: 15.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.4924, allocations: 85.83 kB / 0.5124 GB, free: 15.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.609e-05/0.4925, allocations: 107.4 kB / 0.5125 GB, free: 14.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.4925, allocations: 34.2 kB / 0.5125 GB, free: 14.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.4926, allocations: 111.3 kB / 0.5126 GB, free: 14.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.4926, allocations: 115 kB / 0.5127 GB, free: 14.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.4927, allocations: 3.375 kB / 0.5127 GB, free: 14.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.4928, allocations: 325.9 kB / 0.513 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.493, allocations: 116.4 kB / 0.5132 GB, free: 14.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.4933, allocations: 203.3 kB / 0.5134 GB, free: 14.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005299/0.4938, allocations: 338.8 kB / 0.5137 GB, free: 14.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.4938, allocations: 0.6562 kB / 0.5137 GB, free: 14.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000735/0.4946, allocations: 380.3 kB / 0.514 GB, free: 14.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4946, allocations: 6.5 kB / 0.514 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.4946, allocations: 3.844 kB / 0.514 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.4946, allocations: 3.594 kB / 0.5141 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.4951, allocations: 75.44 kB / 0.5141 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4951, allocations: 11.06 kB / 0.5141 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.4954, allocations: 33.28 kB / 0.5142 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.4954, allocations: 24.38 kB / 0.5142 GB, free: 14.2 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.4956, allocations: 141.8 kB / 0.5143 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.4957, allocations: 19.36 kB / 0.5143 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007603/0.4964, allocations: 369.5 kB / 0.5147 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4965, allocations: 5.484 kB / 0.5147 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4965, allocations: 0.625 kB / 0.5147 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4965, allocations: 0.9375 kB / 0.5147 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005442/0.497, allocations: 367.2 kB / 0.5151 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.497, allocations: 0 / 0.5151 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.4975, allocations: 61.44 kB / 0.5151 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4975, allocations: 1.938 kB / 0.5151 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.4975, allocations: 15.44 kB / 0.5151 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.341e-06/0.4975, allocations: 4.812 kB / 0.5151 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4975, allocations: 0.6875 kB / 0.5151 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008389/0.4984, allocations: 0.5549 MB / 0.5157 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.4984, allocations: 97.81 kB / 0.5158 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.4985, allocations: 13.06 kB / 0.5158 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.4989, allocations: 17.88 kB / 0.5158 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.4989, allocations: 19.59 kB / 0.5158 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.499, allocations: 16.58 kB / 0.5158 GB, free: 13.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.714e-05/0.499, allocations: 91.94 kB / 0.5159 GB, free: 13.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.499, allocations: 1 kB / 0.5159 GB, free: 13.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009809/0.5, allocations: 232.5 kB / 0.5161 GB, free: 13.35 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/0.5021, allocations: 1.419 MB / 0.5175 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005831/0.5026, allocations: 292.6 kB / 0.5178 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5027, allocations: 0 / 0.5178 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.5029, allocations: 152.7 kB / 0.518 GB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006248/0.5036, allocations: 83.03 kB / 0.518 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.5061, allocations: 1.694 MB / 0.5197 GB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.5063, allocations: 0.7497 MB / 0.5204 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.5065, allocations: 64.73 kB / 0.5205 GB, free: 10.88 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5065, allocations: 0 / 0.5205 GB, free: 10.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.704/4.211, allocations: 6.427 MB / 0.5268 GB, free: 8.785 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_MixIdealGasAir.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches