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.001133/0.001133, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001191/0.001191, allocations: 191 kB / 19.34 MB, free: 3.641 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.423/1.423, allocations: 222.9 MB / 243 MB, free: 15.09 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.2193/0.2193, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 71.47 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1425, allocations: 60.82 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4928/0.6354, allocations: 149.9 MB / 0.6061 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003759/0.6392, allocations: 3.14 MB / 0.6091 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.547e-05/0.6393, allocations: 4 kB / 0.6091 GB, free: 7.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.6397, allocations: 59.64 kB / 0.6092 GB, free: 7.219 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002939/0.6427, allocations: 1.027 MB / 0.6102 GB, free: 6.191 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006491/0.6434, allocations: 200.3 kB / 0.6104 GB, free: 6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000582/0.644, allocations: 346.7 kB / 0.6107 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.6441, allocations: 13.08 kB / 0.6107 GB, free: 5.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003213/0.6444, allocations: 155.4 kB / 0.6109 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.6447, allocations: 111.6 kB / 0.611 GB, free: 5.383 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.6447, allocations: 12 kB / 0.611 GB, free: 5.371 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003751/0.6485, allocations: 1.485 MB / 0.6124 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.6486, allocations: 75.83 kB / 0.6125 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.6488, allocations: 107.6 kB / 0.6126 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.6509, allocations: 0.9956 MB / 0.6136 GB, free: 2.707 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.6509, allocations: 3.938 kB / 0.6136 GB, free: 2.703 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.6509, allocations: 4 kB / 0.6136 GB, free: 2.699 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.6509, allocations: 4 kB / 0.6136 GB, free: 2.695 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.0009054/0.6518, allocations: 0.5312 MB / 0.6141 GB, free: 2.117 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.6519, allocations: 8.031 kB / 0.6141 GB, free: 2.109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.6533, allocations: 212.5 kB / 0.6143 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.6536, allocations: 256.2 kB / 0.6146 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.6537, allocations: 16.31 kB / 0.6146 GB, free: 1.598 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.6537, allocations: 20 kB / 0.6146 GB, free: 1.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.6543, allocations: 378.2 kB / 0.615 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6543, allocations: 0 / 0.615 GB, free: 1.199 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.6544, allocations: 8 kB / 0.615 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.6544, allocations: 4 kB / 0.615 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000536/0.6549, allocations: 403.8 kB / 0.6154 GB, free: 0.793 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.00161/0.6566, allocations: 0.7929 MB / 0.6161 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.657, allocations: 225 kB / 0.6163 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.6571, allocations: 121.7 kB / 0.6165 GB, free: 15.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001763/0.6589, allocations: 0.9802 MB / 0.6174 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.659, allocations: 47.05 kB / 0.6175 GB, free: 14.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 4.228e-06/0.659, allocations: 3.984 kB / 0.6175 GB, free: 14.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=29): time 0.001111/0.6601, allocations: 359.4 kB / 0.6178 GB, free: 14.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.6601, allocations: 85.05 kB / 0.6179 GB, free: 13.92 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.768e-05/0.6602, allocations: 117.8 kB / 0.618 GB, free: 13.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.6603, allocations: 29.7 kB / 0.618 GB, free: 13.76 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.6604, allocations: 112.4 kB / 0.6181 GB, free: 13.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.6604, allocations: 114.5 kB / 0.6183 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.6605, allocations: 58.02 kB / 0.6183 GB, free: 13.47 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.6607, allocations: 322.8 kB / 0.6186 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.6608, allocations: 96.61 kB / 0.6187 GB, free: 13.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.6611, allocations: 183.5 kB / 0.6189 GB, free: 12.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.6615, allocations: 303.7 kB / 0.6192 GB, free: 12.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6615, allocations: 6 kB / 0.6192 GB, free: 12.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000578/0.6621, allocations: 341.6 kB / 0.6195 GB, free: 12.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6622, allocations: 8 kB / 0.6195 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6622, allocations: 7.938 kB / 0.6195 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6622, allocations: 4 kB / 0.6195 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.6625, allocations: 67.91 kB / 0.6196 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.6625, allocations: 15.92 kB / 0.6196 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.6627, allocations: 32 kB / 0.6196 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.6628, allocations: 15.94 kB / 0.6196 GB, free: 12.02 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.0001415/0.6629, allocations: 145.7 kB / 0.6198 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.346e-05/0.663, allocations: 15.81 kB / 0.6198 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006456/0.6637, allocations: 312 kB / 0.6201 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6637, allocations: 4 kB / 0.6201 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6637, allocations: 0 / 0.6201 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.6637, allocations: 7.938 kB / 0.6201 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.6643, allocations: 331 kB / 0.6204 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6643, allocations: 0 / 0.6204 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.6646, allocations: 59.91 kB / 0.6205 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6646, allocations: 0 / 0.6205 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.6647, allocations: 12.86 kB / 0.6205 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.6647, allocations: 4 kB / 0.6205 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6647, allocations: 0.625 kB / 0.6205 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007003/0.6654, allocations: 0.5024 MB / 0.621 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.6654, allocations: 100.8 kB / 0.6211 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.6655, allocations: 8.062 kB / 0.6211 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.6658, allocations: 13.17 kB / 0.6211 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.6658, allocations: 19.97 kB / 0.6211 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.6659, allocations: 12 kB / 0.6211 GB, free: 10.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.886e-05/0.6659, allocations: 91.58 kB / 0.6212 GB, free: 10.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6659, allocations: 0 / 0.6212 GB, free: 10.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000795/0.6667, allocations: 227.8 kB / 0.6214 GB, free: 10.08 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.0009308/0.6677, allocations: 446.7 kB / 0.6219 GB, free: 9.641 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.6681, allocations: 250.7 kB / 0.6221 GB, free: 9.398 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6681, allocations: 0.625 kB / 0.6221 GB, free: 9.398 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.6684, allocations: 139.8 kB / 0.6222 GB, free: 9.262 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.6689, allocations: 88.19 kB / 0.6223 GB, free: 9.176 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.6701, allocations: 0.7232 MB / 0.623 GB, free: 8.422 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.6704, allocations: 0.7285 MB / 0.6237 GB, free: 7.668 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000268/0.6707, allocations: 69.84 kB / 0.6238 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.6708, allocations: 31.44 kB / 0.6238 GB, free: 7.566 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.6708, allocations: 0 / 0.6238 GB, free: 7.566 MB / 462.1 MB Notification: Performance of Templates: time 0.01371/0.6845, allocations: 8.171 MB / 0.6318 GB, free: 15.45 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 cvode -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