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.002293/0.002298, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.301/2.301, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001105/0.001105, allocations: 84.42 kB / 270.9 MB, free: 8.359 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.5551/0.5551, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007568/0.0007572, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1325, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5269/0.6594, allocations: 126.2 MB / 0.6019 GB, free: 8.277 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.6699, allocations: 5.488 MB / 0.6073 GB, free: 3.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002543/0.6702, allocations: 0 / 0.6073 GB, free: 3.25 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.6705, allocations: 45.25 kB / 0.6073 GB, free: 3.223 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006144/0.6767, allocations: 1.275 MB / 0.6086 GB, free: 2.199 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.6773, allocations: 129.8 kB / 0.6087 GB, free: 2.086 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008502/0.6782, allocations: 267.4 kB / 0.609 GB, free: 1.824 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.218e-05/0.6783, allocations: 16.59 kB / 0.609 GB, free: 1.812 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000543/0.6789, allocations: 159.5 kB / 0.6091 GB, free: 1.656 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004817/0.6794, allocations: 159.5 kB / 0.6093 GB, free: 1.5 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.6795, allocations: 8 kB / 0.6093 GB, free: 1.492 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004892/0.6844, allocations: 1.209 MB / 0.6105 GB, free: 288 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.6846, allocations: 39.88 kB / 0.6105 GB, free: 248 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.6847, allocations: 69.58 kB / 0.6106 GB, free: 172 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002375/0.6871, allocations: 0.6481 MB / 0.6112 GB, free: 15.53 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6872, allocations: 0 / 0.6112 GB, free: 15.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.6872, allocations: 0 / 0.6112 GB, free: 15.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.6872, allocations: 3.938 kB / 0.6112 GB, free: 15.52 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.002022/0.6893, allocations: 0.6472 MB / 0.6118 GB, free: 14.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.6893, allocations: 12.03 kB / 0.6118 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.7029, allocations: 0.5909 MB / 0.6124 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.7036, allocations: 254.7 kB / 0.6127 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.7038, allocations: 131.4 kB / 0.6128 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.7039, allocations: 16 kB / 0.6128 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.706, allocations: 0.5628 MB / 0.6134 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.7061, allocations: 3.938 kB / 0.6134 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.7062, allocations: 12 kB / 0.6134 GB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.7062, allocations: 8 kB / 0.6134 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.7088, allocations: 0.6299 MB / 0.614 GB, free: 12.53 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.003239/0.7121, allocations: 1.612 MB / 0.6156 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000616/0.7128, allocations: 165.9 kB / 0.6157 GB, free: 10.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/0.7146, allocations: 1.199 MB / 0.6169 GB, free: 9.215 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.7147, allocations: 38.55 kB / 0.6169 GB, free: 9.168 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 2.815e-06/0.7147, allocations: 4 kB / 0.6169 GB, free: 9.164 MB / 442.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.001623/0.7164, allocations: 338.8 kB / 0.6173 GB, free: 8.828 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.7164, allocations: 59.41 kB / 0.6173 GB, free: 8.758 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.7167, allocations: 182.2 kB / 0.6175 GB, free: 8.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.7167, allocations: 29.7 kB / 0.6175 GB, free: 8.535 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.7169, allocations: 253.7 kB / 0.6178 GB, free: 8.285 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.553e-05/0.717, allocations: 70.95 kB / 0.6178 GB, free: 8.215 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.7171, allocations: 12 kB / 0.6178 GB, free: 8.203 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7172, allocations: 326.8 kB / 0.6182 GB, free: 7.875 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.7175, allocations: 60.72 kB / 0.6182 GB, free: 7.816 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.7179, allocations: 267.8 kB / 0.6185 GB, free: 7.461 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/0.7182, allocations: 101.5 kB / 0.6186 GB, free: 7.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.7182, allocations: 4 kB / 0.6186 GB, free: 7.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009984/0.7192, allocations: 361.6 kB / 0.6189 GB, free: 7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.7193, allocations: 8 kB / 0.6189 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.7193, allocations: 8 kB / 0.6189 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.7194, allocations: 8 kB / 0.6189 GB, free: 6.977 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/0.7201, allocations: 135.7 kB / 0.6191 GB, free: 6.844 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005366/0.7207, allocations: 0.5976 MB / 0.6197 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004185/0.7211, allocations: 47.86 kB / 0.6197 GB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.873e-05/0.7212, allocations: 40 kB / 0.6197 GB, free: 6.137 MB / 442.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.000235/0.7214, allocations: 146.8 kB / 0.6199 GB, free: 5.984 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.7215, allocations: 23.67 kB / 0.6199 GB, free: 5.961 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.7229, allocations: 324.5 kB / 0.6202 GB, free: 5.629 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.7229, allocations: 8 kB / 0.6202 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7229, allocations: 0 / 0.6202 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.7229, allocations: 3.984 kB / 0.6202 GB, free: 5.617 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.724, allocations: 0.5171 MB / 0.6207 GB, free: 5.031 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.7241, allocations: 4 kB / 0.6207 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.7245, allocations: 67.23 kB / 0.6208 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.7245, allocations: 3.938 kB / 0.6208 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.7246, allocations: 4 kB / 0.6208 GB, free: 4.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004508/0.725, allocations: 0.5938 MB / 0.6214 GB, free: 4.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.7251, allocations: 4.031 kB / 0.6214 GB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.7257, allocations: 336.1 kB / 0.6217 GB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.7259, allocations: 116.8 kB / 0.6218 GB, free: 3.812 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.877e-05/0.7259, allocations: 8 kB / 0.6218 GB, free: 3.805 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004185/0.7264, allocations: 4 kB / 0.6218 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.7265, allocations: 23.92 kB / 0.6218 GB, free: 3.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.7265, allocations: 12 kB / 0.6219 GB, free: 3.766 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.7267, allocations: 132.8 kB / 0.622 GB, free: 3.637 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.204e-06/0.7267, allocations: 7.938 kB / 0.622 GB, free: 3.629 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001045/0.7278, allocations: 211.9 kB / 0.6222 GB, free: 3.422 MB / 442.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.001246/0.729, allocations: 355.3 kB / 0.6225 GB, free: 3.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008802/0.7299, allocations: 221.3 kB / 0.6227 GB, free: 2.863 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.73, allocations: 4.062 kB / 0.6227 GB, free: 2.859 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.7303, allocations: 79.89 kB / 0.6228 GB, free: 2.781 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006172/0.7309, allocations: 40.16 kB / 0.6229 GB, free: 2.742 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.7323, allocations: 0.5634 MB / 0.6234 GB, free: 2.133 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.7327, allocations: 0.7328 MB / 0.6241 GB, free: 1.375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.7331, allocations: 51.41 kB / 0.6242 GB, free: 1.324 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.7331, allocations: 0 / 0.6242 GB, free: 1.324 MB / 442.7 MB Notification: Performance of Templates: time 0.01547/0.7486, allocations: 5.964 MB / 0.63 GB, free: 11.37 MB / 458.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/jenkins1/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