Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007861/0.0007864, allocations: 98 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3675/0.3675, allocations: 43.56 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004195, allocations: 12 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4088/0.5243, allocations: 137.3 MB / 0.6128 GB, free: 13.96 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.5296, allocations: 4.347 MB / 0.6171 GB, free: 9.625 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002024/0.5298, allocations: 4 kB / 0.6171 GB, free: 9.621 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.5301, allocations: 47.72 kB / 0.6171 GB, free: 9.574 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004155/0.5343, allocations: 1.229 MB / 0.6183 GB, free: 8.348 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.5347, allocations: 144.1 kB / 0.6185 GB, free: 8.215 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006446/0.5353, allocations: 410 kB / 0.6188 GB, free: 7.812 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.757e-05/0.5354, allocations: 16.59 kB / 0.6189 GB, free: 7.801 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.5358, allocations: 167.4 kB / 0.619 GB, free: 7.637 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.5361, allocations: 169.3 kB / 0.6192 GB, free: 7.473 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.974e-05/0.5362, allocations: 8 kB / 0.6192 GB, free: 7.465 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002991/0.5392, allocations: 1.095 MB / 0.6203 GB, free: 6.371 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.456e-05/0.5393, allocations: 47.81 kB / 0.6203 GB, free: 6.324 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.973e-05/0.5394, allocations: 61.64 kB / 0.6204 GB, free: 6.258 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.5407, allocations: 0.6566 MB / 0.621 GB, free: 5.602 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5407, allocations: 0 / 0.621 GB, free: 5.602 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5407, allocations: 0 / 0.621 GB, free: 5.602 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.5407, allocations: 0 / 0.621 GB, free: 5.602 MB / 442.7 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.001503/0.5422, allocations: 0.6394 MB / 0.6216 GB, free: 4.918 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5423, allocations: 12.03 kB / 0.6216 GB, free: 4.906 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007081/0.5493, allocations: 0.5948 MB / 0.6222 GB, free: 4.316 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.5498, allocations: 263.1 kB / 0.6225 GB, free: 4.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.5499, allocations: 127.4 kB / 0.6226 GB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/0.55, allocations: 20 kB / 0.6226 GB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.5511, allocations: 0.5599 MB / 0.6232 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5511, allocations: 0 / 0.6232 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.986e-05/0.5512, allocations: 12 kB / 0.6232 GB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.5512, allocations: 11.98 kB / 0.6232 GB, free: 3.246 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.5526, allocations: 0.6298 MB / 0.6238 GB, free: 2.617 MB / 442.7 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.00196/0.5545, allocations: 1.624 MB / 0.6254 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.5549, allocations: 166.5 kB / 0.6255 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.555, allocations: 76.78 kB / 0.6256 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002017/0.5571, allocations: 2.081 MB / 0.6277 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.5571, allocations: 38.56 kB / 0.6277 GB, free: 14.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 2.054e-06/0.5571, allocations: 4 kB / 0.6277 GB, free: 14.13 MB / 458.7 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=20): time 0.0009746/0.5581, allocations: 331.1 kB / 0.628 GB, free: 13.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.5581, allocations: 59.36 kB / 0.6281 GB, free: 13.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.5583, allocations: 182.2 kB / 0.6282 GB, free: 13.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.5583, allocations: 33.7 kB / 0.6283 GB, free: 13.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.5585, allocations: 187.2 kB / 0.6284 GB, free: 13.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.517e-05/0.5585, allocations: 70.94 kB / 0.6285 GB, free: 13.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.5586, allocations: 12 kB / 0.6285 GB, free: 13.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5587, allocations: 322.8 kB / 0.6288 GB, free: 12.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.5589, allocations: 64.72 kB / 0.6289 GB, free: 12.85 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.5592, allocations: 263.8 kB / 0.6291 GB, free: 12.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.5594, allocations: 99.86 kB / 0.6292 GB, free: 12.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5594, allocations: 4 kB / 0.6292 GB, free: 12.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006182/0.56, allocations: 365.6 kB / 0.6296 GB, free: 12.03 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5601, allocations: 10.81 kB / 0.6296 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5601, allocations: 8.875 kB / 0.6296 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.5601, allocations: 12 kB / 0.6296 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.5605, allocations: 119.8 kB / 0.6297 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003981/0.5609, allocations: 0.6132 MB / 0.6303 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.5612, allocations: 43.72 kB / 0.6304 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.5613, allocations: 39.98 kB / 0.6304 GB, free: 11.17 MB / 458.7 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.0001787/0.5615, allocations: 149.6 kB / 0.6306 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.5616, allocations: 19.81 kB / 0.6306 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007915/0.5624, allocations: 336.5 kB / 0.6309 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5624, allocations: 0 / 0.6309 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5624, allocations: 0 / 0.6309 GB, free: 10.65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5624, allocations: 4 kB / 0.6309 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000729/0.5632, allocations: 0.518 MB / 0.6314 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.5632, allocations: 4 kB / 0.6314 GB, free: 10.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.5634, allocations: 51.97 kB / 0.6315 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.5634, allocations: 4.156 kB / 0.6315 GB, free: 9.996 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.5635, allocations: 8 kB / 0.6315 GB, free: 9.988 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003837/0.5639, allocations: 0.5938 MB / 0.6321 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5639, allocations: 4.031 kB / 0.6321 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.5643, allocations: 286.8 kB / 0.6323 GB, free: 9.059 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.5644, allocations: 116.8 kB / 0.6324 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.5645, allocations: 0 / 0.6324 GB, free: 8.926 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.5647, allocations: 12 kB / 0.6325 GB, free: 8.914 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.5648, allocations: 23.92 kB / 0.6325 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.5648, allocations: 16 kB / 0.6325 GB, free: 8.875 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.5649, allocations: 132.7 kB / 0.6326 GB, free: 8.746 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.565, allocations: 0 / 0.6326 GB, free: 8.746 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008286/0.5658, allocations: 207.9 kB / 0.6328 GB, free: 8.543 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.0009852/0.5668, allocations: 351.9 kB / 0.6332 GB, free: 8.203 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005373/0.5673, allocations: 220.3 kB / 0.6334 GB, free: 7.988 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.5674, allocations: 4 kB / 0.6334 GB, free: 7.984 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.5676, allocations: 85.2 kB / 0.6335 GB, free: 7.902 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.5681, allocations: 52.14 kB / 0.6335 GB, free: 7.852 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.5717, allocations: 2.081 MB / 0.6355 GB, free: 5.723 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.5721, allocations: 0.7288 MB / 0.6362 GB, free: 4.969 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.5724, allocations: 63.39 kB / 0.6363 GB, free: 4.906 MB / 458.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5724, allocations: 0 / 0.6363 GB, free: 4.906 MB / 458.7 MB Notification: Performance of Templates: time 0.01181/0.5842, allocations: 5.735 MB / 0.6419 GB, free: 15.18 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches