Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002777/0.002777, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.00324/0.00324, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.592/1.592, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3567/0.3567, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.258e-05/4.459e-05, allocations: 2.312 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4246/0.4247, allocations: 145.7 MB / 0.5088 GB, free: 19.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005699/0.4304, allocations: 5.387 MB / 0.5141 GB, free: 15.81 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.4306, allocations: 3.406 kB / 0.5141 GB, free: 15.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.4309, allocations: 50.42 kB / 0.5141 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.4347, allocations: 1.366 MB / 0.5154 GB, free: 15.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.435, allocations: 142.5 kB / 0.5156 GB, free: 14.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005448/0.4356, allocations: 404.1 kB / 0.516 GB, free: 14.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.4356, allocations: 8.125 kB / 0.516 GB, free: 14.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.436, allocations: 229.7 kB / 0.5162 GB, free: 14.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.4364, allocations: 163.3 kB / 0.5163 GB, free: 14.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.4364, allocations: 8.656 kB / 0.5164 GB, free: 14.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.4386, allocations: 0.9701 MB / 0.5173 GB, free: 14.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.4387, allocations: 52.61 kB / 0.5174 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.4388, allocations: 82.36 kB / 0.5174 GB, free: 14.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.4407, allocations: 0.9541 MB / 0.5184 GB, free: 14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4407, allocations: 6.844 kB / 0.5184 GB, free: 14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4407, allocations: 0 / 0.5184 GB, free: 14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.4407, allocations: 0 / 0.5184 GB, free: 14 MB / 410.7 MB 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.001341/0.4421, allocations: 0.7202 MB / 0.5191 GB, free: 13.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.4421, allocations: 12.92 kB / 0.5191 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007672/0.4498, allocations: 0.6579 MB / 0.5197 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.4503, allocations: 207 kB / 0.5199 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.4504, allocations: 225.3 kB / 0.5201 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.4505, allocations: 34.5 kB / 0.5202 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.4516, allocations: 0.8173 MB / 0.521 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.4516, allocations: 3.938 kB / 0.521 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/0.4517, allocations: 13.72 kB / 0.521 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.4517, allocations: 5.656 kB / 0.521 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.4528, allocations: 0.6608 MB / 0.5216 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.4547, allocations: 1.84 MB / 0.5234 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.4551, allocations: 162.3 kB / 0.5236 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.4552, allocations: 74.25 kB / 0.5237 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009986/0.4562, allocations: 0.5265 MB / 0.5242 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.4562, allocations: 43.67 kB / 0.5242 GB, free: 10.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/0.4562, allocations: 3.281 kB / 0.5242 GB, free: 10.26 MB / 410.7 MB 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.000941/0.4571, allocations: 338.6 kB / 0.5245 GB, free: 10.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.4572, allocations: 57.91 kB / 0.5246 GB, free: 10.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.4573, allocations: 265.5 kB / 0.5249 GB, free: 9.879 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.4573, allocations: 29.7 kB / 0.5249 GB, free: 9.844 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.4574, allocations: 242.2 kB / 0.5251 GB, free: 9.625 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.4574, allocations: 69.06 kB / 0.5252 GB, free: 9.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.4575, allocations: 99.16 kB / 0.5253 GB, free: 9.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.4576, allocations: 0.4999 MB / 0.5258 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4577, allocations: 71.58 kB / 0.5258 GB, free: 9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.4579, allocations: 346 kB / 0.5262 GB, free: 8.613 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.4583, allocations: 462.6 kB / 0.5266 GB, free: 8.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4583, allocations: 2.25 kB / 0.5266 GB, free: 8.152 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005602/0.4589, allocations: 390.4 kB / 0.527 GB, free: 8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4589, allocations: 9.25 kB / 0.527 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4589, allocations: 8.75 kB / 0.527 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4589, allocations: 8.125 kB / 0.527 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.4593, allocations: 125.7 kB / 0.5271 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002562/0.4595, allocations: 0.9146 MB / 0.528 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.4598, allocations: 53.56 kB / 0.5281 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.201e-05/0.4598, allocations: 40.52 kB / 0.5281 GB, free: 7.035 MB / 410.7 MB 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.0001144/0.46, allocations: 193 kB / 0.5283 GB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.46, allocations: 23.19 kB / 0.5283 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007738/0.4608, allocations: 480.6 kB / 0.5288 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4608, allocations: 2.438 kB / 0.5288 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4608, allocations: 0 / 0.5288 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4608, allocations: 0 / 0.5288 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/0.4615, allocations: 0.5766 MB / 0.5293 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.4615, allocations: 2.938 kB / 0.5293 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.4617, allocations: 65.19 kB / 0.5294 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4617, allocations: 4.891 kB / 0.5294 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.4618, allocations: 9.906 kB / 0.5294 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002503/0.462, allocations: 0.9045 MB / 0.5303 GB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.462, allocations: 6.344 kB / 0.5303 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.4624, allocations: 383.9 kB / 0.5307 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.4624, allocations: 27.92 kB / 0.5307 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.4625, allocations: 12.61 kB / 0.5307 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.4627, allocations: 12.66 kB / 0.5307 GB, free: 4.926 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.4628, allocations: 21.2 kB / 0.5307 GB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.4628, allocations: 18.8 kB / 0.5308 GB, free: 4.918 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.241e-05/0.4629, allocations: 184 kB / 0.5309 GB, free: 4.781 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4629, allocations: 0 / 0.5309 GB, free: 4.781 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006325/0.4635, allocations: 169.5 kB / 0.5311 GB, free: 4.746 MB / 410.7 MB 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.0005483/0.4641, allocations: 277.9 kB / 0.5314 GB, free: 4.605 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.4646, allocations: 249.2 kB / 0.5316 GB, free: 4.527 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.4646, allocations: 0 / 0.5316 GB, free: 4.527 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.4648, allocations: 82.59 kB / 0.5317 GB, free: 4.504 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005583/0.4653, allocations: 94.86 kB / 0.5318 GB, free: 4.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.4667, allocations: 0.876 MB / 0.5326 GB, free: 3.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.431e-05/0.4668, allocations: 113.2 kB / 0.5327 GB, free: 3.852 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005483/0.4673, allocations: 384 kB / 0.5331 GB, free: 3.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.4675, allocations: 62.47 kB / 0.5332 GB, free: 3.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.223e-06/0.4675, allocations: 0 / 0.5332 GB, free: 3.77 MB / 410.7 MB Notification: Performance of Templates: time 0.0101/0.4776, allocations: 5.86 MB / 0.5389 GB, free: 2.074 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.845174208981916]