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.0009634/0.0009634, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001038/0.001038, allocations: 165.3 kB / 24.82 MB, free: 9.27 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 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.3236/0.3236, allocations: 34.26 MB / 296.1 MB, free: 0.6445 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 2.735e-06/2.735e-06, allocations: 0 / 378.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.377e-05/3.651e-05, allocations: 2.312 kB / 378.5 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3815/0.3815, allocations: 143.3 MB / 0.5096 GB, free: 18.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.3868, allocations: 5.371 MB / 0.5149 GB, free: 14.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.387, allocations: 1.312 kB / 0.5149 GB, free: 14.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.3873, allocations: 58.53 kB / 0.5149 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004072/0.3914, allocations: 1.409 MB / 0.5163 GB, free: 14.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.3917, allocations: 145.8 kB / 0.5165 GB, free: 14.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000579/0.3923, allocations: 426.5 kB / 0.5169 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.3923, allocations: 13.47 kB / 0.5169 GB, free: 13.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003663/0.3927, allocations: 227.9 kB / 0.5171 GB, free: 13.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.393, allocations: 167.2 kB / 0.5172 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.3931, allocations: 5.562 kB / 0.5173 GB, free: 13.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.3957, allocations: 0.9923 MB / 0.5182 GB, free: 13.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.3958, allocations: 43.91 kB / 0.5183 GB, free: 13.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.3959, allocations: 88.36 kB / 0.5183 GB, free: 13.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001785/0.3977, allocations: 0.9347 MB / 0.5193 GB, free: 13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3977, allocations: 3.031 kB / 0.5193 GB, free: 13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3977, allocations: 4 kB / 0.5193 GB, free: 13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.3977, allocations: 0 / 0.5193 GB, free: 13 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.001314/0.399, allocations: 0.721 MB / 0.52 GB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.3991, allocations: 13.83 kB / 0.52 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/0.4027, allocations: 0.6569 MB / 0.5206 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.4031, allocations: 201.4 kB / 0.5208 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.4032, allocations: 228.4 kB / 0.521 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.4033, allocations: 28.28 kB / 0.5211 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.4039, allocations: 0.6949 MB / 0.5217 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4039, allocations: 3.938 kB / 0.5217 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/0.4039, allocations: 10.97 kB / 0.5218 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.404, allocations: 6.406 kB / 0.5218 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005123/0.4045, allocations: 453.2 kB / 0.5222 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.4057, allocations: 1.785 MB / 0.5239 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001731/0.4058, allocations: 120.5 kB / 0.5241 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.4059, allocations: 59.55 kB / 0.5241 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/0.4065, allocations: 0.5398 MB / 0.5246 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.4066, allocations: 36.56 kB / 0.5247 GB, free: 9.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.182e-06/0.4066, allocations: 0 / 0.5247 GB, free: 9.477 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.0005387/0.4071, allocations: 281.4 kB / 0.5249 GB, free: 9.398 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.948e-05/0.4071, allocations: 57.81 kB / 0.525 GB, free: 9.332 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.4072, allocations: 254.6 kB / 0.5252 GB, free: 9.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.4072, allocations: 32.14 kB / 0.5253 GB, free: 9.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.4073, allocations: 237.3 kB / 0.5255 GB, free: 8.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.4074, allocations: 73.2 kB / 0.5256 GB, free: 8.816 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/0.4074, allocations: 100.8 kB / 0.5257 GB, free: 8.762 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.4075, allocations: 0.4995 MB / 0.5261 GB, free: 8.258 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.4076, allocations: 42.83 kB / 0.5262 GB, free: 8.258 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.4077, allocations: 329.1 kB / 0.5265 GB, free: 7.875 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.4079, allocations: 418.3 kB / 0.5269 GB, free: 7.438 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.408, allocations: 3.062 kB / 0.5269 GB, free: 7.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003376/0.4083, allocations: 336.6 kB / 0.5272 GB, free: 7.312 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4083, allocations: 8.312 kB / 0.5272 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4083, allocations: 9.344 kB / 0.5272 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.4083, allocations: 11.25 kB / 0.5273 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.4086, allocations: 128.8 kB / 0.5274 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002176/0.4088, allocations: 0.905 MB / 0.5283 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.4089, allocations: 45.52 kB / 0.5283 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.4089, allocations: 39.84 kB / 0.5283 GB, free: 6.355 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.606e-05/0.409, allocations: 186.5 kB / 0.5285 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.4091, allocations: 30.05 kB / 0.5285 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.4096, allocations: 459.2 kB / 0.529 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4096, allocations: 2.578 kB / 0.529 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4096, allocations: 0 / 0.529 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4096, allocations: 2.906 kB / 0.529 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00045/0.41, allocations: 0.5178 MB / 0.5295 GB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.41, allocations: 6.219 kB / 0.5295 GB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.4101, allocations: 61.47 kB / 0.5296 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/0.4101, allocations: 2.094 kB / 0.5296 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.4102, allocations: 10.25 kB / 0.5296 GB, free: 5.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001765/0.4103, allocations: 0.9109 MB / 0.5305 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4103, allocations: 6.875 kB / 0.5305 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.4105, allocations: 355.3 kB / 0.5308 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.4106, allocations: 26.44 kB / 0.5308 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.4106, allocations: 9.5 kB / 0.5308 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.4107, allocations: 10.5 kB / 0.5309 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.4107, allocations: 20.38 kB / 0.5309 GB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.4108, allocations: 16.02 kB / 0.5309 GB, free: 4.293 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.27e-05/0.4108, allocations: 178.9 kB / 0.5311 GB, free: 4.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4108, allocations: 0 / 0.5311 GB, free: 4.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006707/0.4115, allocations: 174.8 kB / 0.5312 GB, free: 4.121 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.0005081/0.412, allocations: 283.4 kB / 0.5315 GB, free: 3.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.4123, allocations: 207.3 kB / 0.5317 GB, free: 3.918 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4123, allocations: 2.312 kB / 0.5317 GB, free: 3.918 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.4124, allocations: 80.39 kB / 0.5318 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.4128, allocations: 87.05 kB / 0.5319 GB, free: 3.871 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.414, allocations: 0.8803 MB / 0.5327 GB, free: 3.328 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.775e-05/0.4141, allocations: 72.78 kB / 0.5328 GB, free: 3.258 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004605/0.4145, allocations: 378.7 kB / 0.5331 GB, free: 3.195 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.4148, allocations: 193.8 kB / 0.5333 GB, free: 3.117 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4148, allocations: 0 / 0.5333 GB, free: 3.117 MB / 410.7 MB Notification: Performance of Templates: time 0.009096/0.4239, allocations: 6.82 MB / 0.54 GB, free: 0.7461 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: 4.049733898136765]