Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2256/0.2256, allocations: 46.97 MB / 361.6 MB, free: 4.094 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.89 kB / 0.4974 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 66.03 MB / 0.5619 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1792/0.5014, allocations: 132 MB / 0.6908 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006304/0.5077, allocations: 4.758 MB / 0.6954 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.834e-05/0.5078, allocations: 0 / 0.6954 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.5081, allocations: 43.67 kB / 0.6954 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.5118, allocations: 1.339 MB / 0.6967 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.5121, allocations: 139.6 kB / 0.6969 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006585/0.5128, allocations: 406.1 kB / 0.6973 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.458e-05/0.5129, allocations: 17.72 kB / 0.6973 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.5132, allocations: 179.3 kB / 0.6975 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.5135, allocations: 183.5 kB / 0.6976 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.5135, allocations: 8 kB / 0.6976 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.5155, allocations: 0.9892 MB / 0.6986 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.429e-05/0.5156, allocations: 51.75 kB / 0.6987 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.5157, allocations: 91.66 kB / 0.6987 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.517, allocations: 0.8532 MB / 0.6996 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.517, allocations: 7.984 kB / 0.6996 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.754e-06/0.517, allocations: 0 / 0.6996 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.517, allocations: 0 / 0.6996 GB, free: 6.551 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.001305/0.5183, allocations: 0.6138 MB / 0.7002 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.5183, allocations: 8.031 kB / 0.7002 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007898/0.5262, allocations: 0.6054 MB / 0.7008 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.5268, allocations: 213.5 kB / 0.701 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.527, allocations: 222.1 kB / 0.7012 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.5271, allocations: 27.98 kB / 0.7012 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.5285, allocations: 0.7499 MB / 0.702 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.5285, allocations: 3.938 kB / 0.702 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-05/0.5286, allocations: 12 kB / 0.702 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.5286, allocations: 8 kB / 0.702 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.5301, allocations: 0.6221 MB / 0.7026 GB, free: 3.289 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.002254/0.5324, allocations: 1.401 MB / 0.704 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.5328, allocations: 150.1 kB / 0.7041 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.533, allocations: 68.88 kB / 0.7042 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.5341, allocations: 483 kB / 0.7046 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.5342, allocations: 38.56 kB / 0.7047 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.5342, allocations: 0 / 0.7047 GB, free: 1.047 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.001048/0.5352, allocations: 327.9 kB / 0.705 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.5353, allocations: 55.41 kB / 0.705 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.5355, allocations: 203 kB / 0.7052 GB, free: 460 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.5355, allocations: 33.64 kB / 0.7052 GB, free: 420 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.5356, allocations: 183.8 kB / 0.7054 GB, free: 232 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/0.5357, allocations: 75.36 kB / 0.7055 GB, free: 156 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.5358, allocations: 94 kB / 0.7056 GB, free: 56 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.536, allocations: 330.8 kB / 0.7059 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.5362, allocations: 68.7 kB / 0.706 GB, free: 15.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.5366, allocations: 260 kB / 0.7062 GB, free: 15.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.5371, allocations: 377.2 kB / 0.7066 GB, free: 14.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.5371, allocations: 4 kB / 0.7066 GB, free: 14.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007121/0.5378, allocations: 368.8 kB / 0.7069 GB, free: 14.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.5378, allocations: 8 kB / 0.7069 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.5378, allocations: 8.875 kB / 0.7069 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.5379, allocations: 8 kB / 0.707 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.5383, allocations: 127.8 kB / 0.7071 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000443/0.5387, allocations: 0.6093 MB / 0.7077 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.539, allocations: 43.73 kB / 0.7077 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.539, allocations: 43.98 kB / 0.7078 GB, free: 13.61 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.0001658/0.5392, allocations: 141.7 kB / 0.7079 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.5393, allocations: 15.91 kB / 0.7079 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000896/0.5402, allocations: 459.3 kB / 0.7083 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5402, allocations: 0 / 0.7083 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5402, allocations: 0 / 0.7083 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5402, allocations: 7.938 kB / 0.7084 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009498/0.5411, allocations: 0.4893 MB / 0.7088 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.5411, allocations: 7.984 kB / 0.7088 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.5414, allocations: 51.97 kB / 0.7089 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.5414, allocations: 7.984 kB / 0.7089 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.5414, allocations: 8 kB / 0.7089 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004005/0.5418, allocations: 0.6017 MB / 0.7095 GB, free: 11.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5418, allocations: 4.031 kB / 0.7095 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.5423, allocations: 301.4 kB / 0.7098 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.111e-05/0.5423, allocations: 39.88 kB / 0.7098 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.5424, allocations: 4 kB / 0.7098 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.5426, allocations: 20 kB / 0.7098 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.5427, allocations: 19.86 kB / 0.7099 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.5427, allocations: 19.98 kB / 0.7099 GB, free: 11.28 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001413/0.5429, allocations: 140.1 kB / 0.71 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.5429, allocations: 0 / 0.71 GB, free: 11.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006668/0.5435, allocations: 171.6 kB / 0.7102 GB, free: 10.98 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.0005722/0.5441, allocations: 258.8 kB / 0.7104 GB, free: 10.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.5446, allocations: 217 kB / 0.7106 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5446, allocations: 4 kB / 0.7106 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.5448, allocations: 84.33 kB / 0.7107 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005764/0.5454, allocations: 63.81 kB / 0.7108 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.5472, allocations: 0.8932 MB / 0.7116 GB, free: 9.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.5473, allocations: 116.4 kB / 0.7118 GB, free: 9.277 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006757/0.548, allocations: 386.2 kB / 0.7121 GB, free: 8.902 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.5482, allocations: 63.38 kB / 0.7122 GB, free: 8.84 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.5482, allocations: 4 kB / 0.7122 GB, free: 8.836 MB / 0.545 GB Notification: Performance of Templates: time 0.01153/0.5597, allocations: 6.173 MB / 0.7182 GB, free: 2.73 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.45219158398686]