Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001472, allocations: 107.7 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 241.8 MB, free: 13.87 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2244/0.2244, allocations: 44.18 MB / 336.1 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002155, allocations: 68.72 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1843, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4499/0.6343, allocations: 147.9 MB / 0.602 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007097/0.6414, allocations: 5.399 MB / 0.6072 GB, free: 7.945 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.6417, allocations: 4 kB / 0.6073 GB, free: 7.941 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.6421, allocations: 43.73 kB / 0.6073 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004034/0.6462, allocations: 1.162 MB / 0.6084 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.6465, allocations: 129.2 kB / 0.6086 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000761/0.6473, allocations: 478 kB / 0.609 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.721e-05/0.6474, allocations: 9.688 kB / 0.609 GB, free: 6.141 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003965/0.6478, allocations: 167.3 kB / 0.6092 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003982/0.6482, allocations: 175.5 kB / 0.6093 GB, free: 5.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.6482, allocations: 8 kB / 0.6094 GB, free: 5.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.6508, allocations: 1.053 MB / 0.6104 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.6509, allocations: 47.75 kB / 0.6104 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.6511, allocations: 103.5 kB / 0.6105 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.6533, allocations: 0.8654 MB / 0.6114 GB, free: 3.727 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6533, allocations: 0 / 0.6114 GB, free: 3.727 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6533, allocations: 0 / 0.6114 GB, free: 3.727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.6533, allocations: 4 kB / 0.6114 GB, free: 3.723 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.001401/0.6547, allocations: 0.6834 MB / 0.612 GB, free: 2.992 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.6547, allocations: 11.97 kB / 0.6121 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007755/0.6625, allocations: 0.5824 MB / 0.6126 GB, free: 2.398 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.663, allocations: 271.7 kB / 0.6129 GB, free: 2.094 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.6632, allocations: 127.3 kB / 0.613 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.6633, allocations: 20 kB / 0.613 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.6646, allocations: 0.5673 MB / 0.6136 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.6646, allocations: 0 / 0.6136 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-05/0.6648, allocations: 16 kB / 0.6136 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.6648, allocations: 8 kB / 0.6136 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.6663, allocations: 0.626 MB / 0.6142 GB, free: 0.6719 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.002307/0.6686, allocations: 1.707 MB / 0.6159 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.669, allocations: 159.7 kB / 0.616 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.6691, allocations: 76.78 kB / 0.6161 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/0.6705, allocations: 1.471 MB / 0.6175 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.6706, allocations: 46.44 kB / 0.6176 GB, free: 12.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.753e-06/0.6706, allocations: 0 / 0.6176 GB, free: 12.78 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.001015/0.6716, allocations: 328.2 kB / 0.6179 GB, free: 12.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.6717, allocations: 55.41 kB / 0.6179 GB, free: 12.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.6719, allocations: 191 kB / 0.6181 GB, free: 12.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.6719, allocations: 25.7 kB / 0.6182 GB, free: 12.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.672, allocations: 179.3 kB / 0.6183 GB, free: 11.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.997e-05/0.6721, allocations: 71.08 kB / 0.6184 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.6722, allocations: 93.88 kB / 0.6185 GB, free: 11.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6723, allocations: 338.8 kB / 0.6188 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.6725, allocations: 60.72 kB / 0.6189 GB, free: 11.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.6728, allocations: 268 kB / 0.6191 GB, free: 11.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.6733, allocations: 369.2 kB / 0.6195 GB, free: 10.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.6733, allocations: 0 / 0.6195 GB, free: 10.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006703/0.674, allocations: 369.5 kB / 0.6198 GB, free: 10.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.674, allocations: 8 kB / 0.6198 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.674, allocations: 8 kB / 0.6198 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/0.6741, allocations: 11.98 kB / 0.6199 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.6745, allocations: 123.8 kB / 0.62 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004825/0.675, allocations: 0.6055 MB / 0.6206 GB, free: 9.465 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.6753, allocations: 49.97 kB / 0.6206 GB, free: 9.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.6754, allocations: 40 kB / 0.6206 GB, free: 9.379 MB / 462.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.0001961/0.6756, allocations: 149.6 kB / 0.6208 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.49e-05/0.6757, allocations: 19.81 kB / 0.6208 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.6768, allocations: 458.8 kB / 0.6212 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.6768, allocations: 4 kB / 0.6212 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.6769, allocations: 0 / 0.6212 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.6769, allocations: 0 / 0.6212 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.6779, allocations: 0.6352 MB / 0.6219 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6779, allocations: 3.812 kB / 0.6219 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.6782, allocations: 55.91 kB / 0.6219 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.6782, allocations: 4 kB / 0.6219 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.6782, allocations: 16.17 kB / 0.6219 GB, free: 7.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000362/0.6786, allocations: 0.5976 MB / 0.6225 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6786, allocations: 4.031 kB / 0.6225 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004188/0.679, allocations: 304.9 kB / 0.6228 GB, free: 6.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.6791, allocations: 112.8 kB / 0.6229 GB, free: 6.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.6792, allocations: 7.938 kB / 0.6229 GB, free: 6.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.6795, allocations: 19.98 kB / 0.623 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.6795, allocations: 11.98 kB / 0.623 GB, free: 6.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.6796, allocations: 16 kB / 0.623 GB, free: 6.785 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001375/0.6797, allocations: 139.6 kB / 0.6231 GB, free: 6.648 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6797, allocations: 0 / 0.6231 GB, free: 6.648 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006685/0.6804, allocations: 163.8 kB / 0.6233 GB, free: 6.488 MB / 462.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.0006603/0.6811, allocations: 279.9 kB / 0.6235 GB, free: 6.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005379/0.6816, allocations: 223.6 kB / 0.6238 GB, free: 5.996 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6816, allocations: 5.812 kB / 0.6238 GB, free: 5.992 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.6818, allocations: 76.39 kB / 0.6238 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.6824, allocations: 71.83 kB / 0.6239 GB, free: 5.848 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.6842, allocations: 0.9031 MB / 0.6248 GB, free: 4.895 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.6845, allocations: 0.7287 MB / 0.6255 GB, free: 4.137 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008116/0.6854, allocations: 371.2 kB / 0.6258 GB, free: 3.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.6856, allocations: 67.31 kB / 0.6259 GB, free: 3.703 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.6856, allocations: 4 kB / 0.6259 GB, free: 3.699 MB / 462.1 MB Notification: Performance of Templates: time 0.01078/0.6964, allocations: 5.526 MB / 0.6313 GB, free: 14.21 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches