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.00102/0.00102, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001674/0.001674, allocations: 165 kB / 24.56 MB, free: 20 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 0.9956/0.9956, allocations: 177.1 MB / 205 MB, free: 5.621 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.2382/0.2382, allocations: 32.81 MB / 294.3 MB, free: 1.227 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.603e-06/1.603e-06, allocations: 0 / 376 MB, free: 4.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.673e-05, allocations: 2.312 kB / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2819/0.2819, allocations: 146.1 MB / 0.5099 GB, free: 19.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003965/0.2858, allocations: 5.42 MB / 0.5152 GB, free: 15.57 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2859, allocations: 3 kB / 0.5152 GB, free: 15.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.2862, allocations: 54.53 kB / 0.5152 GB, free: 15.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.2893, allocations: 1.405 MB / 0.5166 GB, free: 14.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.2896, allocations: 150.6 kB / 0.5167 GB, free: 14.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004098/0.29, allocations: 431 kB / 0.5171 GB, free: 14.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.29, allocations: 7.406 kB / 0.5171 GB, free: 14.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.2903, allocations: 230.1 kB / 0.5174 GB, free: 14.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.2905, allocations: 160.9 kB / 0.5175 GB, free: 14.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.2905, allocations: 12.91 kB / 0.5175 GB, free: 14.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.2918, allocations: 0.9833 MB / 0.5185 GB, free: 14.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.2919, allocations: 55.45 kB / 0.5185 GB, free: 14.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.189e-05/0.292, allocations: 82.53 kB / 0.5186 GB, free: 14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.293, allocations: 0.9406 MB / 0.5195 GB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.293, allocations: 0 / 0.5195 GB, free: 13.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.293, allocations: 0 / 0.5195 GB, free: 13.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.293, allocations: 3.406 kB / 0.5195 GB, free: 13.69 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.000922/0.2939, allocations: 0.7095 MB / 0.5202 GB, free: 13.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.294, allocations: 12.83 kB / 0.5202 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003539/0.2975, allocations: 0.6637 MB / 0.5209 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.2978, allocations: 204.1 kB / 0.5211 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/0.2979, allocations: 232.1 kB / 0.5213 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.2979, allocations: 30.59 kB / 0.5213 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.2986, allocations: 0.7347 MB / 0.5221 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2986, allocations: 3.938 kB / 0.5221 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.2987, allocations: 17.42 kB / 0.5221 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.2987, allocations: 5.688 kB / 0.5221 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000571/0.2992, allocations: 0.5193 MB / 0.5226 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.3003, allocations: 1.81 MB / 0.5244 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3005, allocations: 144.2 kB / 0.5245 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.3006, allocations: 59.48 kB / 0.5246 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005413/0.3011, allocations: 0.514 MB / 0.5251 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.3012, allocations: 42.42 kB / 0.5251 GB, free: 10.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.3012, allocations: 3.125 kB / 0.5251 GB, free: 10.07 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.0005871/0.3017, allocations: 311.4 kB / 0.5254 GB, free: 9.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.3018, allocations: 54.41 kB / 0.5254 GB, free: 9.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3019, allocations: 256.1 kB / 0.5257 GB, free: 9.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3019, allocations: 32.36 kB / 0.5257 GB, free: 9.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.3019, allocations: 238.9 kB / 0.5259 GB, free: 9.461 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.302, allocations: 65.44 kB / 0.526 GB, free: 9.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/0.3021, allocations: 104.2 kB / 0.5261 GB, free: 9.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.3021, allocations: 0.4986 MB / 0.5266 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.3022, allocations: 52.02 kB / 0.5266 GB, free: 8.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.3023, allocations: 338.1 kB / 0.527 GB, free: 8.461 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.3025, allocations: 434 kB / 0.5274 GB, free: 8.016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3025, allocations: 2.562 kB / 0.5274 GB, free: 8.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003381/0.3029, allocations: 358.7 kB / 0.5277 GB, free: 7.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3029, allocations: 9.125 kB / 0.5277 GB, free: 7.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3029, allocations: 12.25 kB / 0.5277 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3029, allocations: 8.688 kB / 0.5278 GB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.3031, allocations: 127.1 kB / 0.5279 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001933/0.3033, allocations: 0.9101 MB / 0.5288 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.3035, allocations: 45.48 kB / 0.5288 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.3035, allocations: 43.19 kB / 0.5289 GB, free: 6.918 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.966e-05/0.3036, allocations: 188.1 kB / 0.529 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.3036, allocations: 26.3 kB / 0.5291 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.3041, allocations: 462 kB / 0.5295 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.3041, allocations: 2.938 kB / 0.5295 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3041, allocations: 0 / 0.5295 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3042, allocations: 0 / 0.5295 GB, free: 6.559 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.3046, allocations: 0.5547 MB / 0.53 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3046, allocations: 2.344 kB / 0.53 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3048, allocations: 64.28 kB / 0.5301 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3048, allocations: 2.406 kB / 0.5301 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.3048, allocations: 13.98 kB / 0.5301 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001874/0.305, allocations: 0.908 MB / 0.531 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.305, allocations: 2.781 kB / 0.531 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002046/0.3052, allocations: 364.8 kB / 0.5314 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.05e-05/0.3053, allocations: 28.55 kB / 0.5314 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.3053, allocations: 7.969 kB / 0.5314 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.3054, allocations: 11.83 kB / 0.5314 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.3054, allocations: 23.58 kB / 0.5314 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.3055, allocations: 17.31 kB / 0.5314 GB, free: 4.824 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.73e-05/0.3055, allocations: 177.8 kB / 0.5316 GB, free: 4.691 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3055, allocations: 0 / 0.5316 GB, free: 4.691 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004247/0.306, allocations: 173.4 kB / 0.5318 GB, free: 4.652 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.0003707/0.3063, allocations: 279.7 kB / 0.532 GB, free: 4.512 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002984/0.3066, allocations: 220.7 kB / 0.5323 GB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3066, allocations: 2.906 kB / 0.5323 GB, free: 4.445 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.3067, allocations: 80.7 kB / 0.5323 GB, free: 4.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3071, allocations: 86.11 kB / 0.5324 GB, free: 4.402 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.3083, allocations: 0.8801 MB / 0.5333 GB, free: 3.855 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.7e-05/0.3083, allocations: 73.41 kB / 0.5333 GB, free: 3.785 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003922/0.3087, allocations: 381.9 kB / 0.5337 GB, free: 3.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3088, allocations: 66.75 kB / 0.5338 GB, free: 3.707 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3088, allocations: 0 / 0.5338 GB, free: 3.707 MB / 410.7 MB Notification: Performance of Templates: time 0.008312/0.3172, allocations: 6.755 MB / 0.5404 GB, free: 1.492 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: 3.5519705042243004]