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.001033/0.001033, allocations: 96.98 kB / 17 MB, free: 6.418 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.001198/0.001198, allocations: 191.4 kB / 17.89 MB, free: 5.945 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.485/1.485, allocations: 223.2 MB / 241.9 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2174/0.2174, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004563/0.0004565, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1516, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4478/0.5994, allocations: 136.2 MB / 0.5935 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005779/0.6053, allocations: 4.916 MB / 0.5983 GB, free: 6.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.6055, allocations: 4 kB / 0.5983 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.6058, allocations: 47.7 kB / 0.5984 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003932/0.6098, allocations: 1.042 MB / 0.5994 GB, free: 5.008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.6102, allocations: 134.5 kB / 0.5995 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008418/0.6111, allocations: 414.1 kB / 0.5999 GB, free: 4.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.813e-05/0.6111, allocations: 9.688 kB / 0.5999 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.6116, allocations: 167.3 kB / 0.6001 GB, free: 4.305 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.612, allocations: 179.5 kB / 0.6002 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.612, allocations: 8 kB / 0.6003 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.6145, allocations: 0.9163 MB / 0.6012 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.6147, allocations: 43.81 kB / 0.6012 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.6148, allocations: 69.58 kB / 0.6013 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.6161, allocations: 0.5751 MB / 0.6018 GB, free: 2.512 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.6161, allocations: 4 kB / 0.6018 GB, free: 2.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6161, allocations: 3.938 kB / 0.6018 GB, free: 2.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.6161, allocations: 0 / 0.6018 GB, free: 2.504 MB / 430.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.001384/0.6175, allocations: 0.6207 MB / 0.6024 GB, free: 1.836 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.6176, allocations: 16.02 kB / 0.6024 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006826/0.6244, allocations: 0.581 MB / 0.603 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.6249, allocations: 262.7 kB / 0.6033 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.6251, allocations: 123.4 kB / 0.6034 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.6252, allocations: 20 kB / 0.6034 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.6264, allocations: 0.5634 MB / 0.604 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.6264, allocations: 7.938 kB / 0.604 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.6265, allocations: 12 kB / 0.604 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.6266, allocations: 4 kB / 0.604 GB, free: 156 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.628, allocations: 0.626 MB / 0.6046 GB, free: 15.53 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.002195/0.6302, allocations: 1.703 MB / 0.6063 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.6305, allocations: 158.4 kB / 0.6064 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.6307, allocations: 76.86 kB / 0.6065 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.6321, allocations: 1.475 MB / 0.6079 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.6322, allocations: 38.56 kB / 0.608 GB, free: 11.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.823e-06/0.6322, allocations: 0 / 0.608 GB, free: 11.64 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.0009758/0.6332, allocations: 330.3 kB / 0.6083 GB, free: 11.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.6332, allocations: 55.34 kB / 0.6083 GB, free: 11.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.6334, allocations: 194.9 kB / 0.6085 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.6335, allocations: 29.7 kB / 0.6085 GB, free: 11.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.6336, allocations: 179.3 kB / 0.6087 GB, free: 10.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.6337, allocations: 71.09 kB / 0.6088 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.6337, allocations: 8 kB / 0.6088 GB, free: 10.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6338, allocations: 326.8 kB / 0.6091 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.634, allocations: 64.7 kB / 0.6092 GB, free: 10.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.6343, allocations: 260 kB / 0.6094 GB, free: 10.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.6345, allocations: 111.6 kB / 0.6095 GB, free: 9.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6345, allocations: 0 / 0.6095 GB, free: 9.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006373/0.6352, allocations: 368.8 kB / 0.6099 GB, free: 9.551 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.6352, allocations: 8 kB / 0.6099 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.6352, allocations: 8 kB / 0.6099 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.6353, allocations: 12.75 kB / 0.6099 GB, free: 9.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.6357, allocations: 123.8 kB / 0.61 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003783/0.6361, allocations: 0.6055 MB / 0.6106 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.6363, allocations: 47.53 kB / 0.6106 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.6364, allocations: 43.98 kB / 0.6107 GB, free: 8.684 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.0001496/0.6365, allocations: 141.7 kB / 0.6108 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.6366, allocations: 23.86 kB / 0.6108 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009487/0.6375, allocations: 457.4 kB / 0.6113 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6375, allocations: 0.6875 kB / 0.6113 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.6376, allocations: 4 kB / 0.6113 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.6376, allocations: 7.969 kB / 0.6113 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008658/0.6384, allocations: 0.6392 MB / 0.6119 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.6385, allocations: 0 / 0.6119 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.6387, allocations: 53.41 kB / 0.612 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.6387, allocations: 4 kB / 0.612 GB, free: 7.242 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.6387, allocations: 11.94 kB / 0.612 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003121/0.639, allocations: 0.6016 MB / 0.6126 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.639, allocations: 192 / 0.6126 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.6394, allocations: 306 kB / 0.6129 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.6395, allocations: 112.8 kB / 0.613 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.6395, allocations: 4 kB / 0.613 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.6398, allocations: 15.95 kB / 0.613 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.6398, allocations: 20.84 kB / 0.613 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.6399, allocations: 19.94 kB / 0.613 GB, free: 6.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.64, allocations: 135.1 kB / 0.6132 GB, free: 5.945 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.64, allocations: 0 / 0.6132 GB, free: 5.945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006399/0.6406, allocations: 163.9 kB / 0.6133 GB, free: 5.785 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.000641/0.6413, allocations: 276.2 kB / 0.6136 GB, free: 5.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005755/0.6419, allocations: 225.3 kB / 0.6138 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6419, allocations: 0 / 0.6138 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.6421, allocations: 83.83 kB / 0.6139 GB, free: 5.219 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.6425, allocations: 60.39 kB / 0.6139 GB, free: 5.164 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.6442, allocations: 0.9381 MB / 0.6148 GB, free: 4.176 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.6446, allocations: 0.725 MB / 0.6156 GB, free: 3.422 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008643/0.6455, allocations: 383.4 kB / 0.6159 GB, free: 3.047 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.6457, allocations: 63.39 kB / 0.616 GB, free: 2.984 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6457, allocations: 0 / 0.616 GB, free: 2.984 MB / 446.1 MB Notification: Performance of Templates: time 0.01187/0.6576, allocations: 5.184 MB / 0.621 GB, free: 13.82 MB / 462.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