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.001154/0.001154, allocations: 80.98 kB / 20.65 MB, free: 3.832 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.00103/0.00103, allocations: 177 kB / 24.06 MB, free: 440 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.9587/0.9587, allocations: 158.6 MB / 186 MB, free: 2.781 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.1342/0.1342, allocations: 32.38 MB / 270.7 MB, free: 14.52 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.854e-06/1.854e-06, allocations: 0 / 348.2 MB, free: 9.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.842e-05, allocations: 6.312 kB / 348.2 MB, free: 9.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2694/0.2694, allocations: 141.6 MB / 489.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003439/0.2729, allocations: 4.762 MB / 494.6 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.273, allocations: 4 kB / 494.6 MB, free: 9.301 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.2733, allocations: 62.67 kB / 494.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.2769, allocations: 1.617 MB / 496.2 MB, free: 8.504 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.2772, allocations: 156.8 kB / 496.4 MB, free: 8.469 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004871/0.2777, allocations: 423.3 kB / 496.8 MB, free: 8.309 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.2777, allocations: 11.11 kB / 496.8 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.278, allocations: 228.7 kB / 497 MB, free: 8.234 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.2783, allocations: 160.6 kB / 497.2 MB, free: 8.191 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.2783, allocations: 11 kB / 497.2 MB, free: 8.191 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002307/0.2806, allocations: 1.182 MB / 498.4 MB, free: 7.875 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.2807, allocations: 44.83 kB / 498.4 MB, free: 7.855 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.995e-05/0.2808, allocations: 83.95 kB / 498.5 MB, free: 7.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.2828, allocations: 1.078 MB / 499.6 MB, free: 7.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2828, allocations: 2.906 kB / 499.6 MB, free: 7.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2828, allocations: 4 kB / 499.6 MB, free: 7.484 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2828, allocations: 0 / 499.6 MB, free: 7.484 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.001006/0.2838, allocations: 0.7516 MB / 0.4886 GB, free: 6.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2838, allocations: 7.531 kB / 0.4886 GB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/0.2872, allocations: 0.6455 MB / 0.4893 GB, free: 6.645 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.2876, allocations: 213 kB / 0.4895 GB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/0.2876, allocations: 231.8 kB / 0.4897 GB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.195e-05/0.2877, allocations: 27.34 kB / 0.4897 GB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.2883, allocations: 0.6931 MB / 0.4904 GB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2883, allocations: 3.938 kB / 0.4904 GB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.098e-05/0.2883, allocations: 11.88 kB / 0.4904 GB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.2883, allocations: 9.484 kB / 0.4904 GB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.2888, allocations: 448.5 kB / 0.4908 GB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.2899, allocations: 1.797 MB / 0.4926 GB, free: 3.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.2901, allocations: 122.1 kB / 0.4927 GB, free: 3.934 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.2901, allocations: 56.48 kB / 0.4928 GB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007922/0.2909, allocations: 0.7567 MB / 0.4935 GB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.2909, allocations: 48.12 kB / 0.4936 GB, free: 3.453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.2909, allocations: 0 / 0.4936 GB, free: 3.453 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.0005151/0.2914, allocations: 289.5 kB / 0.4938 GB, free: 3.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.75e-05/0.2915, allocations: 57.7 kB / 0.4939 GB, free: 3.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.981e-05/0.2916, allocations: 250.7 kB / 0.4941 GB, free: 3.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.2916, allocations: 36.73 kB / 0.4942 GB, free: 3.031 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.2916, allocations: 234.2 kB / 0.4944 GB, free: 2.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.2916, allocations: 69.8 kB / 0.4944 GB, free: 2.762 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/0.2917, allocations: 96.97 kB / 0.4945 GB, free: 2.703 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.2918, allocations: 0.4997 MB / 0.495 GB, free: 2.207 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.2918, allocations: 43.92 kB / 0.4951 GB, free: 2.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.2919, allocations: 338.8 kB / 0.4954 GB, free: 1.797 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.2922, allocations: 412.7 kB / 0.4958 GB, free: 1.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2922, allocations: 0 / 0.4958 GB, free: 1.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002897/0.2925, allocations: 333.1 kB / 0.4961 GB, free: 1.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2925, allocations: 9.219 kB / 0.4961 GB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2925, allocations: 11.55 kB / 0.4961 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2925, allocations: 8.75 kB / 0.4961 GB, free: 1.203 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/0.2927, allocations: 125.8 kB / 0.4963 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001763/0.2929, allocations: 0.9184 MB / 0.4971 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.293, allocations: 45.39 kB / 0.4972 GB, free: 228 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.293, allocations: 29.97 kB / 0.4972 GB, free: 228 kB / 362.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 7.48e-05/0.2931, allocations: 193.2 kB / 0.4974 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.2931, allocations: 28.03 kB / 0.4974 GB, free: 20 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.2935, allocations: 324.2 kB / 0.4977 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2935, allocations: 2.344 kB / 0.4977 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.2935, allocations: 2.938 kB / 0.4977 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.2935, allocations: 0 / 0.4977 GB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.2939, allocations: 481.2 kB / 0.4982 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2939, allocations: 160 / 0.4982 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.294, allocations: 63.92 kB / 0.4983 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.294, allocations: 2.906 kB / 0.4983 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.294, allocations: 5.031 kB / 0.4983 GB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002771/0.2943, allocations: 0.9156 MB / 0.4992 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2943, allocations: 3.938 kB / 0.4992 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.2945, allocations: 325.5 kB / 0.4995 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.2945, allocations: 33.58 kB / 0.4995 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.2946, allocations: 6.703 kB / 0.4995 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2947, allocations: 13.09 kB / 0.4995 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.2947, allocations: 14.25 kB / 0.4995 GB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.2947, allocations: 17.5 kB / 0.4996 GB, free: 14.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.469e-05/0.2948, allocations: 170.8 kB / 0.4997 GB, free: 14 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2948, allocations: 0 / 0.4997 GB, free: 14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000528/0.2953, allocations: 209.5 kB / 0.4999 GB, free: 13.87 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.0005831/0.2959, allocations: 397.3 kB / 0.5003 GB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.2962, allocations: 208 kB / 0.5005 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2962, allocations: 0 / 0.5005 GB, free: 13.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.926e-05/0.2963, allocations: 88.08 kB / 0.5006 GB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.2966, allocations: 79.84 kB / 0.5007 GB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.2987, allocations: 1.991 MB / 0.5026 GB, free: 11.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.42e-05/0.2987, allocations: 80.27 kB / 0.5027 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002309/0.2989, allocations: 91.09 kB / 0.5028 GB, free: 11.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.2991, allocations: 174.1 kB / 0.5029 GB, free: 10.98 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2991, allocations: 0 / 0.5029 GB, free: 10.98 MB / 378.7 MB Notification: Performance of Templates: time 0.009059/0.3082, allocations: 7.959 MB / 0.5107 GB, free: 3.074 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.7074097129516304]