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.001231/0.00123, allocations: 115.9 kB / 18.41 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001256/0.001256, allocations: 207.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2313/0.2313, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 80.62 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1174, allocations: 62.43 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3665/0.4839, allocations: 152.5 MB / 0.6191 GB, free: 10.35 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.4861, allocations: 1.585 MB / 0.6206 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.4862, allocations: 4 kB / 0.6206 GB, free: 8.77 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.4865, allocations: 58.22 kB / 0.6207 GB, free: 8.715 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008886/0.4875, allocations: 402.7 kB / 0.621 GB, free: 8.324 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.4879, allocations: 163.4 kB / 0.6212 GB, free: 8.164 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.4882, allocations: 187.2 kB / 0.6214 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.497e-05/0.4883, allocations: 7.938 kB / 0.6214 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.4885, allocations: 83.41 kB / 0.6215 GB, free: 7.895 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.4886, allocations: 63.7 kB / 0.6215 GB, free: 7.832 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.4886, allocations: 4 kB / 0.6215 GB, free: 7.828 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.4897, allocations: 0.6003 MB / 0.6221 GB, free: 7.227 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.731e-05/0.4897, allocations: 27.95 kB / 0.6221 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.4898, allocations: 51.73 kB / 0.6222 GB, free: 7.148 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.4904, allocations: 400.8 kB / 0.6226 GB, free: 6.762 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4904, allocations: 4 kB / 0.6226 GB, free: 6.758 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4904, allocations: 0 / 0.6226 GB, free: 6.758 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.4905, allocations: 4 kB / 0.6226 GB, free: 6.754 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.0006046/0.4911, allocations: 427.4 kB / 0.623 GB, free: 6.289 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4911, allocations: 8.031 kB / 0.623 GB, free: 6.281 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.4932, allocations: 196.6 kB / 0.6232 GB, free: 6.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.4934, allocations: 216.2 kB / 0.6234 GB, free: 5.84 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4935, allocations: 7.938 kB / 0.6234 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.4935, allocations: 16 kB / 0.6234 GB, free: 5.816 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.494, allocations: 205 kB / 0.6236 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.494, allocations: 0 / 0.6236 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.494, allocations: 4 kB / 0.6236 GB, free: 5.609 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.494, allocations: 4 kB / 0.6236 GB, free: 5.605 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005418/0.4946, allocations: 235.8 kB / 0.6238 GB, free: 5.375 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.001645/0.4962, allocations: 0.6647 MB / 0.6245 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.4967, allocations: 193.8 kB / 0.6247 GB, free: 4.461 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.4969, allocations: 92.81 kB / 0.6248 GB, free: 4.367 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.497, allocations: 89.09 kB / 0.6249 GB, free: 4.262 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.4971, allocations: 39 kB / 0.6249 GB, free: 4.215 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.4971, allocations: 0 / 0.6249 GB, free: 4.215 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.005261/0.5024, allocations: 1.542 MB / 0.6264 GB, free: 2.566 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.5024, allocations: 55.41 kB / 0.6264 GB, free: 2.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.5025, allocations: 105.8 kB / 0.6265 GB, free: 2.387 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.5025, allocations: 33.7 kB / 0.6266 GB, free: 2.348 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.5026, allocations: 96.27 kB / 0.6267 GB, free: 2.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.989e-05/0.5027, allocations: 75.02 kB / 0.6267 GB, free: 2.176 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.5028, allocations: 41.7 kB / 0.6268 GB, free: 2.129 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5029, allocations: 322.8 kB / 0.6271 GB, free: 1.805 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.5031, allocations: 91.89 kB / 0.6272 GB, free: 1.715 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.5033, allocations: 123.4 kB / 0.6273 GB, free: 1.582 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.5038, allocations: 231.2 kB / 0.6275 GB, free: 1.344 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5038, allocations: 0 / 0.6275 GB, free: 1.344 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005833/0.5044, allocations: 289.7 kB / 0.6278 GB, free: 1.055 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5044, allocations: 4 kB / 0.6278 GB, free: 1.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.5044, allocations: 4 kB / 0.6278 GB, free: 1.047 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001208/0.5045, allocations: 20.84 kB / 0.6278 GB, free: 1.023 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.505, allocations: 63.89 kB / 0.6279 GB, free: 0.9609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003417/0.5053, allocations: 0.5252 MB / 0.6284 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002638/0.5056, allocations: 12.02 kB / 0.6284 GB, free: 408 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.5057, allocations: 15.94 kB / 0.6284 GB, free: 392 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.0001216/0.5058, allocations: 125.8 kB / 0.6285 GB, free: 256 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.5058, allocations: 11.89 kB / 0.6286 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007156/0.5066, allocations: 303.2 kB / 0.6288 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.5066, allocations: 7.938 kB / 0.6288 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5066, allocations: 0 / 0.6288 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5066, allocations: 3.984 kB / 0.6289 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.5077, allocations: 0.6847 MB / 0.6295 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5077, allocations: 0 / 0.6295 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.5081, allocations: 47.95 kB / 0.6296 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-05/0.5082, allocations: 24.94 kB / 0.6296 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.5082, allocations: 7.984 kB / 0.6296 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008693/0.5091, allocations: 1.369 MB / 0.6309 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5091, allocations: 7.969 kB / 0.6309 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007848/0.5099, allocations: 445 kB / 0.6314 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.51, allocations: 86.17 kB / 0.6314 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.51, allocations: 8 kB / 0.6315 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.5103, allocations: 11.98 kB / 0.6315 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.5104, allocations: 15.92 kB / 0.6315 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.5104, allocations: 15.98 kB / 0.6315 GB, free: 12.96 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.333e-05/0.5105, allocations: 91.34 kB / 0.6316 GB, free: 12.87 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5105, allocations: 0 / 0.6316 GB, free: 12.87 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004879/0.511, allocations: 135.9 kB / 0.6317 GB, free: 12.73 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.0006069/0.5116, allocations: 262.9 kB / 0.632 GB, free: 12.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.5121, allocations: 237.9 kB / 0.6322 GB, free: 12.24 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5122, allocations: 0 / 0.6322 GB, free: 12.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.5125, allocations: 235 kB / 0.6324 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.5129, allocations: 49.36 kB / 0.6325 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.5137, allocations: 486.9 kB / 0.6329 GB, free: 11.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.514, allocations: 0.7084 MB / 0.6336 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.5143, allocations: 49.39 kB / 0.6337 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5144, allocations: 27.42 kB / 0.6337 GB, free: 10.63 MB / 478.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5144, allocations: 0 / 0.6337 GB, free: 10.63 MB / 478.1 MB Notification: Performance of Templates: time 0.009175/0.5236, allocations: 6.19 MB / 0.6397 GB, free: 4.457 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 cvode -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