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.001273/0.001273, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001653/0.001653, allocations: 162.3 kB / 25.61 MB, free: 8.598 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 0.9238/0.9238, allocations: 177.1 MB / 206.1 MB, free: 4.492 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.1379/0.1379, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.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.523e-06/1.523e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.896e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2865/0.2865, allocations: 143.3 MB / 0.5104 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00447/0.291, allocations: 5.382 MB / 0.5157 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2911, allocations: 3.469 kB / 0.5157 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.2914, allocations: 54.12 kB / 0.5157 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.2943, allocations: 1.385 MB / 0.5171 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.2946, allocations: 153.7 kB / 0.5172 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005195/0.2951, allocations: 428.3 kB / 0.5176 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.2952, allocations: 8.781 kB / 0.5176 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.2955, allocations: 234.9 kB / 0.5179 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.2958, allocations: 157.2 kB / 0.518 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.2958, allocations: 12.97 kB / 0.518 GB, free: 16.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.2975, allocations: 0.9915 MB / 0.519 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.2976, allocations: 51.48 kB / 0.519 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.371e-05/0.2977, allocations: 78.69 kB / 0.5191 GB, free: 16.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.299, allocations: 0.941 MB / 0.52 GB, free: 16.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.299, allocations: 0 / 0.52 GB, free: 16.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.299, allocations: 3.625 kB / 0.52 GB, free: 16.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.299, allocations: 0 / 0.52 GB, free: 16.25 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.0009992/0.3, allocations: 0.7172 MB / 0.5207 GB, free: 15.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3, allocations: 14.12 kB / 0.5207 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005077/0.3051, allocations: 0.6607 MB / 0.5214 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.3054, allocations: 208.3 kB / 0.5216 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.549e-05/0.3055, allocations: 224.1 kB / 0.5218 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.264e-05/0.3056, allocations: 28.47 kB / 0.5218 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.3063, allocations: 0.6952 MB / 0.5225 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.3063, allocations: 6.25 kB / 0.5225 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/0.3064, allocations: 12.53 kB / 0.5225 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.3064, allocations: 5 kB / 0.5225 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/0.307, allocations: 446.1 kB / 0.523 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3082, allocations: 1.79 MB / 0.5247 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.3084, allocations: 129 kB / 0.5248 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/0.3085, allocations: 63.58 kB / 0.5249 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/0.3092, allocations: 0.5027 MB / 0.5254 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3092, allocations: 40.16 kB / 0.5254 GB, free: 13.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 2.114e-06/0.3092, allocations: 0 / 0.5254 GB, free: 13.14 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.0006281/0.3099, allocations: 285.7 kB / 0.5257 GB, free: 13.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.3099, allocations: 53.75 kB / 0.5257 GB, free: 13.03 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.31, allocations: 259.9 kB / 0.526 GB, free: 12.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.31, allocations: 30.28 kB / 0.526 GB, free: 12.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.3101, allocations: 237.5 kB / 0.5262 GB, free: 12.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.3101, allocations: 77.31 kB / 0.5263 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3102, allocations: 99.31 kB / 0.5264 GB, free: 12.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.3102, allocations: 0.5022 MB / 0.5269 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.3103, allocations: 41.64 kB / 0.5269 GB, free: 12.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.3104, allocations: 322.8 kB / 0.5272 GB, free: 11.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002643/0.3107, allocations: 421.1 kB / 0.5276 GB, free: 11.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3107, allocations: 2.594 kB / 0.5277 GB, free: 11.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004196/0.3111, allocations: 343.3 kB / 0.528 GB, free: 11.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3111, allocations: 6.125 kB / 0.528 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.3112, allocations: 9.125 kB / 0.528 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3112, allocations: 11.22 kB / 0.528 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.3115, allocations: 123.6 kB / 0.5281 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002241/0.3117, allocations: 0.914 MB / 0.529 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.3119, allocations: 44.83 kB / 0.5291 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.3119, allocations: 41.66 kB / 0.5291 GB, free: 10.33 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 9.582e-05/0.312, allocations: 189.2 kB / 0.5293 GB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.881e-05/0.3121, allocations: 26.39 kB / 0.5293 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005406/0.3126, allocations: 448.4 kB / 0.5297 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3126, allocations: 6.875 kB / 0.5297 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.3126, allocations: 1.203 kB / 0.5297 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3126, allocations: 0 / 0.5297 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.3131, allocations: 0.5212 MB / 0.5302 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3131, allocations: 0 / 0.5302 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3133, allocations: 60.88 kB / 0.5303 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3133, allocations: 2.531 kB / 0.5303 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3133, allocations: 17.27 kB / 0.5303 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001592/0.3134, allocations: 0.9061 MB / 0.5312 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3134, allocations: 4.906 kB / 0.5312 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.3137, allocations: 360.4 kB / 0.5316 GB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.3137, allocations: 27.33 kB / 0.5316 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.3138, allocations: 4.359 kB / 0.5316 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3139, allocations: 14.5 kB / 0.5316 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.314, allocations: 28.89 kB / 0.5316 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.314, allocations: 16.36 kB / 0.5316 GB, free: 8.438 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.431e-05/0.314, allocations: 167.9 kB / 0.5318 GB, free: 8.316 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.314, allocations: 2.375 kB / 0.5318 GB, free: 8.316 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006266/0.3147, allocations: 169.6 kB / 0.532 GB, free: 8.293 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.0004286/0.3151, allocations: 288.4 kB / 0.5322 GB, free: 8.176 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003317/0.3154, allocations: 206.6 kB / 0.5324 GB, free: 8.156 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3154, allocations: 3.438 kB / 0.5324 GB, free: 8.156 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3156, allocations: 79.44 kB / 0.5325 GB, free: 8.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004598/0.316, allocations: 92.91 kB / 0.5326 GB, free: 8.129 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.3174, allocations: 0.8791 MB / 0.5335 GB, free: 7.797 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/0.3174, allocations: 73.36 kB / 0.5335 GB, free: 7.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005/0.3179, allocations: 380 kB / 0.5339 GB, free: 7.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/0.3182, allocations: 191.2 kB / 0.5341 GB, free: 7.598 MB / 410.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3182, allocations: 0 / 0.5341 GB, free: 7.598 MB / 410.7 MB Notification: Performance of Templates: time 0.009126/0.3273, allocations: 6.865 MB / 0.5408 GB, free: 5.207 MB / 410.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.578263148665428]