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.002151/0.00215, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.916/1.916, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001165/0.001164, allocations: 87.45 kB / 270.9 MB, free: 8.363 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.5042/0.5042, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004485, allocations: 8 kB / 431.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.636/1.762, allocations: 497.7 MB / 0.9647 GB, free: 80.74 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/1.762, allocations: 71.59 kB / 0.9648 GB, free: 80.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2271/1.989, allocations: 57.37 MB / 1.021 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.185e-06/1.989, allocations: 0 / 1.021 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.509e-05/1.989, allocations: 4 kB / 1.021 GB, free: 27.83 MB / 0.4948 GB 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.002106/1.992, allocations: 0.7012 MB / 1.022 GB, free: 27.08 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/1.992, allocations: 12.03 kB / 1.022 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/2.004, allocations: 0.5987 MB / 1.022 GB, free: 26.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/2.005, allocations: 258.7 kB / 1.022 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/2.005, allocations: 119.4 kB / 1.022 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/2.005, allocations: 20 kB / 1.022 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/2.007, allocations: 0.5595 MB / 1.023 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/2.007, allocations: 0 / 1.023 GB, free: 25.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/2.008, allocations: 12 kB / 1.023 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/2.008, allocations: 8 kB / 1.023 GB, free: 25.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/2.01, allocations: 0.6064 MB / 1.024 GB, free: 24.81 MB / 0.4948 GB 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.002907/2.013, allocations: 1.628 MB / 1.025 GB, free: 23.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/2.014, allocations: 157.3 kB / 1.025 GB, free: 22.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/2.015, allocations: 1.226 MB / 1.027 GB, free: 21.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/2.015, allocations: 30.56 kB / 1.027 GB, free: 21.42 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 2.786e-06/2.015, allocations: 0 / 1.027 GB, free: 21.42 MB / 0.4948 GB 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.001496/2.016, allocations: 338.9 kB / 1.027 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/2.017, allocations: 59.36 kB / 1.027 GB, free: 21.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/2.017, allocations: 153.4 kB / 1.027 GB, free: 20.86 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/2.017, allocations: 33.7 kB / 1.027 GB, free: 20.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/2.017, allocations: 253.6 kB / 1.027 GB, free: 20.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.638e-05/2.017, allocations: 71 kB / 1.027 GB, free: 20.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/2.017, allocations: 8 kB / 1.027 GB, free: 20.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/2.017, allocations: 334.8 kB / 1.028 GB, free: 20.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/2.017, allocations: 60.72 kB / 1.028 GB, free: 20.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/2.018, allocations: 259.8 kB / 1.028 GB, free: 19.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/2.018, allocations: 115.8 kB / 1.028 GB, free: 19.63 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/2.018, allocations: 0 / 1.028 GB, free: 19.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008666/2.019, allocations: 362.3 kB / 1.029 GB, free: 19.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/2.019, allocations: 10.81 kB / 1.029 GB, free: 19.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/2.019, allocations: 7.984 kB / 1.029 GB, free: 19.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/2.019, allocations: 12 kB / 1.029 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/2.02, allocations: 128.5 kB / 1.029 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003319/2.02, allocations: 0.6094 MB / 1.029 GB, free: 18.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/2.02, allocations: 47.53 kB / 1.029 GB, free: 18.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.256e-05/2.02, allocations: 39.98 kB / 1.029 GB, free: 18.4 MB / 0.4948 GB 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.0001785/2.021, allocations: 142.9 kB / 1.03 GB, free: 18.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/2.021, allocations: 19.81 kB / 1.03 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/2.022, allocations: 326.8 kB / 1.03 GB, free: 17.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/2.022, allocations: 4 kB / 1.03 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/2.022, allocations: 0 / 1.03 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/2.022, allocations: 0 / 1.03 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009266/2.023, allocations: 0.5443 MB / 1.03 GB, free: 17.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/2.023, allocations: 4 kB / 1.03 GB, free: 17.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/2.023, allocations: 63.89 kB / 1.03 GB, free: 17.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/2.023, allocations: 4 kB / 1.03 GB, free: 17.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/2.023, allocations: 4 kB / 1.03 GB, free: 17.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002676/2.024, allocations: 0.5979 MB / 1.031 GB, free: 16.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/2.024, allocations: 4.031 kB / 1.031 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/2.024, allocations: 352.4 kB / 1.031 GB, free: 16.18 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/2.024, allocations: 120.8 kB / 1.032 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.018e-05/2.024, allocations: 3.984 kB / 1.032 GB, free: 16.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000362/2.025, allocations: 12 kB / 1.032 GB, free: 16.03 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/2.025, allocations: 19.94 kB / 1.032 GB, free: 16.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.132e-05/2.025, allocations: 27.98 kB / 1.032 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001223/2.025, allocations: 131.2 kB / 1.032 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.21e-07/2.025, allocations: 0 / 1.032 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001246/2.026, allocations: 263.6 kB / 1.032 GB, free: 15.59 MB / 0.4948 GB 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 (16): * Single equations (assignments): 15 * 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.001742/2.028, allocations: 0.7355 MB / 1.033 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008564/2.029, allocations: 216.2 kB / 1.033 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/2.029, allocations: 4 kB / 1.033 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003097/2.029, allocations: 77.39 kB / 1.033 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/2.03, allocations: 56.14 kB / 1.033 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4534/2.483, allocations: 30.76 MB / 1.063 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/2.484, allocations: 0.7278 MB / 1.064 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/2.484, allocations: 63.98 kB / 1.064 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.153e-06/2.484, allocations: 0 / 1.064 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.0192/2.503, allocations: 8.481 MB / 1.072 GB, free: 116.5 MB / 0.4948 GB 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