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.001845/0.001845, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002256/0.002256, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.469/1.469, allocations: 230.5 MB / 258.1 MB, free: 7.766 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.2328/0.2328, allocations: 46.95 MB / 361.6 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.002719/0.002719, allocations: 79.88 kB / 0.4974 GB, free: 6.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3165, allocations: 66.08 MB / 0.5619 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1727/0.4891, allocations: 132 MB / 0.6908 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006657/0.4958, allocations: 4.754 MB / 0.6955 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.496, allocations: 0 / 0.6955 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.4963, allocations: 55.61 kB / 0.6955 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004133/0.5004, allocations: 1.327 MB / 0.6968 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.5008, allocations: 149.6 kB / 0.697 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006972/0.5015, allocations: 402.1 kB / 0.6974 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.266e-05/0.5016, allocations: 9.797 kB / 0.6974 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003538/0.5019, allocations: 175.4 kB / 0.6975 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.5023, allocations: 171.5 kB / 0.6977 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.117e-05/0.5024, allocations: 11.98 kB / 0.6977 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.5048, allocations: 0.9661 MB / 0.6987 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.5049, allocations: 51.75 kB / 0.6987 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.5051, allocations: 91.59 kB / 0.6988 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.5072, allocations: 0.8493 MB / 0.6996 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.5072, allocations: 0 / 0.6996 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5072, allocations: 0 / 0.6996 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.5072, allocations: 0 / 0.6996 GB, free: 6.41 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.001476/0.5087, allocations: 0.6255 MB / 0.7002 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.5087, allocations: 11.97 kB / 0.7002 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008064/0.5168, allocations: 0.6015 MB / 0.7008 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006713/0.5175, allocations: 217.5 kB / 0.701 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.5177, allocations: 226.1 kB / 0.7013 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.5178, allocations: 24 kB / 0.7013 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.5193, allocations: 0.7422 MB / 0.702 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5193, allocations: 0 / 0.702 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/0.5194, allocations: 8 kB / 0.702 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.5194, allocations: 12 kB / 0.702 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.5209, allocations: 0.6182 MB / 0.7026 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.002314/0.5232, allocations: 1.409 MB / 0.704 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003796/0.5236, allocations: 150.5 kB / 0.7041 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.5238, allocations: 68.88 kB / 0.7042 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.5249, allocations: 483 kB / 0.7047 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.525, allocations: 34.5 kB / 0.7047 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.525, allocations: 0 / 0.7047 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.00106/0.526, allocations: 334.4 kB / 0.705 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.5261, allocations: 51.41 kB / 0.7051 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.5263, allocations: 202.5 kB / 0.7053 GB, free: 308 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.5263, allocations: 25.7 kB / 0.7053 GB, free: 276 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.5265, allocations: 187.8 kB / 0.7055 GB, free: 84 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.5265, allocations: 71.36 kB / 0.7055 GB, free: 12 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.5267, allocations: 98 kB / 0.7056 GB, free: 15.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5269, allocations: 330.8 kB / 0.7059 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.527, allocations: 76.58 kB / 0.706 GB, free: 15.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.5274, allocations: 256.1 kB / 0.7063 GB, free: 15.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005443/0.5279, allocations: 370.2 kB / 0.7066 GB, free: 14.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.5279, allocations: 0 / 0.7066 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007128/0.5286, allocations: 371.2 kB / 0.707 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.5287, allocations: 11.98 kB / 0.707 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.5287, allocations: 8 kB / 0.707 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.5287, allocations: 8 kB / 0.707 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.5291, allocations: 123.8 kB / 0.7071 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004546/0.5296, allocations: 0.6093 MB / 0.7077 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.5298, allocations: 43.73 kB / 0.7078 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.5299, allocations: 43.92 kB / 0.7078 GB, free: 13.47 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.0001798/0.5301, allocations: 149.9 kB / 0.7079 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.5302, allocations: 15.91 kB / 0.708 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009148/0.5311, allocations: 471.1 kB / 0.7084 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.5311, allocations: 0 / 0.7084 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5311, allocations: 0 / 0.7084 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5311, allocations: 0 / 0.7084 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009245/0.532, allocations: 0.4893 MB / 0.7089 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.532, allocations: 8.25 kB / 0.7089 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.5322, allocations: 59.91 kB / 0.7089 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.5322, allocations: 4 kB / 0.709 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.5323, allocations: 7.984 kB / 0.709 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003824/0.5327, allocations: 0.5976 MB / 0.7095 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5327, allocations: 4.031 kB / 0.7095 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004239/0.5331, allocations: 297 kB / 0.7098 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.5332, allocations: 35.83 kB / 0.7099 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.5332, allocations: 16.08 kB / 0.7099 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002468/0.5335, allocations: 11.94 kB / 0.7099 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.5335, allocations: 19.97 kB / 0.7099 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.5336, allocations: 15.98 kB / 0.7099 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001317/0.5337, allocations: 136 kB / 0.7101 GB, free: 11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5337, allocations: 4 kB / 0.7101 GB, free: 11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006976/0.5344, allocations: 179.5 kB / 0.7102 GB, free: 10.82 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.0006297/0.535, allocations: 258.7 kB / 0.7105 GB, free: 10.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005781/0.5356, allocations: 224.7 kB / 0.7107 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5356, allocations: 0 / 0.7107 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.5358, allocations: 79.83 kB / 0.7108 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.0005843/0.5364, allocations: 75.25 kB / 0.7108 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.5382, allocations: 0.9153 MB / 0.7117 GB, free: 9.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.5384, allocations: 112.5 kB / 0.7118 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.5386, allocations: 87.34 kB / 0.7119 GB, free: 9.004 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.5386, allocations: 3.938 kB / 0.7119 GB, free: 9 MB / 0.545 GB Notification: Performance of Templates: time 0.01056/0.5492, allocations: 5.631 MB / 0.7174 GB, free: 3.371 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/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_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: 8.824014178011566]