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.001101/0.001101, allocations: 79.59 kB / 21.18 MB, free: 3.379 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.00216/0.00216, allocations: 161 kB / 24.56 MB, free: 8 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.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2619/0.2619, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 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.[0-9,]+.|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.[0-9,]+.|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 1.442e-06/1.442e-06, allocations: 0 / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.748e-05, allocations: 2.312 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2816/0.2816, allocations: 146.1 MB / 0.5118 GB, free: 17.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00436/0.286, allocations: 5.42 MB / 0.5171 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2861, allocations: 2.562 kB / 0.5171 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.2864, allocations: 58.95 kB / 0.5172 GB, free: 13.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.2897, allocations: 1.404 MB / 0.5186 GB, free: 12.65 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.2899, allocations: 150.9 kB / 0.5187 GB, free: 12.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.2904, allocations: 424.1 kB / 0.5191 GB, free: 12.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.2905, allocations: 7.688 kB / 0.5191 GB, free: 12.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002724/0.2907, allocations: 233.9 kB / 0.5193 GB, free: 12.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.291, allocations: 161.7 kB / 0.5195 GB, free: 12.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.291, allocations: 8.5 kB / 0.5195 GB, free: 12.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.2926, allocations: 0.9945 MB / 0.5205 GB, free: 11.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.012e-05/0.2927, allocations: 48.88 kB / 0.5205 GB, free: 11.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.2928, allocations: 83.47 kB / 0.5206 GB, free: 11.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.294, allocations: 0.9375 MB / 0.5215 GB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.294, allocations: 0 / 0.5215 GB, free: 11.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.294, allocations: 0 / 0.5215 GB, free: 11.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.294, allocations: 0 / 0.5215 GB, free: 11.57 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.0009827/0.295, allocations: 0.7164 MB / 0.5222 GB, free: 11.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.295, allocations: 8.969 kB / 0.5222 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003683/0.2987, allocations: 0.6652 MB / 0.5229 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.299, allocations: 208.2 kB / 0.5231 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.997e-05/0.2991, allocations: 225.9 kB / 0.5233 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.521e-05/0.2992, allocations: 29.03 kB / 0.5233 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.2998, allocations: 0.7371 MB / 0.524 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.2998, allocations: 0 / 0.524 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/0.2999, allocations: 13.56 kB / 0.524 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.2999, allocations: 13.44 kB / 0.524 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006001/0.3005, allocations: 0.5122 MB / 0.5245 GB, free: 9.969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.3017, allocations: 1.813 MB / 0.5263 GB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.3019, allocations: 145.5 kB / 0.5265 GB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.316e-05/0.302, allocations: 67.42 kB / 0.5265 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/0.3025, allocations: 0.5036 MB / 0.527 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3026, allocations: 42.89 kB / 0.5271 GB, free: 7.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.3026, allocations: 0 / 0.5271 GB, free: 7.961 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.0006225/0.3032, allocations: 317.2 kB / 0.5274 GB, free: 7.867 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.3032, allocations: 54.06 kB / 0.5274 GB, free: 7.805 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3033, allocations: 251.4 kB / 0.5276 GB, free: 7.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3033, allocations: 33.11 kB / 0.5277 GB, free: 7.566 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.3034, allocations: 239.2 kB / 0.5279 GB, free: 7.348 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.3034, allocations: 68.92 kB / 0.528 GB, free: 7.293 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.3035, allocations: 99.39 kB / 0.5281 GB, free: 7.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.28e-05/0.3036, allocations: 0.4995 MB / 0.5286 GB, free: 6.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.3036, allocations: 52.77 kB / 0.5286 GB, free: 6.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.3038, allocations: 336.3 kB / 0.5289 GB, free: 6.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.304, allocations: 431.8 kB / 0.5293 GB, free: 5.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.304, allocations: 2.781 kB / 0.5293 GB, free: 5.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003674/0.3044, allocations: 362.6 kB / 0.5297 GB, free: 5.766 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3044, allocations: 13 kB / 0.5297 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.3044, allocations: 13.08 kB / 0.5297 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.3044, allocations: 15.31 kB / 0.5297 GB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.3047, allocations: 127.3 kB / 0.5299 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001963/0.3049, allocations: 0.9095 MB / 0.5307 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.305, allocations: 46.02 kB / 0.5308 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.305, allocations: 43.42 kB / 0.5308 GB, free: 4.797 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.182e-05/0.3051, allocations: 187.8 kB / 0.531 GB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.3051, allocations: 29.7 kB / 0.531 GB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.3056, allocations: 453.6 kB / 0.5315 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3056, allocations: 2.625 kB / 0.5315 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3056, allocations: 2.781 kB / 0.5315 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3056, allocations: 0 / 0.5315 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.3061, allocations: 0.5511 MB / 0.532 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3061, allocations: 2.594 kB / 0.532 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3062, allocations: 64.02 kB / 0.5321 GB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3062, allocations: 2.75 kB / 0.5321 GB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.3062, allocations: 9.438 kB / 0.5321 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001341/0.3063, allocations: 0.9085 MB / 0.533 GB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3063, allocations: 4.875 kB / 0.533 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.3065, allocations: 355.6 kB / 0.5333 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.3066, allocations: 36.17 kB / 0.5333 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.3066, allocations: 5.75 kB / 0.5334 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3067, allocations: 17.47 kB / 0.5334 GB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.3067, allocations: 18.12 kB / 0.5334 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.3068, allocations: 24.09 kB / 0.5334 GB, free: 2.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.18e-05/0.3068, allocations: 179.9 kB / 0.5336 GB, free: 2.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3068, allocations: 4.031 kB / 0.5336 GB, free: 2.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004883/0.3073, allocations: 166.1 kB / 0.5337 GB, free: 2.539 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.0003819/0.3077, allocations: 280.9 kB / 0.534 GB, free: 2.395 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.308, allocations: 214.7 kB / 0.5342 GB, free: 2.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.308, allocations: 0 / 0.5342 GB, free: 2.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/0.3081, allocations: 88.92 kB / 0.5343 GB, free: 2.309 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3084, allocations: 82.86 kB / 0.5344 GB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.3098, allocations: 0.8896 MB / 0.5352 GB, free: 1.734 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.635e-05/0.3098, allocations: 74.05 kB / 0.5353 GB, free: 1.664 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003988/0.3102, allocations: 380.6 kB / 0.5357 GB, free: 1.602 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.3103, allocations: 60.22 kB / 0.5357 GB, free: 1.586 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3103, allocations: 0 / 0.5357 GB, free: 1.586 MB / 410.7 MB Notification: Performance of Templates: time 0.007568/0.3179, allocations: 5.844 MB / 0.5414 GB, free: 15.67 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] 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","",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: 3.8236821638420224]