Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000928/0.0009282, allocations: 101.8 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009769/0.000977, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2405/0.2405, allocations: 45.91 MB / 344 MB, free: 12.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.0002548, allocations: 8 kB / 417.9 MB, free: 20.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 63.46 MB / 481.4 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4213/0.5425, allocations: 126 MB / 0.5931 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.5459, allocations: 2.582 MB / 0.5957 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.079e-05/0.546, allocations: 0 / 0.5957 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.5463, allocations: 47.78 kB / 0.5957 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.5482, allocations: 0.7283 MB / 0.5964 GB, free: 4.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.5486, allocations: 165 kB / 0.5966 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.549, allocations: 215.6 kB / 0.5968 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.549, allocations: 9.109 kB / 0.5968 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003012/0.5493, allocations: 159.6 kB / 0.597 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.5495, allocations: 79.73 kB / 0.597 GB, free: 3.574 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.5495, allocations: 12 kB / 0.597 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.5521, allocations: 1.107 MB / 0.5981 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.5522, allocations: 71.78 kB / 0.5982 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.5523, allocations: 57.64 kB / 0.5982 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.5534, allocations: 0.5905 MB / 0.5988 GB, free: 1.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.5534, allocations: 0 / 0.5988 GB, free: 1.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5534, allocations: 4 kB / 0.5988 GB, free: 1.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.5534, allocations: 0 / 0.5988 GB, free: 1.734 MB / 430.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.0007576/0.5542, allocations: 0.5037 MB / 0.5993 GB, free: 1.184 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.5542, allocations: 12.03 kB / 0.5993 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.5557, allocations: 207.5 kB / 0.5995 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.556, allocations: 234.8 kB / 0.5997 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.5561, allocations: 16.38 kB / 0.5998 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.5561, allocations: 19.98 kB / 0.5998 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.5568, allocations: 369.7 kB / 0.6001 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.5568, allocations: 0 / 0.6001 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.5568, allocations: 11.94 kB / 0.6001 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.5568, allocations: 4 kB / 0.6002 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.5574, allocations: 403.6 kB / 0.6005 GB, free: 15.88 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.00166/0.5591, allocations: 0.7968 MB / 0.6013 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.5595, allocations: 225.1 kB / 0.6015 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.5609, allocations: 0.758 MB / 0.6023 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.5609, allocations: 38.73 kB / 0.6023 GB, free: 13.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.423e-06/0.5609, allocations: 0 / 0.6023 GB, free: 13.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.001115/0.562, allocations: 366.4 kB / 0.6027 GB, free: 13.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.5621, allocations: 81.11 kB / 0.6027 GB, free: 13.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/0.5622, allocations: 117.8 kB / 0.6028 GB, free: 13.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.5622, allocations: 29.7 kB / 0.6029 GB, free: 13.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.5623, allocations: 116.3 kB / 0.603 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/0.5624, allocations: 102.5 kB / 0.6031 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.5624, allocations: 8 kB / 0.6031 GB, free: 13.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5626, allocations: 330.8 kB / 0.6034 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.5628, allocations: 96.59 kB / 0.6035 GB, free: 12.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.563, allocations: 175.5 kB / 0.6037 GB, free: 12.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.5632, allocations: 130.1 kB / 0.6038 GB, free: 12.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5632, allocations: 0 / 0.6038 GB, free: 12.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005849/0.5638, allocations: 341.1 kB / 0.6041 GB, free: 11.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5639, allocations: 8 kB / 0.6041 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5639, allocations: 4 kB / 0.6041 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5639, allocations: 7.953 kB / 0.6041 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.5642, allocations: 71.91 kB / 0.6042 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.5643, allocations: 7.938 kB / 0.6042 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.5645, allocations: 35.98 kB / 0.6042 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.436e-05/0.5646, allocations: 16 kB / 0.6043 GB, free: 11.77 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001584/0.5647, allocations: 145.7 kB / 0.6044 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/0.5648, allocations: 11.91 kB / 0.6044 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006669/0.5655, allocations: 326.3 kB / 0.6047 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.5655, allocations: 3.953 kB / 0.6047 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.5655, allocations: 8 kB / 0.6047 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.5655, allocations: 3.984 kB / 0.6047 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.5661, allocations: 319.6 kB / 0.605 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5661, allocations: 3.984 kB / 0.605 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.5665, allocations: 59.91 kB / 0.6051 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5665, allocations: 0 / 0.6051 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.5665, allocations: 8 kB / 0.6051 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5665, allocations: 4 kB / 0.6051 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5665, allocations: 4.828 kB / 0.6051 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000678/0.5672, allocations: 0.5089 MB / 0.6056 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.5673, allocations: 92.94 kB / 0.6057 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.5673, allocations: 8.062 kB / 0.6057 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.5676, allocations: 23.84 kB / 0.6057 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.5677, allocations: 23.92 kB / 0.6058 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.5677, allocations: 18.61 kB / 0.6058 GB, free: 10.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.745e-05/0.5678, allocations: 91.2 kB / 0.6059 GB, free: 10.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5678, allocations: 4 kB / 0.6059 GB, free: 10.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008166/0.5686, allocations: 219.8 kB / 0.6061 GB, free: 9.801 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008448/0.5695, allocations: 363.3 kB / 0.6064 GB, free: 9.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004549/0.57, allocations: 266.6 kB / 0.6067 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.57, allocations: 0 / 0.6067 GB, free: 9.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.5702, allocations: 131 kB / 0.6068 GB, free: 9.055 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005357/0.5707, allocations: 77.92 kB / 0.6069 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.5719, allocations: 0.8801 MB / 0.6077 GB, free: 8.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.5722, allocations: 0.7404 MB / 0.6085 GB, free: 7.305 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003721/0.5726, allocations: 74.38 kB / 0.6085 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.225e-05/0.5727, allocations: 39.36 kB / 0.6086 GB, free: 7.195 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.5727, allocations: 0 / 0.6086 GB, free: 7.195 MB / 446.1 MB Notification: Performance of Templates: time 0.01263/0.5853, allocations: 7.894 MB / 0.6163 GB, free: 15.34 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches