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.001402/0.001403, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.00145/0.00145, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.352/1.352, allocations: 222.9 MB / 243 MB, free: 15.14 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.2112/0.2112, allocations: 44.17 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 60.34 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1295, allocations: 60.83 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3863/0.5158, allocations: 149.9 MB / 0.606 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.5198, allocations: 3.136 MB / 0.6091 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.017e-05/0.5199, allocations: 0 / 0.6091 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.5203, allocations: 63.64 kB / 0.6092 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.5228, allocations: 1.027 MB / 0.6102 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.5233, allocations: 204 kB / 0.6104 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.5238, allocations: 346.7 kB / 0.6107 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.572e-05/0.5238, allocations: 17.06 kB / 0.6107 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.5241, allocations: 151.5 kB / 0.6109 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.5243, allocations: 111.6 kB / 0.611 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.5243, allocations: 16 kB / 0.611 GB, free: 5.305 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.527, allocations: 1.481 MB / 0.6124 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.5271, allocations: 83.7 kB / 0.6125 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.5272, allocations: 99.64 kB / 0.6126 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.5286, allocations: 0.9995 MB / 0.6136 GB, free: 2.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5287, allocations: 0 / 0.6136 GB, free: 2.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5287, allocations: 4 kB / 0.6136 GB, free: 2.637 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.5287, allocations: 0 / 0.6136 GB, free: 2.637 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.0008469/0.5295, allocations: 0.5351 MB / 0.6141 GB, free: 2.055 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5296, allocations: 12.03 kB / 0.6141 GB, free: 2.043 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.531, allocations: 204.5 kB / 0.6143 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.5314, allocations: 252.2 kB / 0.6145 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.5315, allocations: 25.12 kB / 0.6146 GB, free: 1.535 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/0.5315, allocations: 16 kB / 0.6146 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.5321, allocations: 373.4 kB / 0.6149 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5322, allocations: 4 kB / 0.6149 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.5322, allocations: 8 kB / 0.615 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5322, allocations: 4 kB / 0.615 GB, free: 1.129 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005644/0.5328, allocations: 403.7 kB / 0.6153 GB, free: 0.7344 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.001627/0.5344, allocations: 0.8007 MB / 0.6161 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.5348, allocations: 225.1 kB / 0.6163 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.535, allocations: 121.6 kB / 0.6165 GB, free: 15.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001845/0.5368, allocations: 0.9841 MB / 0.6174 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.5369, allocations: 44.69 kB / 0.6175 GB, free: 14.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.733e-06/0.5369, allocations: 0 / 0.6175 GB, free: 14.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001207/0.5381, allocations: 359.4 kB / 0.6178 GB, free: 13.96 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.5382, allocations: 81.11 kB / 0.6179 GB, free: 13.86 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.5383, allocations: 113.8 kB / 0.618 GB, free: 13.74 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.5383, allocations: 33.7 kB / 0.618 GB, free: 13.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.5384, allocations: 112.4 kB / 0.6181 GB, free: 13.58 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.5385, allocations: 110.5 kB / 0.6182 GB, free: 13.47 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/0.5386, allocations: 62.02 kB / 0.6183 GB, free: 13.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5387, allocations: 326.8 kB / 0.6186 GB, free: 13.08 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.5389, allocations: 96.59 kB / 0.6187 GB, free: 12.98 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.5391, allocations: 183.5 kB / 0.6189 GB, free: 12.77 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.5395, allocations: 298.5 kB / 0.6192 GB, free: 12.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.5396, allocations: 3.938 kB / 0.6192 GB, free: 12.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005734/0.5401, allocations: 343.5 kB / 0.6195 GB, free: 12.1 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.5402, allocations: 4 kB / 0.6195 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.5402, allocations: 7.938 kB / 0.6195 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.5402, allocations: 4 kB / 0.6195 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.5406, allocations: 79.78 kB / 0.6196 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.5406, allocations: 7.984 kB / 0.6196 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.5408, allocations: 28 kB / 0.6196 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.5408, allocations: 20 kB / 0.6196 GB, free: 11.95 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.541, allocations: 141.7 kB / 0.6198 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.5411, allocations: 15.81 kB / 0.6198 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006558/0.5417, allocations: 324.7 kB / 0.6201 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.5418, allocations: 4 kB / 0.6201 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5418, allocations: 0 / 0.6201 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5418, allocations: 0 / 0.6201 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.5424, allocations: 331.5 kB / 0.6204 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5424, allocations: 4 kB / 0.6204 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/0.5427, allocations: 55.91 kB / 0.6205 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5427, allocations: 8 kB / 0.6205 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.5428, allocations: 12.86 kB / 0.6205 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5428, allocations: 0 / 0.6205 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5428, allocations: 0 / 0.6205 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.5435, allocations: 0.5023 MB / 0.621 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.036e-05/0.5436, allocations: 92.86 kB / 0.6211 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.5436, allocations: 13.25 kB / 0.6211 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.5439, allocations: 15.98 kB / 0.6211 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.544, allocations: 19.97 kB / 0.6211 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.544, allocations: 12 kB / 0.6211 GB, free: 10.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.202e-05/0.5441, allocations: 87.27 kB / 0.6212 GB, free: 10.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5441, allocations: 0 / 0.6212 GB, free: 10.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008091/0.5449, allocations: 231.8 kB / 0.6214 GB, free: 10.02 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.0009723/0.5459, allocations: 439.3 kB / 0.6219 GB, free: 9.578 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004933/0.5464, allocations: 261.2 kB / 0.6221 GB, free: 9.324 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5464, allocations: 0.625 kB / 0.6221 GB, free: 9.324 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.5466, allocations: 133.8 kB / 0.6222 GB, free: 9.195 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.5472, allocations: 87.95 kB / 0.6223 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.5484, allocations: 0.7271 MB / 0.623 GB, free: 8.355 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.5487, allocations: 0.7285 MB / 0.6237 GB, free: 7.602 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002778/0.549, allocations: 64.48 kB / 0.6238 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.555e-05/0.5491, allocations: 31.44 kB / 0.6238 GB, free: 7.508 MB / 462.1 MB Notification: Performance of SimCode: time 2.8e-07/0.5491, allocations: 4 kB / 0.6238 GB, free: 7.504 MB / 462.1 MB Notification: Performance of Templates: time 0.01337/0.5624, allocations: 8.175 MB / 0.6318 GB, free: 15.38 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 -s gbode -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