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.001435/0.001435, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00102/0.00102, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 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.132/1.132, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.3245/0.3245, allocations: 32.81 MB / 294.6 MB, free: 1.168 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|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 1.924e-06/1.924e-06, allocations: 0 / 376.5 MB, free: 4.336 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.898e-05, allocations: 2.312 kB / 376.5 MB, free: 4.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3763/0.3763, allocations: 143.3 MB / 0.5077 GB, free: 20.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005164/0.3815, allocations: 5.368 MB / 0.5129 GB, free: 16.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.691e-05/0.3816, allocations: 1.375 kB / 0.5129 GB, free: 16.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.3819, allocations: 62.48 kB / 0.513 GB, free: 16.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0028/0.3847, allocations: 1.401 MB / 0.5143 GB, free: 16.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.385, allocations: 153.4 kB / 0.5145 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.3855, allocations: 421.7 kB / 0.5149 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.641e-05/0.3855, allocations: 6.938 kB / 0.5149 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.3859, allocations: 235.8 kB / 0.5151 GB, free: 15.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.3861, allocations: 161.5 kB / 0.5153 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.3861, allocations: 8.781 kB / 0.5153 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.3875, allocations: 0.989 MB / 0.5163 GB, free: 15.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.3876, allocations: 54.45 kB / 0.5163 GB, free: 15.44 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.3877, allocations: 75.64 kB / 0.5164 GB, free: 15.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.3887, allocations: 0.9394 MB / 0.5173 GB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3887, allocations: 0 / 0.5173 GB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3887, allocations: 0 / 0.5173 GB, free: 15.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.3887, allocations: 0 / 0.5173 GB, free: 15.11 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.0009656/0.3897, allocations: 0.7261 MB / 0.518 GB, free: 14.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.3897, allocations: 12.86 kB / 0.518 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00455/0.3943, allocations: 0.6598 MB / 0.5187 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.3946, allocations: 202.1 kB / 0.5189 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/0.3947, allocations: 228.8 kB / 0.5191 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.729e-05/0.3947, allocations: 28.28 kB / 0.5191 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.3954, allocations: 0.6917 MB / 0.5198 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3954, allocations: 0 / 0.5198 GB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.868e-05/0.3955, allocations: 14.94 kB / 0.5198 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.3955, allocations: 10.44 kB / 0.5198 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.3961, allocations: 447.2 kB / 0.5202 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.3973, allocations: 1.794 MB / 0.522 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.3975, allocations: 129.3 kB / 0.5221 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.3976, allocations: 57.94 kB / 0.5222 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006569/0.3983, allocations: 0.5225 MB / 0.5227 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.3983, allocations: 36.53 kB / 0.5227 GB, free: 11.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.203e-06/0.3983, allocations: 4 kB / 0.5227 GB, free: 11.58 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.0006167/0.3989, allocations: 279.2 kB / 0.523 GB, free: 11.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.3989, allocations: 57.81 kB / 0.523 GB, free: 11.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.399, allocations: 251.8 kB / 0.5233 GB, free: 11.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3991, allocations: 32.17 kB / 0.5233 GB, free: 11.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.3991, allocations: 241.6 kB / 0.5235 GB, free: 10.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.3992, allocations: 68.84 kB / 0.5236 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3993, allocations: 101.9 kB / 0.5237 GB, free: 10.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.3993, allocations: 0.5085 MB / 0.5242 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.274e-05/0.3994, allocations: 40.11 kB / 0.5242 GB, free: 10.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.3996, allocations: 330 kB / 0.5245 GB, free: 9.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.3998, allocations: 425 kB / 0.5249 GB, free: 9.535 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3998, allocations: 3.125 kB / 0.5249 GB, free: 9.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000396/0.4002, allocations: 332.2 kB / 0.5253 GB, free: 9.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4002, allocations: 8.688 kB / 0.5253 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4003, allocations: 10.28 kB / 0.5253 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.4003, allocations: 8.844 kB / 0.5253 GB, free: 9.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.4005, allocations: 128.6 kB / 0.5254 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001972/0.4007, allocations: 0.9093 MB / 0.5263 GB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.4009, allocations: 45.73 kB / 0.5263 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.4009, allocations: 39.58 kB / 0.5264 GB, free: 8.453 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 8.43e-05/0.401, allocations: 188.4 kB / 0.5266 GB, free: 8.266 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.4011, allocations: 32.45 kB / 0.5266 GB, free: 8.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005536/0.4016, allocations: 443.8 kB / 0.527 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4016, allocations: 6.625 kB / 0.527 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.4016, allocations: 0 / 0.527 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4016, allocations: 2.672 kB / 0.527 GB, free: 8.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.4021, allocations: 0.5127 MB / 0.5275 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4021, allocations: 7.156 kB / 0.5275 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.4023, allocations: 61.52 kB / 0.5276 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4023, allocations: 2.281 kB / 0.5276 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.4023, allocations: 14.64 kB / 0.5276 GB, free: 7.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001751/0.4025, allocations: 0.9031 MB / 0.5285 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4025, allocations: 2.344 kB / 0.5285 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.4027, allocations: 361.6 kB / 0.5288 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.4027, allocations: 28.81 kB / 0.5289 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.4028, allocations: 10.97 kB / 0.5289 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4029, allocations: 7.984 kB / 0.5289 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.4029, allocations: 25.19 kB / 0.5289 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.403, allocations: 18.34 kB / 0.5289 GB, free: 6.395 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.587e-05/0.403, allocations: 176.2 kB / 0.5291 GB, free: 6.262 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.403, allocations: 0 / 0.5291 GB, free: 6.262 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005182/0.4036, allocations: 174 kB / 0.5293 GB, free: 6.223 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.0004274/0.404, allocations: 288.2 kB / 0.5295 GB, free: 6.074 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.4043, allocations: 205.4 kB / 0.5297 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4043, allocations: 1.969 kB / 0.5297 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.4044, allocations: 80.11 kB / 0.5298 GB, free: 5.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.4049, allocations: 87.5 kB / 0.5299 GB, free: 5.973 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.4062, allocations: 0.8799 MB / 0.5307 GB, free: 5.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.327e-05/0.4062, allocations: 77.08 kB / 0.5308 GB, free: 5.355 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004846/0.4067, allocations: 380.7 kB / 0.5312 GB, free: 5.293 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.407, allocations: 187.1 kB / 0.5314 GB, free: 5.219 MB / 410.7 MB Notification: Performance of SimCode: time 7.42e-07/0.407, allocations: 0 / 0.5314 GB, free: 5.219 MB / 410.7 MB Notification: Performance of Templates: time 0.009404/0.4164, allocations: 6.822 MB / 0.538 GB, free: 3.109 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","",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: 4.114252467174083]