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.001389/0.001389, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001514/0.001514, allocations: 211 kB / 23.73 MB, free: 4.387 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2337/0.2337, allocations: 46.97 MB / 360.9 MB, free: 4.055 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.002091/0.002091, allocations: 75.88 kB / 0.4966 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 66.03 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1812/0.5042, allocations: 132 MB / 0.69 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006327/0.5105, allocations: 4.758 MB / 0.6947 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.5106, allocations: 3.938 kB / 0.6947 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.5109, allocations: 47.67 kB / 0.6947 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003859/0.5148, allocations: 1.335 MB / 0.696 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.5151, allocations: 143.5 kB / 0.6962 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006074/0.5157, allocations: 402.1 kB / 0.6965 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.5158, allocations: 13.73 kB / 0.6965 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.5161, allocations: 175.4 kB / 0.6967 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.5164, allocations: 175.4 kB / 0.6969 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.5165, allocations: 8 kB / 0.6969 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.5189, allocations: 0.9667 MB / 0.6978 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.519, allocations: 43.83 kB / 0.6979 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.5192, allocations: 95.58 kB / 0.698 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.5211, allocations: 0.8454 MB / 0.6988 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.5211, allocations: 4 kB / 0.6988 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5211, allocations: 4 kB / 0.6988 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.5211, allocations: 0 / 0.6988 GB, free: 6.641 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.001363/0.5225, allocations: 0.6177 MB / 0.6994 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.5225, allocations: 11.97 kB / 0.6994 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008273/0.5308, allocations: 0.6093 MB / 0.7 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.5315, allocations: 209.5 kB / 0.7002 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.5317, allocations: 226.1 kB / 0.7004 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.5318, allocations: 20 kB / 0.7004 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.5333, allocations: 0.7461 MB / 0.7012 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5333, allocations: 0 / 0.7012 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.716e-05/0.5334, allocations: 12 kB / 0.7012 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.5334, allocations: 11.92 kB / 0.7012 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.5349, allocations: 0.6182 MB / 0.7018 GB, free: 3.383 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.002318/0.5373, allocations: 1.405 MB / 0.7032 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.5376, allocations: 150.5 kB / 0.7033 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.5378, allocations: 72.81 kB / 0.7034 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.539, allocations: 479 kB / 0.7038 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.539, allocations: 38.56 kB / 0.7039 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 2.044e-06/0.539, allocations: 0 / 0.7039 GB, free: 1.133 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.001217/0.5402, allocations: 319.8 kB / 0.7042 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.5403, allocations: 55.41 kB / 0.7042 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.5406, allocations: 207 kB / 0.7044 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.5406, allocations: 29.7 kB / 0.7045 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.5408, allocations: 191.8 kB / 0.7046 GB, free: 320 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.07e-05/0.5409, allocations: 75.36 kB / 0.7047 GB, free: 244 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.5411, allocations: 90.02 kB / 0.7048 GB, free: 148 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.5413, allocations: 330.8 kB / 0.7051 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.5414, allocations: 64.7 kB / 0.7052 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.5418, allocations: 264 kB / 0.7054 GB, free: 15.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005752/0.5424, allocations: 374.2 kB / 0.7058 GB, free: 14.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5424, allocations: 0 / 0.7058 GB, free: 14.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007161/0.5431, allocations: 375.5 kB / 0.7061 GB, free: 14.57 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.5431, allocations: 8 kB / 0.7062 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.5431, allocations: 12.83 kB / 0.7062 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.5431, allocations: 8 kB / 0.7062 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.5436, allocations: 127.8 kB / 0.7063 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005462/0.5441, allocations: 0.6093 MB / 0.7069 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.5444, allocations: 43.73 kB / 0.7069 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.5444, allocations: 39.98 kB / 0.707 GB, free: 13.7 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.0001972/0.5446, allocations: 141.7 kB / 0.7071 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.5447, allocations: 19.91 kB / 0.7071 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009507/0.5457, allocations: 467.3 kB / 0.7076 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5457, allocations: 0 / 0.7076 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5457, allocations: 0 / 0.7076 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5457, allocations: 7.984 kB / 0.7076 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008707/0.5465, allocations: 0.4931 MB / 0.7081 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.5466, allocations: 7.984 kB / 0.7081 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.5468, allocations: 51.97 kB / 0.7081 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.5468, allocations: 4 kB / 0.7081 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.5468, allocations: 8 kB / 0.7081 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003881/0.5472, allocations: 0.6018 MB / 0.7087 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.445e-06/0.5472, allocations: 4.031 kB / 0.7087 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.5476, allocations: 298.3 kB / 0.709 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.5477, allocations: 27.89 kB / 0.709 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.5477, allocations: 8 kB / 0.709 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.548, allocations: 19.92 kB / 0.7091 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.548, allocations: 15.92 kB / 0.7091 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.548, allocations: 19.98 kB / 0.7091 GB, free: 11.37 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001391/0.5482, allocations: 140.1 kB / 0.7092 GB, free: 11.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5482, allocations: 0 / 0.7092 GB, free: 11.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007284/0.5489, allocations: 171.6 kB / 0.7094 GB, free: 11.07 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.0005674/0.5495, allocations: 270.7 kB / 0.7096 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.55, allocations: 219.8 kB / 0.7099 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.55, allocations: 0 / 0.7099 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.5502, allocations: 88.45 kB / 0.7099 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.5508, allocations: 68.03 kB / 0.71 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.5526, allocations: 0.8929 MB / 0.7109 GB, free: 9.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.5527, allocations: 116.5 kB / 0.711 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006817/0.5534, allocations: 382.1 kB / 0.7114 GB, free: 8.984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.5535, allocations: 59.39 kB / 0.7114 GB, free: 8.926 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.5535, allocations: 0 / 0.7114 GB, free: 8.926 MB / 0.545 GB Notification: Performance of Templates: time 0.01196/0.5655, allocations: 6.077 MB / 0.7173 GB, free: 2.926 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 -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/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_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.772089360281825]