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.0008918/0.0008918, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.0009134/0.0009134, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.387/1.387, allocations: 223.3 MB / 243 MB, free: 14.36 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.2024/0.2024, allocations: 44.23 MB / 338.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003329, allocations: 4 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1093, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3857/0.4951, allocations: 146 MB / 0.6044 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006229/0.5013, allocations: 5.312 MB / 0.6096 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.5016, allocations: 4 kB / 0.6096 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.5019, allocations: 47.72 kB / 0.6097 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.5059, allocations: 1.154 MB / 0.6108 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.5062, allocations: 139 kB / 0.6109 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006924/0.5069, allocations: 478 kB / 0.6114 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.507, allocations: 9.688 kB / 0.6114 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003919/0.5074, allocations: 163.3 kB / 0.6115 GB, free: 9.398 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003879/0.5078, allocations: 179.5 kB / 0.6117 GB, free: 9.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.5079, allocations: 4 kB / 0.6117 GB, free: 9.219 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.5102, allocations: 1.053 MB / 0.6127 GB, free: 8.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.5104, allocations: 47.75 kB / 0.6128 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.5105, allocations: 133.3 kB / 0.6129 GB, free: 7.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.5117, allocations: 0.6121 MB / 0.6135 GB, free: 7.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5117, allocations: 0 / 0.6135 GB, free: 7.367 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5117, allocations: 0 / 0.6135 GB, free: 7.367 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.5118, allocations: 0 / 0.6135 GB, free: 7.367 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.001455/0.5132, allocations: 0.6209 MB / 0.6141 GB, free: 6.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5133, allocations: 8.031 kB / 0.6141 GB, free: 6.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007949/0.5212, allocations: 0.5863 MB / 0.6147 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.5218, allocations: 264.6 kB / 0.6149 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.522, allocations: 123.4 kB / 0.6151 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.5222, allocations: 20 kB / 0.6151 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.5235, allocations: 0.5634 MB / 0.6156 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5236, allocations: 4 kB / 0.6156 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.472e-05/0.5237, allocations: 15.98 kB / 0.6156 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.5237, allocations: 4 kB / 0.6157 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.5252, allocations: 0.6299 MB / 0.6163 GB, free: 4.391 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.00241/0.5276, allocations: 1.707 MB / 0.6179 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.528, allocations: 161.8 kB / 0.6181 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.5281, allocations: 84.72 kB / 0.6182 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.5296, allocations: 1.474 MB / 0.6196 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.5296, allocations: 38.56 kB / 0.6196 GB, free: 0.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.814e-06/0.5296, allocations: 0 / 0.6196 GB, free: 0.5 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.001004/0.5306, allocations: 325.7 kB / 0.62 GB, free: 184 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.5307, allocations: 55.41 kB / 0.62 GB, free: 116 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.5309, allocations: 191 kB / 0.6202 GB, free: 15.92 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.531, allocations: 33.64 kB / 0.6202 GB, free: 15.88 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.5311, allocations: 175.3 kB / 0.6204 GB, free: 15.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.496e-05/0.5312, allocations: 71.08 kB / 0.6205 GB, free: 15.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.5313, allocations: 41.7 kB / 0.6205 GB, free: 15.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.5314, allocations: 326.8 kB / 0.6208 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.5316, allocations: 68.7 kB / 0.6209 GB, free: 15.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.5319, allocations: 260 kB / 0.6211 GB, free: 14.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.5324, allocations: 366.2 kB / 0.6215 GB, free: 14.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.5324, allocations: 0 / 0.6215 GB, free: 14.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006465/0.533, allocations: 381.2 kB / 0.6218 GB, free: 14.01 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.5331, allocations: 8 kB / 0.6218 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5331, allocations: 8 kB / 0.6219 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.5331, allocations: 8 kB / 0.6219 GB, free: 13.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.5335, allocations: 119.9 kB / 0.622 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003907/0.5339, allocations: 0.6135 MB / 0.6226 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.5342, allocations: 43.53 kB / 0.6226 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.5343, allocations: 39.98 kB / 0.6227 GB, free: 13.15 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.000173/0.5344, allocations: 145.7 kB / 0.6228 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.5345, allocations: 19.81 kB / 0.6228 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.5355, allocations: 469.2 kB / 0.6233 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5355, allocations: 0 / 0.6233 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5355, allocations: 0 / 0.6233 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5356, allocations: 0 / 0.6233 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009214/0.5365, allocations: 0.639 MB / 0.6239 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5365, allocations: 6.797 kB / 0.6239 GB, free: 11.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.5367, allocations: 52.22 kB / 0.6239 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.5367, allocations: 8 kB / 0.6239 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.5368, allocations: 12 kB / 0.624 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000337/0.5371, allocations: 0.5976 MB / 0.6245 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5371, allocations: 0 / 0.6245 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00038/0.5375, allocations: 300.8 kB / 0.6248 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.5376, allocations: 116.8 kB / 0.6249 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.5377, allocations: 11.94 kB / 0.625 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.538, allocations: 8 kB / 0.625 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.538, allocations: 19.91 kB / 0.625 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.538, allocations: 20 kB / 0.625 GB, free: 10.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.5382, allocations: 135.6 kB / 0.6251 GB, free: 10.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5382, allocations: 0 / 0.6251 GB, free: 10.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006949/0.5389, allocations: 171.9 kB / 0.6253 GB, free: 10.25 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.0007752/0.5397, allocations: 278.1 kB / 0.6256 GB, free: 9.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00055/0.5402, allocations: 217.1 kB / 0.6258 GB, free: 9.762 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5403, allocations: 4 kB / 0.6258 GB, free: 9.758 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.5405, allocations: 88.2 kB / 0.6259 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006298/0.5411, allocations: 64.31 kB / 0.6259 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.5428, allocations: 0.9719 MB / 0.6269 GB, free: 8.578 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.5432, allocations: 0.7248 MB / 0.6276 GB, free: 7.824 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.5435, allocations: 83.36 kB / 0.6276 GB, free: 7.742 MB / 462.1 MB Notification: Performance of SimCode: time 3.055e-06/0.5435, allocations: 0 / 0.6276 GB, free: 7.742 MB / 462.1 MB Notification: Performance of Templates: time 0.009621/0.5531, allocations: 5.439 MB / 0.633 GB, free: 2.305 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/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_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches