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.001377/0.001377, 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.001572/0.001572, allocations: 161.5 kB / 25.61 MB, free: 8.582 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.9763/0.9763, allocations: 177.1 MB / 206 MB, free: 4.508 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.164/0.164, allocations: 32.8 MB / 295.4 MB, free: 15.4 MB / 282.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 9.92e-07/9.92e-07, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.723e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3036/0.3036, allocations: 143.3 MB / 0.5084 GB, free: 16.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004393/0.308, allocations: 5.37 MB / 0.5137 GB, free: 16.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.3081, allocations: 2.344 kB / 0.5137 GB, free: 16.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.3084, allocations: 58.12 kB / 0.5137 GB, free: 16.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003/0.3114, allocations: 1.394 MB / 0.5151 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.3116, allocations: 149.2 kB / 0.5152 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000522/0.3121, allocations: 425.5 kB / 0.5156 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/0.3122, allocations: 11.97 kB / 0.5157 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.3125, allocations: 238.4 kB / 0.5159 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.3127, allocations: 153.6 kB / 0.516 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.3127, allocations: 9.219 kB / 0.516 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.3144, allocations: 0.9896 MB / 0.517 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.3144, allocations: 46.75 kB / 0.517 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.3145, allocations: 89.86 kB / 0.5171 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.3156, allocations: 0.9335 MB / 0.518 GB, free: 16.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3156, allocations: 6 kB / 0.5181 GB, free: 16.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3156, allocations: 0 / 0.5181 GB, free: 16.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3156, allocations: 0 / 0.5181 GB, free: 16.71 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.0008949/0.3165, allocations: 0.7215 MB / 0.5188 GB, free: 16.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3166, allocations: 8.594 kB / 0.5188 GB, free: 16.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003905/0.3205, allocations: 0.6602 MB / 0.5194 GB, free: 16.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.3208, allocations: 206.9 kB / 0.5196 GB, free: 16.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.687e-05/0.3209, allocations: 231.3 kB / 0.5198 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.3209, allocations: 28.22 kB / 0.5199 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005837/0.3215, allocations: 0.6937 MB / 0.5205 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3215, allocations: 0 / 0.5205 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/0.3216, allocations: 13.64 kB / 0.5205 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.3216, allocations: 9.406 kB / 0.5206 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.3221, allocations: 451 kB / 0.521 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.3233, allocations: 1.789 MB / 0.5227 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3235, allocations: 125.6 kB / 0.5229 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.861e-05/0.3236, allocations: 61.67 kB / 0.5229 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006988/0.3243, allocations: 0.5086 MB / 0.5234 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.3243, allocations: 39.41 kB / 0.5234 GB, free: 13.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.3243, allocations: 3.094 kB / 0.5234 GB, free: 13.61 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.0005788/0.3249, allocations: 281.5 kB / 0.5237 GB, free: 13.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.3249, allocations: 53.94 kB / 0.5238 GB, free: 13.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.325, allocations: 256.8 kB / 0.524 GB, free: 13.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3251, allocations: 31.36 kB / 0.524 GB, free: 13.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.3251, allocations: 235 kB / 0.5243 GB, free: 13.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.3252, allocations: 79.3 kB / 0.5243 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.3252, allocations: 96.55 kB / 0.5244 GB, free: 13.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.3253, allocations: 0.4993 MB / 0.5249 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.3254, allocations: 44.56 kB / 0.525 GB, free: 12.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3255, allocations: 332.9 kB / 0.5253 GB, free: 12.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.3257, allocations: 419.9 kB / 0.5257 GB, free: 11.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3257, allocations: 0 / 0.5257 GB, free: 11.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003825/0.3261, allocations: 339.5 kB / 0.526 GB, free: 11.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3262, allocations: 7.531 kB / 0.526 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.3262, allocations: 11 kB / 0.526 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3262, allocations: 10.69 kB / 0.526 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.3264, allocations: 126 kB / 0.5262 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002511/0.3267, allocations: 0.9158 MB / 0.527 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.3268, allocations: 43.55 kB / 0.5271 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.3269, allocations: 38.06 kB / 0.5271 GB, free: 10.79 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.298e-05/0.327, allocations: 186.1 kB / 0.5273 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.327, allocations: 30.08 kB / 0.5273 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/0.3275, allocations: 449.7 kB / 0.5278 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3275, allocations: 3.625 kB / 0.5278 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.3275, allocations: 0 / 0.5278 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3275, allocations: 0 / 0.5278 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.328, allocations: 0.5192 MB / 0.5283 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.328, allocations: 0 / 0.5283 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.3281, allocations: 58.88 kB / 0.5283 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3281, allocations: 3.625 kB / 0.5283 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3281, allocations: 15.73 kB / 0.5283 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001516/0.3283, allocations: 0.9013 MB / 0.5292 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/0.3283, allocations: 8.906 kB / 0.5292 GB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.3285, allocations: 366 kB / 0.5296 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-05/0.3285, allocations: 24.77 kB / 0.5296 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3286, allocations: 11.7 kB / 0.5296 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.3287, allocations: 15.08 kB / 0.5296 GB, free: 8.906 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.3287, allocations: 16 kB / 0.5296 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.3287, allocations: 20.12 kB / 0.5297 GB, free: 8.902 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.3288, allocations: 171.6 kB / 0.5298 GB, free: 8.781 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3288, allocations: 0 / 0.5298 GB, free: 8.781 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004955/0.3293, allocations: 168.2 kB / 0.53 GB, free: 8.758 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.0004083/0.3297, allocations: 285.5 kB / 0.5303 GB, free: 8.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.33, allocations: 209.9 kB / 0.5305 GB, free: 8.621 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.33, allocations: 0 / 0.5305 GB, free: 8.621 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.821e-05/0.3301, allocations: 86.06 kB / 0.5305 GB, free: 8.605 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.3304, allocations: 86.05 kB / 0.5306 GB, free: 8.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3316, allocations: 0.8761 MB / 0.5315 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.289e-05/0.3316, allocations: 76.3 kB / 0.5316 GB, free: 8.195 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003854/0.332, allocations: 385.9 kB / 0.5319 GB, free: 8.137 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.3322, allocations: 187.5 kB / 0.5321 GB, free: 8.062 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3322, allocations: 0 / 0.5321 GB, free: 8.062 MB / 410.7 MB Notification: Performance of Templates: time 0.008374/0.3406, allocations: 6.868 MB / 0.5388 GB, free: 6.141 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.82782779680565]