Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009307/0.0009307, allocations: 88.2 kB / 20.94 MB, free: 3.598 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.000956/0.000956, allocations: 165 kB / 24.25 MB, free: 304 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.894/0.894, allocations: 158.6 MB / 186 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1414/0.1414, allocations: 32.38 MB / 270.7 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 3.938 kB / 347.7 MB, free: 9.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.61e-05/1.76e-05, allocations: 13.34 kB / 347.7 MB, free: 9.73 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2782/0.2782, allocations: 144.1 MB / 491.8 MB, free: 9.418 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003612/0.2818, allocations: 4.792 MB / 496.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2819, allocations: 2.906 kB / 496.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.2822, allocations: 52.08 kB / 496.6 MB, free: 8.465 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.285, allocations: 1.586 MB / 498.2 MB, free: 7.535 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.2852, allocations: 147.8 kB / 498.4 MB, free: 7.465 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004277/0.2856, allocations: 402.9 kB / 498.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.187e-05/0.2857, allocations: 10.19 kB / 498.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.2859, allocations: 227.4 kB / 499 MB, free: 7.211 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.2861, allocations: 158.4 kB / 499.1 MB, free: 7.152 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.2861, allocations: 8.844 kB / 499.1 MB, free: 7.152 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.2874, allocations: 1.167 MB / 0.4886 GB, free: 6.781 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.2875, allocations: 41.86 kB / 0.4886 GB, free: 6.762 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.671e-05/0.2876, allocations: 89.16 kB / 0.4887 GB, free: 6.734 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009636/0.2885, allocations: 1.071 MB / 0.4898 GB, free: 6.312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2885, allocations: 3.984 kB / 0.4898 GB, free: 6.309 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2885, allocations: 0 / 0.4898 GB, free: 6.309 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2886, allocations: 0 / 0.4898 GB, free: 6.309 MB / 362.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.0008193/0.2894, allocations: 0.7512 MB / 0.4905 GB, free: 5.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2894, allocations: 8.469 kB / 0.4905 GB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00372/0.2931, allocations: 0.6411 MB / 0.4911 GB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003383/0.2935, allocations: 214.5 kB / 0.4913 GB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/0.2935, allocations: 229.4 kB / 0.4916 GB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.2936, allocations: 23.91 kB / 0.4916 GB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006057/0.2942, allocations: 0.7409 MB / 0.4923 GB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2942, allocations: 0 / 0.4923 GB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/0.2943, allocations: 9.812 kB / 0.4923 GB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.2943, allocations: 12.06 kB / 0.4923 GB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.2949, allocations: 0.5105 MB / 0.4928 GB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.2959, allocations: 1.829 MB / 0.4946 GB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.2961, allocations: 147 kB / 0.4947 GB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.174e-05/0.2962, allocations: 72.41 kB / 0.4948 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007633/0.2969, allocations: 0.7278 MB / 0.4955 GB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.297, allocations: 40.5 kB / 0.4956 GB, free: 2.086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.297, allocations: 0 / 0.4956 GB, free: 2.086 MB / 362.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=20): time 0.0006019/0.2976, allocations: 323.7 kB / 0.4959 GB, free: 1.953 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.2976, allocations: 58.02 kB / 0.4959 GB, free: 1.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2977, allocations: 250.8 kB / 0.4962 GB, free: 1.664 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.2977, allocations: 25.7 kB / 0.4962 GB, free: 1.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.2978, allocations: 237 kB / 0.4964 GB, free: 1.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.2978, allocations: 67.66 kB / 0.4965 GB, free: 1.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.2979, allocations: 95.81 kB / 0.4966 GB, free: 1.289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.2979, allocations: 0.4952 MB / 0.4971 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.298, allocations: 53.7 kB / 0.4971 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.2981, allocations: 348.2 kB / 0.4974 GB, free: 364 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.2984, allocations: 428.9 kB / 0.4979 GB, free: 15.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2984, allocations: 0 / 0.4979 GB, free: 15.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003804/0.2988, allocations: 365 kB / 0.4982 GB, free: 15.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2988, allocations: 10.12 kB / 0.4982 GB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2988, allocations: 12.44 kB / 0.4982 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2988, allocations: 8.844 kB / 0.4982 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.299, allocations: 121.7 kB / 0.4983 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00033/0.2994, allocations: 0.9146 MB / 0.4992 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.2995, allocations: 42.08 kB / 0.4993 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.2996, allocations: 46.02 kB / 0.4993 GB, free: 14.74 MB / 378.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.0001292/0.2997, allocations: 187.7 kB / 0.4995 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.2997, allocations: 30.66 kB / 0.4995 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004197/0.3002, allocations: 324 kB / 0.4998 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3002, allocations: 2.938 kB / 0.4998 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3002, allocations: 3.984 kB / 0.4998 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3002, allocations: 0 / 0.4998 GB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.3006, allocations: 0.5165 MB / 0.5004 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3006, allocations: 3.125 kB / 0.5004 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3007, allocations: 54.72 kB / 0.5004 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3007, allocations: 2.75 kB / 0.5004 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3007, allocations: 18.3 kB / 0.5004 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002676/0.301, allocations: 0.9013 MB / 0.5013 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.301, allocations: 2.969 kB / 0.5013 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.3012, allocations: 333 kB / 0.5016 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.3013, allocations: 35.36 kB / 0.5017 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.3013, allocations: 2.875 kB / 0.5017 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3014, allocations: 16.95 kB / 0.5017 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.394e-05/0.3014, allocations: 17.47 kB / 0.5017 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.3015, allocations: 18.19 kB / 0.5017 GB, free: 12.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.745e-05/0.3015, allocations: 171.9 kB / 0.5019 GB, free: 12.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3015, allocations: 0 / 0.5019 GB, free: 12.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005556/0.3021, allocations: 213.9 kB / 0.5021 GB, free: 12.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.0006478/0.3028, allocations: 378 kB / 0.5024 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.3031, allocations: 224.8 kB / 0.5027 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3031, allocations: 5.875 kB / 0.5027 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.3032, allocations: 83.58 kB / 0.5027 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.3035, allocations: 90.8 kB / 0.5028 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.3059, allocations: 1.952 MB / 0.5047 GB, free: 9.879 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.309e-05/0.3059, allocations: 76.34 kB / 0.5048 GB, free: 9.785 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002469/0.3062, allocations: 98.16 kB / 0.5049 GB, free: 9.691 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.3062, allocations: 40.47 kB / 0.5049 GB, free: 9.652 MB / 378.7 MB Notification: Performance of SimCode: time 1.193e-06/0.3062, allocations: 0 / 0.5049 GB, free: 9.652 MB / 378.7 MB Notification: Performance of Templates: time 0.007889/0.3141, allocations: 6.738 MB / 0.5115 GB, free: 2.977 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6409818190149963]