Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2005/0.2005, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 80.11 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09878/0.1002, allocations: 62.45 MB / 481.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3342/0.4344, allocations: 152.4 MB / 0.619 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.4362, allocations: 1.592 MB / 0.6206 GB, free: 8.781 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.445e-05/0.4363, allocations: 0 / 0.6206 GB, free: 8.781 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.4366, allocations: 54.22 kB / 0.6207 GB, free: 8.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008138/0.4374, allocations: 402.7 kB / 0.621 GB, free: 8.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.4379, allocations: 171.4 kB / 0.6212 GB, free: 8.172 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.4382, allocations: 183.2 kB / 0.6214 GB, free: 7.992 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.4382, allocations: 15.91 kB / 0.6214 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.4384, allocations: 71.77 kB / 0.6215 GB, free: 7.906 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4385, allocations: 71.34 kB / 0.6215 GB, free: 7.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.4385, allocations: 4 kB / 0.6215 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009766/0.4395, allocations: 0.5963 MB / 0.6221 GB, free: 7.238 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.4396, allocations: 31.95 kB / 0.6221 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.4397, allocations: 55.78 kB / 0.6222 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005592/0.4402, allocations: 404.8 kB / 0.6226 GB, free: 6.762 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4403, allocations: 0 / 0.6226 GB, free: 6.762 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4403, allocations: 0 / 0.6226 GB, free: 6.762 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.4403, allocations: 0 / 0.6226 GB, free: 6.762 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005204/0.4408, allocations: 427.4 kB / 0.623 GB, free: 6.297 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.4408, allocations: 12.03 kB / 0.623 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.4429, allocations: 196.6 kB / 0.6232 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.4432, allocations: 208.1 kB / 0.6234 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.4432, allocations: 12.81 kB / 0.6234 GB, free: 5.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.4432, allocations: 12 kB / 0.6234 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.4437, allocations: 197.1 kB / 0.6236 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4437, allocations: 0 / 0.6236 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.4438, allocations: 12 kB / 0.6236 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.4438, allocations: 3.984 kB / 0.6236 GB, free: 5.617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.4443, allocations: 235.8 kB / 0.6238 GB, free: 5.387 MB / 462.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.001631/0.446, allocations: 0.6685 MB / 0.6245 GB, free: 4.664 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.4464, allocations: 190.1 kB / 0.6247 GB, free: 4.473 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.4466, allocations: 95.75 kB / 0.6248 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.4468, allocations: 89.09 kB / 0.6249 GB, free: 4.273 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.4468, allocations: 34.56 kB / 0.6249 GB, free: 4.23 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.4468, allocations: 0 / 0.6249 GB, free: 4.23 MB / 462.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005344/0.4522, allocations: 1.546 MB / 0.6264 GB, free: 2.574 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.4522, allocations: 55.34 kB / 0.6264 GB, free: 2.508 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.4523, allocations: 113.8 kB / 0.6266 GB, free: 2.387 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.4524, allocations: 25.7 kB / 0.6266 GB, free: 2.355 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.4524, allocations: 100.3 kB / 0.6267 GB, free: 2.254 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.4525, allocations: 63.05 kB / 0.6267 GB, free: 2.191 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/0.4526, allocations: 45.69 kB / 0.6268 GB, free: 2.141 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4527, allocations: 318.8 kB / 0.6271 GB, free: 1.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.4529, allocations: 95.95 kB / 0.6272 GB, free: 1.727 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.4531, allocations: 119.4 kB / 0.6273 GB, free: 1.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.4536, allocations: 231.2 kB / 0.6275 GB, free: 1.359 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.4536, allocations: 0 / 0.6275 GB, free: 1.359 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005883/0.4542, allocations: 285.7 kB / 0.6278 GB, free: 1.074 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4542, allocations: 4 kB / 0.6278 GB, free: 1.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4542, allocations: 4 kB / 0.6278 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.4544, allocations: 36.88 kB / 0.6278 GB, free: 1.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.4548, allocations: 51.95 kB / 0.6279 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003396/0.4552, allocations: 0.5367 MB / 0.6284 GB, free: 424 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.4554, allocations: 8 kB / 0.6284 GB, free: 416 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.4555, allocations: 11.92 kB / 0.6284 GB, free: 404 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.4556, allocations: 125.9 kB / 0.6285 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.4557, allocations: 7.906 kB / 0.6285 GB, free: 260 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007394/0.4564, allocations: 311.1 kB / 0.6288 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4564, allocations: 3.938 kB / 0.6288 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4564, allocations: 0 / 0.6288 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4565, allocations: 7.984 kB / 0.6289 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.4575, allocations: 0.6776 MB / 0.6295 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4575, allocations: 7.922 kB / 0.6295 GB, free: 15.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/0.458, allocations: 51.91 kB / 0.6296 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.962e-05/0.4581, allocations: 20.84 kB / 0.6296 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.4581, allocations: 7.984 kB / 0.6296 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008714/0.459, allocations: 1.365 MB / 0.6309 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.459, allocations: 0 / 0.6309 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.4598, allocations: 454.7 kB / 0.6314 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.4598, allocations: 85.02 kB / 0.6314 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.4599, allocations: 8.062 kB / 0.6315 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.4602, allocations: 15.92 kB / 0.6315 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.4603, allocations: 11.98 kB / 0.6315 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.4603, allocations: 11.98 kB / 0.6315 GB, free: 12.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.143e-05/0.4604, allocations: 99.25 kB / 0.6316 GB, free: 12.87 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4604, allocations: 0 / 0.6316 GB, free: 12.87 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004873/0.4609, allocations: 131.9 kB / 0.6317 GB, free: 12.74 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006332/0.4615, allocations: 262.9 kB / 0.632 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006/0.4621, allocations: 242.1 kB / 0.6322 GB, free: 12.24 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4621, allocations: 0 / 0.6322 GB, free: 12.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.4625, allocations: 226.5 kB / 0.6324 GB, free: 12.01 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.4629, allocations: 48.86 kB / 0.6325 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008096/0.4638, allocations: 479 kB / 0.6329 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.464, allocations: 0.7123 MB / 0.6336 GB, free: 10.72 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.4643, allocations: 53.33 kB / 0.6337 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.4644, allocations: 27.38 kB / 0.6337 GB, free: 10.64 MB / 478.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4644, allocations: 3.938 kB / 0.6337 GB, free: 10.64 MB / 478.1 MB Notification: Performance of Templates: time 0.009745/0.4742, allocations: 6.187 MB / 0.6397 GB, free: 4.469 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches