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.001546/0.001545, allocations: 118.7 kB / 17.78 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001847/0.001848, allocations: 203.8 kB / 18.73 MB, free: 4.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.1 MB / 344.3 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001673, allocations: 71.89 kB / 481.3 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4401, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1888/0.6289, allocations: 153 MB / 0.6805 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006264/0.6352, allocations: 5.318 MB / 0.6857 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.6354, allocations: 0 / 0.6857 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.6357, allocations: 51.61 kB / 0.6857 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.6396, allocations: 1.336 MB / 0.687 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.64, allocations: 141.2 kB / 0.6871 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006178/0.6406, allocations: 402.1 kB / 0.6875 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.652e-05/0.6407, allocations: 13.69 kB / 0.6875 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.641, allocations: 175.3 kB / 0.6877 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.6414, allocations: 167.5 kB / 0.6879 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.6414, allocations: 8 kB / 0.6879 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.6435, allocations: 1.092 MB / 0.6889 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.6436, allocations: 47.77 kB / 0.689 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.6438, allocations: 111.5 kB / 0.6891 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.6454, allocations: 0.8555 MB / 0.6899 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.6454, allocations: 3.938 kB / 0.6899 GB, free: 14.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6454, allocations: 0 / 0.6899 GB, free: 14.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6455, allocations: 0 / 0.6899 GB, free: 14.43 MB / 0.545 GB 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.001374/0.6468, allocations: 0.6866 MB / 0.6906 GB, free: 13.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.6469, allocations: 9.469 kB / 0.6906 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007678/0.6546, allocations: 0.6053 MB / 0.6912 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.6551, allocations: 267.3 kB / 0.6915 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.6552, allocations: 127.4 kB / 0.6916 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.6553, allocations: 20 kB / 0.6916 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.6565, allocations: 0.5595 MB / 0.6922 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.6566, allocations: 4 kB / 0.6922 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/0.6566, allocations: 12 kB / 0.6922 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.6567, allocations: 8 kB / 0.6922 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.6582, allocations: 0.6338 MB / 0.6928 GB, free: 11.36 MB / 0.545 GB 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.002124/0.6603, allocations: 1.717 MB / 0.6945 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.6607, allocations: 158.5 kB / 0.6946 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.6608, allocations: 76.83 kB / 0.6947 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/0.6625, allocations: 1.479 MB / 0.6961 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.6625, allocations: 34.56 kB / 0.6962 GB, free: 7.465 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 3.937e-06/0.6625, allocations: 0 / 0.6962 GB, free: 7.465 MB / 0.545 GB 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.001335/0.6639, allocations: 328.2 kB / 0.6965 GB, free: 7.141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.664, allocations: 55.39 kB / 0.6965 GB, free: 7.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.6643, allocations: 178.5 kB / 0.6967 GB, free: 6.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.6643, allocations: 37.64 kB / 0.6967 GB, free: 6.848 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.6645, allocations: 179.3 kB / 0.6969 GB, free: 6.664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.6646, allocations: 74.98 kB / 0.697 GB, free: 6.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.6648, allocations: 97.95 kB / 0.6971 GB, free: 6.488 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.665, allocations: 326.8 kB / 0.6974 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.6652, allocations: 64.7 kB / 0.6975 GB, free: 6.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003667/0.6656, allocations: 264 kB / 0.6977 GB, free: 5.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.6663, allocations: 370.1 kB / 0.6981 GB, free: 5.289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.6663, allocations: 4 kB / 0.6981 GB, free: 5.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008139/0.6671, allocations: 358.3 kB / 0.6984 GB, free: 4.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.6672, allocations: 11.98 kB / 0.6984 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.6672, allocations: 8 kB / 0.6984 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.643e-05/0.6673, allocations: 8 kB / 0.6984 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.6677, allocations: 127.8 kB / 0.6986 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005551/0.6683, allocations: 0.6099 MB / 0.6991 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.6686, allocations: 43.47 kB / 0.6992 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-05/0.6687, allocations: 40 kB / 0.6992 GB, free: 4.062 MB / 0.545 GB 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.0002244/0.6689, allocations: 149.6 kB / 0.6994 GB, free: 3.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.669, allocations: 19.75 kB / 0.6994 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009502/0.67, allocations: 466.3 kB / 0.6998 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.67, allocations: 4 kB / 0.6998 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.67, allocations: 4 kB / 0.6998 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.67, allocations: 0 / 0.6998 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009803/0.671, allocations: 0.6353 MB / 0.7005 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.671, allocations: 8 kB / 0.7005 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.6713, allocations: 55.91 kB / 0.7005 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.6713, allocations: 7.984 kB / 0.7005 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/0.6713, allocations: 8 kB / 0.7005 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003312/0.6716, allocations: 0.5937 MB / 0.7011 GB, free: 1.973 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6717, allocations: 4.031 kB / 0.7011 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.6721, allocations: 302.2 kB / 0.7014 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.6722, allocations: 104.9 kB / 0.7015 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.6722, allocations: 15.84 kB / 0.7015 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.6725, allocations: 11.98 kB / 0.7015 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.6725, allocations: 11.98 kB / 0.7015 GB, free: 1.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.6726, allocations: 20 kB / 0.7016 GB, free: 1.453 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001183/0.6727, allocations: 139.6 kB / 0.7017 GB, free: 1.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6727, allocations: 0 / 0.7017 GB, free: 1.316 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006948/0.6734, allocations: 168 kB / 0.7019 GB, free: 1.152 MB / 0.545 GB 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.0007536/0.6742, allocations: 281 kB / 0.7021 GB, free: 0.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005571/0.6747, allocations: 229.3 kB / 0.7023 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.6748, allocations: 4 kB / 0.7023 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002067/0.675, allocations: 75.89 kB / 0.7024 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.6756, allocations: 82.73 kB / 0.7025 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.6772, allocations: 0.8844 MB / 0.7034 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.6775, allocations: 0.7207 MB / 0.7041 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006848/0.6782, allocations: 387.1 kB / 0.7044 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.6784, allocations: 51.41 kB / 0.7045 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.6784, allocations: 0 / 0.7045 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.01104/0.6894, allocations: 5.754 MB / 0.7101 GB, free: 8.664 MB / 0.5606 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches