Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(ModelicaTest.Media.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="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.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="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001402/0.001402, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 242.5 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1998/0.1998, allocations: 44.17 MB / 336.8 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 67.44 kB / 408.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1756, allocations: 60.83 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4507/0.6264, allocations: 147.7 MB / 0.6024 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003665/0.6301, allocations: 3.232 MB / 0.6055 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.6302, allocations: 4 kB / 0.6056 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.6306, allocations: 55.7 kB / 0.6056 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.6327, allocations: 0.9435 MB / 0.6065 GB, free: 9.379 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.6332, allocations: 188.9 kB / 0.6067 GB, free: 9.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.6337, allocations: 482.5 kB / 0.6072 GB, free: 8.727 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.6337, allocations: 21 kB / 0.6072 GB, free: 8.703 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.634, allocations: 127.6 kB / 0.6073 GB, free: 8.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.6342, allocations: 123.5 kB / 0.6074 GB, free: 8.457 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.6342, allocations: 8 kB / 0.6074 GB, free: 8.449 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.6372, allocations: 1.754 MB / 0.6091 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.6373, allocations: 75.83 kB / 0.6092 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.6375, allocations: 99.52 kB / 0.6093 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.6387, allocations: 0.7719 MB / 0.6101 GB, free: 5.746 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.6387, allocations: 0 / 0.6101 GB, free: 5.746 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.6388, allocations: 0 / 0.6101 GB, free: 5.746 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.6388, allocations: 3.938 kB / 0.6101 GB, free: 5.742 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.001006/0.6398, allocations: 0.539 MB / 0.6106 GB, free: 5.156 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6398, allocations: 8.031 kB / 0.6106 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003923/0.6438, allocations: 392.6 kB / 0.611 GB, free: 4.766 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.6441, allocations: 264.2 kB / 0.6112 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.6442, allocations: 16.31 kB / 0.6112 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.6442, allocations: 16 kB / 0.6113 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000977/0.6452, allocations: 489.3 kB / 0.6117 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.6453, allocations: 4 kB / 0.6117 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.6453, allocations: 8 kB / 0.6117 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.6453, allocations: 4 kB / 0.6117 GB, free: 3.934 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.6464, allocations: 0.5035 MB / 0.6122 GB, free: 3.43 MB / 446.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.002263/0.6487, allocations: 0.9818 MB / 0.6132 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.6493, allocations: 301 kB / 0.6135 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.6497, allocations: 158.5 kB / 0.6136 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002166/0.6518, allocations: 0.9723 MB / 0.6146 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.6519, allocations: 42.5 kB / 0.6146 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 3.246e-06/0.6519, allocations: 0 / 0.6146 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.001071/0.653, allocations: 405.6 kB / 0.615 GB, free: 344 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.653, allocations: 81.11 kB / 0.6151 GB, free: 244 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.6531, allocations: 113.8 kB / 0.6152 GB, free: 120 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.6532, allocations: 33.7 kB / 0.6152 GB, free: 80 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.6533, allocations: 116.4 kB / 0.6153 GB, free: 15.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.152e-05/0.6534, allocations: 102.5 kB / 0.6154 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.6535, allocations: 62.02 kB / 0.6155 GB, free: 15.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6536, allocations: 326.8 kB / 0.6158 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.6539, allocations: 112.6 kB / 0.6159 GB, free: 15.35 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.6542, allocations: 211.4 kB / 0.6161 GB, free: 15.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.6548, allocations: 345.8 kB / 0.6164 GB, free: 14.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.942e-06/0.6548, allocations: 7.938 kB / 0.6165 GB, free: 14.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007272/0.6555, allocations: 369.1 kB / 0.6168 GB, free: 14.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6556, allocations: 8 kB / 0.6168 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6556, allocations: 2.688 kB / 0.6168 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.6556, allocations: 7.984 kB / 0.6168 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.656, allocations: 72.22 kB / 0.6169 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.6561, allocations: 15.98 kB / 0.6169 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.6564, allocations: 27.78 kB / 0.6169 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.6565, allocations: 15.98 kB / 0.6169 GB, free: 14.21 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.0001555/0.6566, allocations: 141.7 kB / 0.6171 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.6567, allocations: 19.75 kB / 0.6171 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008177/0.6576, allocations: 368.2 kB / 0.6175 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6576, allocations: 7.938 kB / 0.6175 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.6576, allocations: 0 / 0.6175 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6576, allocations: 3.984 kB / 0.6175 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.6582, allocations: 360.8 kB / 0.6178 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6583, allocations: 0 / 0.6178 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.6587, allocations: 55.95 kB / 0.6179 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6587, allocations: 0 / 0.6179 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.6588, allocations: 19.98 kB / 0.6179 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.6588, allocations: 4 kB / 0.6179 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6588, allocations: 3.938 kB / 0.6179 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.6597, allocations: 0.5469 MB / 0.6184 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.6598, allocations: 92.86 kB / 0.6185 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.6598, allocations: 10.56 kB / 0.6185 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.6603, allocations: 23.92 kB / 0.6185 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.6603, allocations: 19.97 kB / 0.6186 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.6604, allocations: 19.98 kB / 0.6186 GB, free: 12.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.27e-05/0.6605, allocations: 93.41 kB / 0.6187 GB, free: 12.35 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6605, allocations: 0 / 0.6187 GB, free: 12.35 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009279/0.6614, allocations: 239.8 kB / 0.6189 GB, free: 12.12 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.001376/0.6628, allocations: 439.1 kB / 0.6193 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006402/0.6634, allocations: 294.3 kB / 0.6196 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.6634, allocations: 0.625 kB / 0.6196 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002752/0.6637, allocations: 159.7 kB / 0.6198 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006864/0.6644, allocations: 80.95 kB / 0.6198 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.6658, allocations: 0.8294 MB / 0.6206 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.6661, allocations: 0.7326 MB / 0.6214 GB, free: 9.543 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.6663, allocations: 43.41 kB / 0.6214 GB, free: 9.504 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6663, allocations: 0 / 0.6214 GB, free: 9.504 MB / 462.1 MB Notification: Performance of Templates: time 0.01047/0.6768, allocations: 6.478 MB / 0.6277 GB, free: 3.023 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches