Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.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.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009442/0.0009443, allocations: 95.8 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 208.3 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.7 MB / 247.5 MB, free: 11.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1927/0.1927, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.0002772, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1108, allocations: 63.56 MB / 483.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3544/0.4652, allocations: 148.9 MB / 0.6178 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005611/0.4708, allocations: 5.314 MB / 0.623 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00015/0.471, allocations: 0 / 0.623 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.4713, allocations: 43.73 kB / 0.623 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003169/0.4745, allocations: 1.161 MB / 0.6242 GB, free: 9.273 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.4748, allocations: 141 kB / 0.6243 GB, free: 9.145 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006333/0.4755, allocations: 470 kB / 0.6247 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.525e-05/0.4755, allocations: 13.67 kB / 0.6247 GB, free: 8.672 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/0.4759, allocations: 171.3 kB / 0.6249 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.4762, allocations: 183.3 kB / 0.6251 GB, free: 8.324 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.238e-05/0.4762, allocations: 8 kB / 0.6251 GB, free: 8.316 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.4784, allocations: 1.061 MB / 0.6261 GB, free: 7.254 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.4785, allocations: 47.8 kB / 0.6262 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.4787, allocations: 137.2 kB / 0.6263 GB, free: 7.066 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.48, allocations: 0.6043 MB / 0.6269 GB, free: 6.461 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.48, allocations: 0 / 0.6269 GB, free: 6.461 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.48, allocations: 3.938 kB / 0.6269 GB, free: 6.457 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.48, allocations: 0 / 0.6269 GB, free: 6.457 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001508/0.4815, allocations: 0.6281 MB / 0.6275 GB, free: 5.777 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4816, allocations: 14.31 kB / 0.6275 GB, free: 5.766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008278/0.4898, allocations: 0.6024 MB / 0.6281 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.4903, allocations: 267.7 kB / 0.6284 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.4904, allocations: 124.2 kB / 0.6285 GB, free: 4.719 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.4905, allocations: 20 kB / 0.6285 GB, free: 4.699 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.4918, allocations: 0.5634 MB / 0.6291 GB, free: 4.105 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.4918, allocations: 3.938 kB / 0.6291 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/0.4919, allocations: 16 kB / 0.6291 GB, free: 4.086 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.4919, allocations: 8 kB / 0.6291 GB, free: 4.078 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/0.4933, allocations: 0.626 MB / 0.6297 GB, free: 3.449 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.002132/0.4955, allocations: 1.709 MB / 0.6314 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.4959, allocations: 154.5 kB / 0.6315 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.496, allocations: 80.77 kB / 0.6316 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.4975, allocations: 1.483 MB / 0.633 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.4975, allocations: 38.44 kB / 0.6331 GB, free: 15.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/0.4975, allocations: 0 / 0.6331 GB, free: 15.55 MB / 478.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.0009696/0.4985, allocations: 336 kB / 0.6334 GB, free: 15.22 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.4986, allocations: 55.41 kB / 0.6334 GB, free: 15.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.4987, allocations: 179 kB / 0.6336 GB, free: 14.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.4988, allocations: 33.7 kB / 0.6336 GB, free: 14.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.4989, allocations: 183.3 kB / 0.6338 GB, free: 14.75 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.4989, allocations: 63.09 kB / 0.6339 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.005e-05/0.499, allocations: 37.7 kB / 0.6339 GB, free: 14.64 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.4991, allocations: 334.8 kB / 0.6342 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.4993, allocations: 64.7 kB / 0.6343 GB, free: 14.25 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.4995, allocations: 260 kB / 0.6345 GB, free: 13.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.5, allocations: 374 kB / 0.6349 GB, free: 13.44 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.5, allocations: 0 / 0.6349 GB, free: 13.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006247/0.5007, allocations: 373.5 kB / 0.6353 GB, free: 13.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.5007, allocations: 10.34 kB / 0.6353 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5007, allocations: 8 kB / 0.6353 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.5007, allocations: 8 kB / 0.6353 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003987/0.5011, allocations: 127.8 kB / 0.6354 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003661/0.5015, allocations: 0.6016 MB / 0.636 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002701/0.5018, allocations: 47.78 kB / 0.636 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.5019, allocations: 47.92 kB / 0.6361 GB, free: 12.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.502, allocations: 141.7 kB / 0.6362 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.5021, allocations: 19.81 kB / 0.6362 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009625/0.503, allocations: 468.4 kB / 0.6367 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5031, allocations: 4 kB / 0.6367 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5031, allocations: 0 / 0.6367 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5031, allocations: 3.984 kB / 0.6367 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008889/0.504, allocations: 0.6352 MB / 0.6373 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.504, allocations: 4 kB / 0.6373 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.5042, allocations: 59.91 kB / 0.6374 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.5042, allocations: 4 kB / 0.6374 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.5043, allocations: 8.234 kB / 0.6374 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003009/0.5046, allocations: 0.5938 MB / 0.638 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.5046, allocations: 4.031 kB / 0.638 GB, free: 10.12 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.505, allocations: 300.4 kB / 0.6383 GB, free: 9.793 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5051, allocations: 115 kB / 0.6384 GB, free: 9.664 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.5051, allocations: 11.94 kB / 0.6384 GB, free: 9.652 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.5054, allocations: 15.98 kB / 0.6384 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.5054, allocations: 19.92 kB / 0.6384 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/0.5055, allocations: 16 kB / 0.6384 GB, free: 9.602 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.5056, allocations: 135.9 kB / 0.6386 GB, free: 9.469 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5056, allocations: 0 / 0.6386 GB, free: 9.469 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006945/0.5063, allocations: 167.8 kB / 0.6387 GB, free: 9.305 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007948/0.5071, allocations: 282.4 kB / 0.639 GB, free: 9.027 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005833/0.5077, allocations: 221.4 kB / 0.6392 GB, free: 8.812 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5077, allocations: 0 / 0.6392 GB, free: 8.812 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.508, allocations: 80.27 kB / 0.6393 GB, free: 8.734 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006501/0.5086, allocations: 75.94 kB / 0.6393 GB, free: 8.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.5103, allocations: 1.02 MB / 0.6403 GB, free: 7.582 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.5106, allocations: 0.7287 MB / 0.6411 GB, free: 6.824 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.5109, allocations: 87.3 kB / 0.6411 GB, free: 6.738 MB / 478.1 MB Notification: Performance of SimCode: time 4.5e-07/0.5109, allocations: 0 / 0.6411 GB, free: 6.738 MB / 478.1 MB Notification: Performance of Templates: time 0.009275/0.5202, allocations: 5.521 MB / 0.6465 GB, free: 1.227 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches