Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001082, allocations: 195 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 226.5 MB / 244.1 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007134/0.0007134, allocations: 94.75 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2925/0.2925, allocations: 44.82 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000274/0.000274, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3076, allocations: 62.95 MB / 0.5165 GB, free: 36.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8588/1.167, allocations: 0.4912 GB / 1.008 GB, free: 115.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/1.167, allocations: 75.97 kB / 1.008 GB, free: 115.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.09462/1.261, allocations: 48.22 MB / 1.055 GB, free: 66.85 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.404e-06/1.261, allocations: 0 / 1.055 GB, free: 66.85 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.662e-05/1.262, allocations: 4 kB / 1.055 GB, free: 66.84 MB / 0.5417 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.001348/1.263, allocations: 0.6595 MB / 1.055 GB, free: 66.13 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.263, allocations: 8.031 kB / 1.055 GB, free: 66.12 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006497/1.269, allocations: 0.6131 MB / 1.056 GB, free: 65.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/1.27, allocations: 260 kB / 1.056 GB, free: 65.22 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.891e-05/1.27, allocations: 123.9 kB / 1.056 GB, free: 65.07 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/1.27, allocations: 20.38 kB / 1.056 GB, free: 65.05 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009694/1.271, allocations: 0.5639 MB / 1.057 GB, free: 64.46 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.271, allocations: 3.938 kB / 1.057 GB, free: 64.45 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/1.271, allocations: 11.98 kB / 1.057 GB, free: 64.44 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/1.271, allocations: 8 kB / 1.057 GB, free: 64.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/1.272, allocations: 0.6026 MB / 1.058 GB, free: 63.83 MB / 0.5417 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.00174/1.274, allocations: 1.716 MB / 1.059 GB, free: 61.97 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/1.274, allocations: 150.5 kB / 1.059 GB, free: 61.81 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/1.274, allocations: 76.98 kB / 1.06 GB, free: 61.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/1.276, allocations: 1.487 MB / 1.061 GB, free: 59.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/1.276, allocations: 38.5 kB / 1.061 GB, free: 59.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=19): time 2.215e-06/1.276, allocations: 0 / 1.061 GB, free: 59.93 MB / 0.5417 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=19): time 0.0008854/1.277, allocations: 330.5 kB / 1.061 GB, free: 59.61 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/1.277, allocations: 55.39 kB / 1.061 GB, free: 59.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/1.277, allocations: 183.1 kB / 1.062 GB, free: 59.35 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/1.277, allocations: 25.7 kB / 1.062 GB, free: 59.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/1.277, allocations: 183.2 kB / 1.062 GB, free: 59.14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/1.277, allocations: 71.08 kB / 1.062 GB, free: 59.07 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/1.277, allocations: 8 kB / 1.062 GB, free: 59.06 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/1.277, allocations: 326.8 kB / 1.062 GB, free: 58.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/1.277, allocations: 64.7 kB / 1.062 GB, free: 58.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/1.277, allocations: 260 kB / 1.062 GB, free: 58.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/1.278, allocations: 369.1 kB / 1.063 GB, free: 57.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.278, allocations: 3.938 kB / 1.063 GB, free: 57.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004973/1.278, allocations: 369.4 kB / 1.063 GB, free: 57.49 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.278, allocations: 8.156 kB / 1.063 GB, free: 57.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.278, allocations: 12 kB / 1.063 GB, free: 57.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.278, allocations: 8 kB / 1.063 GB, free: 57.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003571/1.279, allocations: 127.8 kB / 1.063 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002157/1.279, allocations: 0.5977 MB / 1.064 GB, free: 56.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/1.279, allocations: 47.53 kB / 1.064 GB, free: 56.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/1.279, allocations: 44.08 kB / 1.064 GB, free: 56.63 MB / 0.5417 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.0001025/1.279, allocations: 153.5 kB / 1.064 GB, free: 56.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/1.279, allocations: 19.8 kB / 1.064 GB, free: 56.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008047/1.28, allocations: 465 kB / 1.065 GB, free: 55.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/1.28, allocations: 7.984 kB / 1.065 GB, free: 55.97 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.28, allocations: 0 / 1.065 GB, free: 55.97 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.28, allocations: 0 / 1.065 GB, free: 55.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008023/1.281, allocations: 0.7468 MB / 1.065 GB, free: 55.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.281, allocations: 3.938 kB / 1.065 GB, free: 55.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/1.281, allocations: 63.95 kB / 1.065 GB, free: 55.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.281, allocations: 4 kB / 1.065 GB, free: 55.03 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/1.281, allocations: 8 kB / 1.065 GB, free: 55.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001995/1.281, allocations: 0.6097 MB / 1.066 GB, free: 54.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.281, allocations: 0 / 1.066 GB, free: 54.39 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/1.282, allocations: 315 kB / 1.066 GB, free: 54.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/1.282, allocations: 116.8 kB / 1.066 GB, free: 53.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/1.282, allocations: 4 kB / 1.066 GB, free: 53.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/1.282, allocations: 19.97 kB / 1.066 GB, free: 53.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/1.282, allocations: 27.86 kB / 1.066 GB, free: 53.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/1.282, allocations: 27.98 kB / 1.066 GB, free: 53.83 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.784e-05/1.282, allocations: 128.1 kB / 1.067 GB, free: 53.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/1.282, allocations: 0 / 1.067 GB, free: 53.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008354/1.283, allocations: 211.8 kB / 1.067 GB, free: 53.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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.001054/1.284, allocations: 0.6781 MB / 1.067 GB, free: 52.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005108/1.285, allocations: 221.5 kB / 1.068 GB, free: 52.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.285, allocations: 5.875 kB / 1.068 GB, free: 52.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/1.285, allocations: 92.31 kB / 1.068 GB, free: 52.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/1.286, allocations: 60 kB / 1.068 GB, free: 52.45 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03283/1.319, allocations: 19.36 MB / 1.087 GB, free: 32.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/1.319, allocations: 0.7248 MB / 1.087 GB, free: 32.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/1.319, allocations: 87.36 kB / 1.088 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of SimCode: time 5.11e-07/1.319, allocations: 0 / 1.088 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of Templates: time 0.00828/1.327, allocations: 7.741 MB / 1.095 GB, free: 24.34 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches