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.001134/0.001134, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001144/0.001144, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.00163, allocations: 67.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1348, allocations: 62.45 MB / 481.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4563/0.5911, allocations: 153 MB / 0.6196 GB, free: 9.648 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005477/0.5967, allocations: 5.32 MB / 0.6248 GB, free: 4.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.5968, allocations: 3.938 kB / 0.6248 GB, free: 4.336 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.5971, allocations: 55.64 kB / 0.6248 GB, free: 4.281 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.6005, allocations: 1.316 MB / 0.6261 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.6008, allocations: 145.4 kB / 0.6263 GB, free: 2.828 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000526/0.6014, allocations: 398.1 kB / 0.6266 GB, free: 2.438 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.991e-05/0.6014, allocations: 21.66 kB / 0.6267 GB, free: 2.418 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.6017, allocations: 175.4 kB / 0.6268 GB, free: 2.246 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.6019, allocations: 171.5 kB / 0.627 GB, free: 2.078 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.602, allocations: 8 kB / 0.627 GB, free: 2.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002588/0.6046, allocations: 1.095 MB / 0.6281 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.6047, allocations: 47.81 kB / 0.6281 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.6048, allocations: 111.5 kB / 0.6282 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.6063, allocations: 0.8577 MB / 0.6291 GB, free: 15.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.6063, allocations: 0 / 0.6291 GB, free: 15.96 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6063, allocations: 0 / 0.6291 GB, free: 15.96 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.6063, allocations: 0 / 0.6291 GB, free: 15.96 MB / 478.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.001193/0.6075, allocations: 0.6865 MB / 0.6297 GB, free: 15.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.6076, allocations: 13.41 kB / 0.6297 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006894/0.6145, allocations: 0.6097 MB / 0.6303 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/0.6151, allocations: 263.7 kB / 0.6306 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.6152, allocations: 127.4 kB / 0.6307 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.745e-05/0.6153, allocations: 20 kB / 0.6307 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.6164, allocations: 0.5595 MB / 0.6313 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6164, allocations: 0 / 0.6313 GB, free: 13.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.6165, allocations: 12 kB / 0.6313 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.6165, allocations: 7.938 kB / 0.6313 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.6178, allocations: 0.6299 MB / 0.6319 GB, free: 12.89 MB / 478.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.002086/0.6199, allocations: 1.709 MB / 0.6336 GB, free: 11.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003368/0.6203, allocations: 165.5 kB / 0.6337 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.6204, allocations: 72.88 kB / 0.6338 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001478/0.6219, allocations: 1.479 MB / 0.6353 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.622, allocations: 38.55 kB / 0.6353 GB, free: 9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.502e-06/0.622, allocations: 3.938 kB / 0.6353 GB, free: 8.996 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.0009524/0.6229, allocations: 324.9 kB / 0.6356 GB, free: 8.676 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.623, allocations: 55.41 kB / 0.6357 GB, free: 8.609 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.6231, allocations: 178.5 kB / 0.6358 GB, free: 8.426 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.6232, allocations: 33.7 kB / 0.6359 GB, free: 8.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.6233, allocations: 187.3 kB / 0.636 GB, free: 8.199 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.6233, allocations: 63.02 kB / 0.6361 GB, free: 8.137 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.6235, allocations: 102 kB / 0.6362 GB, free: 8.031 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6236, allocations: 326.8 kB / 0.6365 GB, free: 7.703 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.6237, allocations: 68.7 kB / 0.6366 GB, free: 7.637 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.624, allocations: 260 kB / 0.6368 GB, free: 7.289 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.6244, allocations: 366.2 kB / 0.6372 GB, free: 6.836 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6245, allocations: 4 kB / 0.6372 GB, free: 6.832 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005958/0.6251, allocations: 369.8 kB / 0.6375 GB, free: 6.465 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.6251, allocations: 8 kB / 0.6375 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6251, allocations: 8 kB / 0.6375 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/0.6251, allocations: 8 kB / 0.6376 GB, free: 6.441 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/0.6255, allocations: 130.5 kB / 0.6377 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003581/0.6259, allocations: 0.6098 MB / 0.6383 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.6261, allocations: 39.53 kB / 0.6383 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/0.6262, allocations: 43.98 kB / 0.6384 GB, free: 5.602 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.0001604/0.6264, allocations: 141.7 kB / 0.6385 GB, free: 5.453 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.6264, allocations: 23.81 kB / 0.6385 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/0.6272, allocations: 461.6 kB / 0.6389 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.6273, allocations: 4 kB / 0.639 GB, free: 4.969 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6273, allocations: 0 / 0.639 GB, free: 4.969 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6273, allocations: 4 kB / 0.639 GB, free: 4.965 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008556/0.6281, allocations: 0.6431 MB / 0.6396 GB, free: 4.223 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6282, allocations: 15.95 kB / 0.6396 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.6284, allocations: 52.59 kB / 0.6396 GB, free: 4.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.6284, allocations: 4 kB / 0.6397 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.6284, allocations: 8 kB / 0.6397 GB, free: 4.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003458/0.6288, allocations: 0.5976 MB / 0.6402 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6288, allocations: 4.906 kB / 0.6402 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.6292, allocations: 298.2 kB / 0.6405 GB, free: 3.188 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.6293, allocations: 104.8 kB / 0.6406 GB, free: 3.066 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.6293, allocations: 15.84 kB / 0.6406 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.6296, allocations: 7.984 kB / 0.6407 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.6296, allocations: 23.92 kB / 0.6407 GB, free: 3.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.6296, allocations: 16.55 kB / 0.6407 GB, free: 3.004 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.6298, allocations: 135.9 kB / 0.6408 GB, free: 2.871 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6298, allocations: 4 kB / 0.6408 GB, free: 2.867 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006298/0.6304, allocations: 164 kB / 0.641 GB, free: 2.707 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.0006131/0.631, allocations: 268.5 kB / 0.6412 GB, free: 2.441 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004965/0.6315, allocations: 225.2 kB / 0.6415 GB, free: 2.223 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6315, allocations: 12.12 kB / 0.6415 GB, free: 2.211 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.6317, allocations: 79.83 kB / 0.6415 GB, free: 2.133 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005039/0.6323, allocations: 79.72 kB / 0.6416 GB, free: 2.059 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.634, allocations: 0.8895 MB / 0.6425 GB, free: 1.113 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.6344, allocations: 0.7245 MB / 0.6432 GB, free: 372 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006161/0.635, allocations: 375.3 kB / 0.6436 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.6352, allocations: 55.39 kB / 0.6436 GB, free: 15.94 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6352, allocations: 4 kB / 0.6436 GB, free: 15.93 MB / 494.1 MB Notification: Performance of Templates: time 0.009909/0.6451, allocations: 5.706 MB / 0.6492 GB, free: 10.26 MB / 494.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 -s cvode -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