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.001196/0.001196, allocations: 98.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001528/0.001528, allocations: 206.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.2 MB / 245.9 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.2102/0.2102, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000249/0.0002491, allocations: 4 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1407, allocations: 63.46 MB / 481.4 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4898/0.6306, allocations: 126.2 MB / 0.5933 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006472/0.6371, allocations: 4.968 MB / 0.5982 GB, free: 2.293 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.6373, allocations: 0 / 0.5982 GB, free: 2.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.6376, allocations: 39.73 kB / 0.5982 GB, free: 2.254 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002933/0.6406, allocations: 1.086 MB / 0.5993 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.6409, allocations: 137.9 kB / 0.5994 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.6413, allocations: 267.5 kB / 0.5997 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.563e-05/0.6414, allocations: 17.67 kB / 0.5997 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002745/0.6417, allocations: 167.4 kB / 0.5999 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.642, allocations: 151.6 kB / 0.6 GB, free: 464 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.642, allocations: 4 kB / 0.6 GB, free: 460 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.6442, allocations: 1.069 MB / 0.6011 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.518e-05/0.6443, allocations: 51.8 kB / 0.6011 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.6444, allocations: 61.64 kB / 0.6012 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000909/0.6453, allocations: 0.5711 MB / 0.6017 GB, free: 14.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6453, allocations: 0 / 0.6017 GB, free: 14.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6453, allocations: 0 / 0.6017 GB, free: 14.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.6453, allocations: 0 / 0.6017 GB, free: 14.7 MB / 446.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.00122/0.6466, allocations: 0.6285 MB / 0.6023 GB, free: 14.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.6466, allocations: 12.02 kB / 0.6023 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007585/0.6542, allocations: 0.6087 MB / 0.6029 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.6547, allocations: 250.7 kB / 0.6032 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.6548, allocations: 123.4 kB / 0.6033 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.933e-05/0.6549, allocations: 24 kB / 0.6033 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.6561, allocations: 0.5562 MB / 0.6039 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.6561, allocations: 0 / 0.6039 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/0.6562, allocations: 15.98 kB / 0.6039 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.6562, allocations: 9.125 kB / 0.6039 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.6576, allocations: 0.6299 MB / 0.6045 GB, free: 11.7 MB / 446.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.002115/0.6597, allocations: 1.714 MB / 0.6062 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.6601, allocations: 161 kB / 0.6063 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/0.6614, allocations: 1.265 MB / 0.6076 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.6615, allocations: 42.5 kB / 0.6076 GB, free: 8.121 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.653e-06/0.6615, allocations: 0 / 0.6076 GB, free: 8.121 MB / 446.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.00102/0.6625, allocations: 325.2 kB / 0.6079 GB, free: 7.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.6626, allocations: 55.41 kB / 0.608 GB, free: 7.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.6628, allocations: 194.9 kB / 0.6082 GB, free: 7.535 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.6628, allocations: 33.64 kB / 0.6082 GB, free: 7.496 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.663, allocations: 179.2 kB / 0.6084 GB, free: 7.316 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.663, allocations: 71.08 kB / 0.6084 GB, free: 7.246 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.149e-05/0.6631, allocations: 8 kB / 0.6084 GB, free: 7.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6632, allocations: 330.8 kB / 0.6087 GB, free: 6.906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.6634, allocations: 64.7 kB / 0.6088 GB, free: 6.844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.6636, allocations: 252.1 kB / 0.609 GB, free: 6.504 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.6638, allocations: 110.2 kB / 0.6092 GB, free: 6.398 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6639, allocations: 4 kB / 0.6092 GB, free: 6.395 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005896/0.6644, allocations: 365 kB / 0.6095 GB, free: 6.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6645, allocations: 8 kB / 0.6095 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6645, allocations: 8 kB / 0.6095 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.6645, allocations: 8 kB / 0.6095 GB, free: 6.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.6649, allocations: 124.5 kB / 0.6096 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004827/0.6654, allocations: 0.6094 MB / 0.6102 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.6657, allocations: 51.47 kB / 0.6103 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.54e-05/0.6658, allocations: 39.98 kB / 0.6103 GB, free: 5.168 MB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.666, allocations: 141.7 kB / 0.6105 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.666, allocations: 19.81 kB / 0.6105 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009643/0.667, allocations: 467.9 kB / 0.6109 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.667, allocations: 3.953 kB / 0.6109 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.667, allocations: 4 kB / 0.6109 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.667, allocations: 0 / 0.6109 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008898/0.6679, allocations: 0.6354 MB / 0.6116 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.668, allocations: 4 kB / 0.6116 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.6682, allocations: 55.91 kB / 0.6116 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.6682, allocations: 4 kB / 0.6116 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.6682, allocations: 8 kB / 0.6116 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003068/0.6685, allocations: 0.5938 MB / 0.6122 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6685, allocations: 4.031 kB / 0.6122 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/0.669, allocations: 402.9 kB / 0.6126 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.6691, allocations: 112.8 kB / 0.6127 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.6692, allocations: 11.95 kB / 0.6127 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.6694, allocations: 11.98 kB / 0.6127 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.6694, allocations: 15.98 kB / 0.6127 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.6695, allocations: 21.05 kB / 0.6128 GB, free: 2.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.6696, allocations: 139.5 kB / 0.6129 GB, free: 2.293 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6696, allocations: 0 / 0.6129 GB, free: 2.293 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00072/0.6704, allocations: 168 kB / 0.6131 GB, free: 2.129 MB / 446.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006762/0.671, allocations: 272.9 kB / 0.6133 GB, free: 1.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004618/0.6715, allocations: 221.1 kB / 0.6135 GB, free: 1.645 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6715, allocations: 4 kB / 0.6135 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.6717, allocations: 80.33 kB / 0.6136 GB, free: 1.562 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.6721, allocations: 54.28 kB / 0.6137 GB, free: 1.512 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008492/0.673, allocations: 0.5635 MB / 0.6142 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.6733, allocations: 0.7367 MB / 0.6149 GB, free: 140 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008192/0.6741, allocations: 379.7 kB / 0.6153 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.6743, allocations: 63.31 kB / 0.6153 GB, free: 15.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.6743, allocations: 0 / 0.6153 GB, free: 15.7 MB / 462.1 MB Notification: Performance of Templates: time 0.009132/0.6834, allocations: 5.253 MB / 0.6205 GB, free: 10.47 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches