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.00128/0.00128, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001911/0.001912, allocations: 192 kB / 18.55 MB, free: 4.566 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.317/1.317, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.248/0.248, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 68.67 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1429, allocations: 60.83 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4712/0.6142, allocations: 149.9 MB / 0.6046 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004707/0.6189, allocations: 3.134 MB / 0.6077 GB, free: 7.785 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.6191, allocations: 4 kB / 0.6077 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004792/0.6196, allocations: 63.64 kB / 0.6078 GB, free: 7.719 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.6229, allocations: 1.029 MB / 0.6088 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.6235, allocations: 199.9 kB / 0.6089 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.624, allocations: 350.7 kB / 0.6093 GB, free: 6.152 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.518e-05/0.6241, allocations: 21.06 kB / 0.6093 GB, free: 6.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002639/0.6243, allocations: 143.5 kB / 0.6094 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.6246, allocations: 107.6 kB / 0.6095 GB, free: 5.883 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.6246, allocations: 12 kB / 0.6096 GB, free: 5.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002957/0.6276, allocations: 1.516 MB / 0.611 GB, free: 4.352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.6277, allocations: 83.7 kB / 0.6111 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.6279, allocations: 103.6 kB / 0.6112 GB, free: 4.168 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.6293, allocations: 0.9978 MB / 0.6122 GB, free: 3.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.6294, allocations: 0 / 0.6122 GB, free: 3.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6294, allocations: 0 / 0.6122 GB, free: 3.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.6294, allocations: 0 / 0.6122 GB, free: 3.168 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.0009832/0.6304, allocations: 0.539 MB / 0.6127 GB, free: 2.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6304, allocations: 8.031 kB / 0.6127 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005239/0.6357, allocations: 392.2 kB / 0.6131 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.6362, allocations: 264.2 kB / 0.6133 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.6363, allocations: 20.31 kB / 0.6134 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.6364, allocations: 16 kB / 0.6134 GB, free: 1.859 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.6378, allocations: 485.3 kB / 0.6138 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.6379, allocations: 8 kB / 0.6139 GB, free: 1.367 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.789e-05/0.638, allocations: 11.88 kB / 0.6139 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.638, allocations: 4 kB / 0.6139 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.6395, allocations: 0.5036 MB / 0.6144 GB, free: 0.8516 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.003231/0.6427, allocations: 0.9813 MB / 0.6153 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.6436, allocations: 305 kB / 0.6156 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003872/0.644, allocations: 153.6 kB / 0.6158 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002694/0.6467, allocations: 0.9762 MB / 0.6167 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.6467, allocations: 42.56 kB / 0.6168 GB, free: 14.15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.846e-06/0.6468, allocations: 0 / 0.6168 GB, free: 14.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001403/0.6482, allocations: 401.8 kB / 0.6171 GB, free: 13.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/0.6483, allocations: 81.11 kB / 0.6172 GB, free: 13.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.6484, allocations: 110.6 kB / 0.6173 GB, free: 13.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.6485, allocations: 33.7 kB / 0.6173 GB, free: 13.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.6486, allocations: 120.3 kB / 0.6175 GB, free: 13.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.6487, allocations: 106.5 kB / 0.6176 GB, free: 13.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000166/0.6489, allocations: 62.02 kB / 0.6176 GB, free: 13.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.6491, allocations: 326.8 kB / 0.6179 GB, free: 12.87 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.6494, allocations: 116.6 kB / 0.618 GB, free: 12.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.65, allocations: 195.5 kB / 0.6182 GB, free: 12.53 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000825/0.6508, allocations: 345.4 kB / 0.6186 GB, free: 12.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.6508, allocations: 7.938 kB / 0.6186 GB, free: 12.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001114/0.6519, allocations: 377.8 kB / 0.6189 GB, free: 11.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.652, allocations: 8 kB / 0.6189 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.652, allocations: 4 kB / 0.6189 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.652, allocations: 4.312 kB / 0.6189 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005603/0.6526, allocations: 75.89 kB / 0.619 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.6526, allocations: 5.641 kB / 0.619 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.6531, allocations: 31.77 kB / 0.6191 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.747e-05/0.6531, allocations: 16 kB / 0.6191 GB, free: 11.64 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.0002827/0.6534, allocations: 149.6 kB / 0.6192 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.6536, allocations: 15.81 kB / 0.6192 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.6549, allocations: 371.1 kB / 0.6196 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.6549, allocations: 4 kB / 0.6196 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.6549, allocations: 4 kB / 0.6196 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.6549, allocations: 3.938 kB / 0.6196 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008971/0.6558, allocations: 360.7 kB / 0.6199 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6559, allocations: 4 kB / 0.6199 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.6564, allocations: 51.91 kB / 0.62 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.6564, allocations: 7.984 kB / 0.62 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/0.6565, allocations: 8 kB / 0.62 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.6565, allocations: 5.938 kB / 0.62 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6565, allocations: 4 kB / 0.62 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.6578, allocations: 0.5491 MB / 0.6206 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/0.6579, allocations: 92.86 kB / 0.6206 GB, free: 9.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.658, allocations: 8.062 kB / 0.6206 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/0.6585, allocations: 19.97 kB / 0.6207 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.6586, allocations: 23.97 kB / 0.6207 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.6587, allocations: 15.92 kB / 0.6207 GB, free: 9.863 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.172e-05/0.6588, allocations: 91.27 kB / 0.6208 GB, free: 9.773 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6588, allocations: 0 / 0.6208 GB, free: 9.773 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001384/0.6602, allocations: 231.8 kB / 0.621 GB, free: 9.547 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.001705/0.6619, allocations: 434.7 kB / 0.6214 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.6629, allocations: 318.5 kB / 0.6217 GB, free: 8.805 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.663, allocations: 0 / 0.6217 GB, free: 8.805 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.6634, allocations: 148.4 kB / 0.6219 GB, free: 8.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009774/0.6643, allocations: 82.45 kB / 0.622 GB, free: 8.582 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.6662, allocations: 0.7292 MB / 0.6227 GB, free: 7.828 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007206/0.6669, allocations: 0.7362 MB / 0.6234 GB, free: 7.066 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007789/0.6677, allocations: 93.69 kB / 0.6235 GB, free: 6.973 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.668, allocations: 27.44 kB / 0.6235 GB, free: 6.949 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.668, allocations: 0 / 0.6235 GB, free: 6.949 MB / 462.1 MB Notification: Performance of Templates: time 0.02268/0.6907, allocations: 8.302 MB / 0.6316 GB, free: 14.7 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/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