Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001396/0.001396, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001595/0.001595, allocations: 206.3 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2404/0.2404, allocations: 46.95 MB / 360.8 MB, free: 3.891 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002429/0.002429, allocations: 83.86 kB / 0.4967 GB, free: 6.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3426, allocations: 66.08 MB / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1786/0.5212, allocations: 132 MB / 0.6901 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006086/0.5272, allocations: 4.75 MB / 0.6948 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.5273, allocations: 0 / 0.6948 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.5276, allocations: 55.66 kB / 0.6948 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003337/0.5309, allocations: 1.332 MB / 0.6961 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.5313, allocations: 146.2 kB / 0.6962 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005932/0.5319, allocations: 402.1 kB / 0.6966 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.5319, allocations: 9.797 kB / 0.6966 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.5322, allocations: 179.3 kB / 0.6968 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.5325, allocations: 167.5 kB / 0.697 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.5326, allocations: 8 kB / 0.697 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00202/0.5346, allocations: 0.9741 MB / 0.6979 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.5347, allocations: 43.83 kB / 0.698 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.5348, allocations: 95.58 kB / 0.6981 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.5362, allocations: 0.8519 MB / 0.6989 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5362, allocations: 3.938 kB / 0.6989 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5362, allocations: 0 / 0.6989 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.5362, allocations: 0 / 0.6989 GB, free: 6.406 MB / 0.5294 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.001319/0.5375, allocations: 0.6216 MB / 0.6995 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.5376, allocations: 8.031 kB / 0.6995 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007979/0.5455, allocations: 0.6054 MB / 0.7001 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.5461, allocations: 209.6 kB / 0.7003 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.5463, allocations: 226.1 kB / 0.7005 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.5464, allocations: 24 kB / 0.7005 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.5478, allocations: 0.7422 MB / 0.7013 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.5478, allocations: 3.938 kB / 0.7013 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.5478, allocations: 12 kB / 0.7013 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.5479, allocations: 11.98 kB / 0.7013 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.5493, allocations: 0.6182 MB / 0.7019 GB, free: 3.148 MB / 0.5294 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.002244/0.5516, allocations: 1.401 MB / 0.7033 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.5519, allocations: 154.5 kB / 0.7034 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.5521, allocations: 75.56 kB / 0.7035 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/0.5532, allocations: 479 kB / 0.7039 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.5533, allocations: 38.56 kB / 0.704 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.034e-06/0.5533, allocations: 0 / 0.704 GB, free: 0.8984 MB / 0.5294 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.001041/0.5543, allocations: 325.5 kB / 0.7043 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.5543, allocations: 51.41 kB / 0.7043 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.5545, allocations: 198.5 kB / 0.7045 GB, free: 316 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.5546, allocations: 29.7 kB / 0.7046 GB, free: 280 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.5547, allocations: 187.8 kB / 0.7047 GB, free: 88 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.5548, allocations: 79.34 kB / 0.7048 GB, free: 8 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.5549, allocations: 90.02 kB / 0.7049 GB, free: 15.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5551, allocations: 334.8 kB / 0.7052 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.5552, allocations: 64.7 kB / 0.7053 GB, free: 15.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.5555, allocations: 260 kB / 0.7055 GB, free: 15.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.556, allocations: 366.2 kB / 0.7059 GB, free: 14.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.556, allocations: 0 / 0.7059 GB, free: 14.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006295/0.5567, allocations: 383.5 kB / 0.7062 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.5567, allocations: 8 kB / 0.7062 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5567, allocations: 11.94 kB / 0.7063 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.5567, allocations: 8 kB / 0.7063 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.5571, allocations: 123.8 kB / 0.7064 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004383/0.5576, allocations: 0.6132 MB / 0.707 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.5578, allocations: 43.73 kB / 0.707 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.5579, allocations: 43.98 kB / 0.7071 GB, free: 13.46 MB / 0.545 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 (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.0001572/0.558, allocations: 149.9 kB / 0.7072 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.5581, allocations: 15.91 kB / 0.7072 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008582/0.5589, allocations: 459.3 kB / 0.7077 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.5589, allocations: 0 / 0.7077 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.559, allocations: 3.938 kB / 0.7077 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.559, allocations: 3.984 kB / 0.7077 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000827/0.5598, allocations: 0.4934 MB / 0.7082 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.5598, allocations: 12.02 kB / 0.7082 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.56, allocations: 51.97 kB / 0.7082 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.56, allocations: 4 kB / 0.7082 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.56, allocations: 8 kB / 0.7082 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000424/0.5605, allocations: 0.5976 MB / 0.7088 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5605, allocations: 4.031 kB / 0.7088 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.5609, allocations: 300.8 kB / 0.7091 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.581e-05/0.561, allocations: 27.98 kB / 0.7091 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.561, allocations: 12 kB / 0.7091 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.5612, allocations: 19.92 kB / 0.7092 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.5613, allocations: 15.92 kB / 0.7092 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.5613, allocations: 19.98 kB / 0.7092 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001257/0.5614, allocations: 136 kB / 0.7093 GB, free: 11 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5614, allocations: 0 / 0.7093 GB, free: 11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006766/0.5621, allocations: 175.6 kB / 0.7095 GB, free: 10.83 MB / 0.545 GB 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.0005637/0.5627, allocations: 266.7 kB / 0.7097 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005214/0.5632, allocations: 220.6 kB / 0.71 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5632, allocations: 4 kB / 0.71 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.5634, allocations: 75.84 kB / 0.71 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.564, allocations: 75.16 kB / 0.7101 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.5656, allocations: 0.8785 MB / 0.711 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.5657, allocations: 120.5 kB / 0.7111 GB, free: 9.129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006885/0.5664, allocations: 378.1 kB / 0.7114 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.5666, allocations: 63.38 kB / 0.7115 GB, free: 8.699 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.5666, allocations: 0 / 0.7115 GB, free: 8.699 MB / 0.545 GB Notification: Performance of Templates: time 0.01197/0.5786, allocations: 6.086 MB / 0.7174 GB, free: 2.672 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.905931746587157]