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.00143/0.00143, allocations: 105.8 kB / 17.98 MB, free: 5.199 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.001594/0.001594, allocations: 193.3 kB / 18.9 MB, free: 4.273 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.333/1.333, allocations: 222.9 MB / 242.6 MB, free: 15.43 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.2007/0.2007, allocations: 44.18 MB / 336.9 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.42 kB / 408.5 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1275, allocations: 60.82 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4476/0.5751, allocations: 147.8 MB / 0.6027 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004045/0.5792, allocations: 3.131 MB / 0.6058 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.5794, allocations: 4 kB / 0.6058 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.5799, allocations: 51.7 kB / 0.6058 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.5827, allocations: 0.9631 MB / 0.6068 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.5833, allocations: 176.8 kB / 0.6069 GB, free: 9.082 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004877/0.5838, allocations: 350.7 kB / 0.6073 GB, free: 8.738 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.5839, allocations: 17.08 kB / 0.6073 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/0.5842, allocations: 155.4 kB / 0.6074 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.5845, allocations: 119.6 kB / 0.6075 GB, free: 8.449 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.5845, allocations: 12 kB / 0.6076 GB, free: 8.438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.5875, allocations: 1.606 MB / 0.6091 GB, free: 6.828 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.5876, allocations: 75.78 kB / 0.6092 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.5878, allocations: 111.6 kB / 0.6093 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.589, allocations: 0.7251 MB / 0.61 GB, free: 5.918 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.589, allocations: 0 / 0.61 GB, free: 5.918 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.589, allocations: 4 kB / 0.61 GB, free: 5.914 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.589, allocations: 0 / 0.61 GB, free: 5.914 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.001102/0.5901, allocations: 0.5312 MB / 0.6105 GB, free: 5.336 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5902, allocations: 12.03 kB / 0.6105 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003828/0.594, allocations: 392.2 kB / 0.6109 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.5944, allocations: 260.2 kB / 0.6112 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.5944, allocations: 20.25 kB / 0.6112 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.5945, allocations: 20 kB / 0.6112 GB, free: 4.609 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009839/0.5955, allocations: 485.3 kB / 0.6117 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5955, allocations: 4 kB / 0.6117 GB, free: 4.121 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.378e-05/0.5956, allocations: 15.92 kB / 0.6117 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.5956, allocations: 4 kB / 0.6117 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009947/0.5966, allocations: 0.4997 MB / 0.6122 GB, free: 3.602 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.002229/0.5989, allocations: 0.9852 MB / 0.6131 GB, free: 2.562 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.5995, allocations: 297 kB / 0.6134 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.5998, allocations: 151.1 kB / 0.6136 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00182/0.6016, allocations: 0.9839 MB / 0.6145 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.6016, allocations: 38.56 kB / 0.6146 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 2.004e-06/0.6017, allocations: 0 / 0.6146 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009352/0.6026, allocations: 407.7 kB / 0.615 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.6027, allocations: 81.11 kB / 0.615 GB, free: 420 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.6028, allocations: 109.8 kB / 0.6151 GB, free: 300 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.6028, allocations: 33.7 kB / 0.6152 GB, free: 260 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.6029, allocations: 116.3 kB / 0.6153 GB, free: 136 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.83e-05/0.603, allocations: 106.5 kB / 0.6154 GB, free: 28 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.6031, allocations: 66.02 kB / 0.6154 GB, free: 15.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.6033, allocations: 322.8 kB / 0.6158 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.6035, allocations: 116.6 kB / 0.6159 GB, free: 15.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.6038, allocations: 203.5 kB / 0.6161 GB, free: 15.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/0.6043, allocations: 338 kB / 0.6164 GB, free: 14.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.6043, allocations: 4.5 kB / 0.6164 GB, free: 14.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000731/0.6051, allocations: 377.6 kB / 0.6167 GB, free: 14.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.6051, allocations: 8 kB / 0.6168 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6051, allocations: 4 kB / 0.6168 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6052, allocations: 4 kB / 0.6168 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/0.6056, allocations: 76.77 kB / 0.6168 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.6056, allocations: 8.312 kB / 0.6168 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.6059, allocations: 31.77 kB / 0.6169 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.606, allocations: 16 kB / 0.6169 GB, free: 14.39 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.0001547/0.6061, allocations: 145.6 kB / 0.617 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.6063, allocations: 15.81 kB / 0.617 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008109/0.6071, allocations: 374.7 kB / 0.6174 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.6071, allocations: 4 kB / 0.6174 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.6071, allocations: 0 / 0.6174 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.6071, allocations: 0 / 0.6174 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.6077, allocations: 368.2 kB / 0.6178 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.6077, allocations: 0 / 0.6178 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.6082, allocations: 63.89 kB / 0.6178 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.6082, allocations: 3.984 kB / 0.6178 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.6082, allocations: 12 kB / 0.6178 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.6082, allocations: 4 kB / 0.6178 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6082, allocations: 0 / 0.6178 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.6091, allocations: 0.5508 MB / 0.6184 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.6092, allocations: 100.9 kB / 0.6185 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.6092, allocations: 4 kB / 0.6185 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.6096, allocations: 27.91 kB / 0.6185 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.6097, allocations: 15.98 kB / 0.6185 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.6097, allocations: 23.92 kB / 0.6185 GB, free: 12.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.31e-05/0.6098, allocations: 87.27 kB / 0.6186 GB, free: 12.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.6098, allocations: 0 / 0.6186 GB, free: 12.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008266/0.6106, allocations: 231.7 kB / 0.6188 GB, free: 12.3 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.001327/0.612, allocations: 443.2 kB / 0.6193 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.6126, allocations: 319.5 kB / 0.6196 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6127, allocations: 0.625 kB / 0.6196 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.6129, allocations: 147.9 kB / 0.6197 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.6136, allocations: 79.69 kB / 0.6198 GB, free: 11.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.615, allocations: 0.8194 MB / 0.6206 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.6153, allocations: 0.7363 MB / 0.6213 GB, free: 9.711 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.6155, allocations: 35.42 kB / 0.6213 GB, free: 9.68 MB / 462.1 MB Notification: Performance of SimCode: time 2.064e-06/0.6155, allocations: 0 / 0.6213 GB, free: 9.68 MB / 462.1 MB Notification: Performance of Templates: time 0.01097/0.6265, allocations: 6.498 MB / 0.6277 GB, free: 3.184 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