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: translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003002/0.003009, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.584/3.584, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001815/0.001814, allocations: 98.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005949/0.000595, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1491, allocations: 47.58 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.6892/0.8383, allocations: 125.9 MB / 0.4887 GB, free: 15.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007613/0.846, allocations: 2.511 MB / 0.4912 GB, free: 13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.8462, allocations: 4 kB / 0.4912 GB, free: 13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.8467, allocations: 47.72 kB / 0.4913 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004522/0.8512, allocations: 0.7049 MB / 0.4919 GB, free: 12.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.8524, allocations: 151.8 kB / 0.4921 GB, free: 12.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000677/0.8531, allocations: 215.5 kB / 0.4923 GB, free: 11.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.8532, allocations: 17.06 kB / 0.4923 GB, free: 11.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006711/0.8539, allocations: 163.5 kB / 0.4925 GB, free: 11.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.8543, allocations: 79.75 kB / 0.4925 GB, free: 11.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.726e-05/0.8543, allocations: 8 kB / 0.4925 GB, free: 11.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006148/0.8605, allocations: 1.092 MB / 0.4936 GB, free: 10.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.8608, allocations: 63.84 kB / 0.4937 GB, free: 10.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.861, allocations: 61.64 kB / 0.4937 GB, free: 10.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00263/0.8636, allocations: 0.593 MB / 0.4943 GB, free: 9.805 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.8637, allocations: 0 / 0.4943 GB, free: 9.805 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.8637, allocations: 3.938 kB / 0.4943 GB, free: 9.801 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.8637, allocations: 0 / 0.4943 GB, free: 9.801 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.001668/0.8654, allocations: 0.492 MB / 0.4948 GB, free: 9.262 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.885e-05/0.8655, allocations: 8.031 kB / 0.4948 GB, free: 9.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.869, allocations: 207.5 kB / 0.495 GB, free: 9.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006408/0.8697, allocations: 234.8 kB / 0.4952 GB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.8697, allocations: 12.38 kB / 0.4952 GB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.8699, allocations: 23.91 kB / 0.4953 GB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.8713, allocations: 369.7 kB / 0.4956 GB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.8713, allocations: 0 / 0.4956 GB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-05/0.8715, allocations: 12 kB / 0.4956 GB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.8715, allocations: 8 kB / 0.4956 GB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.873, allocations: 403.7 kB / 0.496 GB, free: 7.961 MB / 378.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.004128/0.8771, allocations: 0.8164 MB / 0.4968 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/0.8782, allocations: 229 kB / 0.497 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00298/0.8812, allocations: 0.6754 MB / 0.4977 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.593e-05/0.8813, allocations: 38.56 kB / 0.4977 GB, free: 6.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 5.119e-06/0.8813, allocations: 4 kB / 0.4977 GB, free: 6.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002931/0.8843, allocations: 367.6 kB / 0.4981 GB, free: 5.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.274e-05/0.8844, allocations: 81.06 kB / 0.4982 GB, free: 5.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.8846, allocations: 117.8 kB / 0.4983 GB, free: 5.422 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.222e-05/0.8848, allocations: 33.7 kB / 0.4983 GB, free: 5.383 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.8849, allocations: 178.9 kB / 0.4985 GB, free: 5.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.8851, allocations: 106.5 kB / 0.4986 GB, free: 5.102 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.8852, allocations: 11.94 kB / 0.4986 GB, free: 5.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.8854, allocations: 330.8 kB / 0.4989 GB, free: 4.758 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/0.886, allocations: 92.61 kB / 0.499 GB, free: 4.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.8866, allocations: 187.4 kB / 0.4992 GB, free: 4.449 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006061/0.8872, allocations: 117.2 kB / 0.4993 GB, free: 4.336 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.8872, allocations: 4 kB / 0.4993 GB, free: 4.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001606/0.8889, allocations: 343.4 kB / 0.4996 GB, free: 3.992 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.8889, allocations: 4 kB / 0.4996 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.889, allocations: 4 kB / 0.4996 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.889, allocations: 4 kB / 0.4996 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.8901, allocations: 80.14 kB / 0.4997 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.291e-05/0.8901, allocations: 8 kB / 0.4997 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/0.8908, allocations: 31.7 kB / 0.4997 GB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.8909, allocations: 15.98 kB / 0.4998 GB, free: 3.848 MB / 378.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.0003499/0.8913, allocations: 141.7 kB / 0.4999 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.8915, allocations: 11.91 kB / 0.4999 GB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/0.8933, allocations: 331.4 kB / 0.5002 GB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.8933, allocations: 4 kB / 0.5002 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.8933, allocations: 0 / 0.5002 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.8934, allocations: 0 / 0.5002 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.8949, allocations: 338.8 kB / 0.5005 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.895, allocations: 3.938 kB / 0.5005 GB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009952/0.896, allocations: 59.91 kB / 0.5006 GB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.896, allocations: 0 / 0.5006 GB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.8961, allocations: 15.92 kB / 0.5006 GB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/0.8961, allocations: 4 kB / 0.5006 GB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8962, allocations: 0 / 0.5006 GB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.8981, allocations: 0.5169 MB / 0.5011 GB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.8983, allocations: 88.95 kB / 0.5012 GB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.8984, allocations: 12.05 kB / 0.5012 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008649/0.8993, allocations: 19.91 kB / 0.5012 GB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.16e-05/0.8994, allocations: 23.86 kB / 0.5013 GB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.8995, allocations: 19.98 kB / 0.5013 GB, free: 2.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.8996, allocations: 87.58 kB / 0.5014 GB, free: 2.094 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8996, allocations: 0 / 0.5014 GB, free: 2.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001782/0.9014, allocations: 215.8 kB / 0.5016 GB, free: 1.883 MB / 378.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.002401/0.9039, allocations: 366.9 kB / 0.5019 GB, free: 1.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.9054, allocations: 256.2 kB / 0.5022 GB, free: 1.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.9054, allocations: 0 / 0.5022 GB, free: 1.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000591/0.906, allocations: 124.1 kB / 0.5023 GB, free: 1.141 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.9075, allocations: 82.22 kB / 0.5024 GB, free: 1.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.9106, allocations: 0.9207 MB / 0.5033 GB, free: 112 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.9112, allocations: 0.7404 MB / 0.504 GB, free: 15.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.9117, allocations: 35.42 kB / 0.504 GB, free: 15.31 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/0.9117, allocations: 0 / 0.504 GB, free: 15.31 MB / 394.7 MB Notification: Performance of Templates: time 0.02689/0.9386, allocations: 6.514 MB / 0.5104 GB, free: 8.781 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile (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 & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.MixIdealGasAir --alarm=480 -emit_protected > 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