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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 105.9 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002368/0.002368, allocations: 194 kB / 23.52 MB, free: 5.418 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 225.6 MB / 252.1 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 44.92 MB / 352.1 MB, free: 12.31 MB / 286.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|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.1.|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 0.00275/0.00275, allocations: 67.89 kB / 495.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3681, allocations: 64.24 MB / 0.5468 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1749/0.543, allocations: 150.6 MB / 0.6938 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006322/0.5493, allocations: 5.33 MB / 0.6991 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.5495, allocations: 4 kB / 0.6991 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.5498, allocations: 51.59 kB / 0.6991 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.5535, allocations: 1.329 MB / 0.7004 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.5539, allocations: 143.6 kB / 0.7005 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006301/0.5545, allocations: 402.1 kB / 0.7009 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.5546, allocations: 13.67 kB / 0.7009 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.5549, allocations: 167.4 kB / 0.7011 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.5552, allocations: 171.5 kB / 0.7013 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.5553, allocations: 8 kB / 0.7013 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002656/0.5579, allocations: 1.099 MB / 0.7023 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.558, allocations: 59.73 kB / 0.7024 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.5582, allocations: 107.5 kB / 0.7025 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.56, allocations: 0.8597 MB / 0.7033 GB, free: 15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.56, allocations: 0 / 0.7033 GB, free: 15 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.284e-06/0.56, allocations: 0 / 0.7033 GB, free: 15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.56, allocations: 0 / 0.7033 GB, free: 15 MB / 0.545 GB 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.001464/0.5615, allocations: 0.6892 MB / 0.704 GB, free: 14.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.5615, allocations: 16.03 kB / 0.704 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007512/0.5691, allocations: 0.5858 MB / 0.7046 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.5696, allocations: 267.4 kB / 0.7049 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.5698, allocations: 127.4 kB / 0.705 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.978e-05/0.5699, allocations: 16 kB / 0.705 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5711, allocations: 0.5634 MB / 0.7055 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5711, allocations: 7.938 kB / 0.7055 GB, free: 12.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.5712, allocations: 12 kB / 0.7056 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.5712, allocations: 4 kB / 0.7056 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.5727, allocations: 0.6338 MB / 0.7062 GB, free: 11.93 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.5751, allocations: 1.71 MB / 0.7079 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.5755, allocations: 150.2 kB / 0.708 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.5757, allocations: 72.83 kB / 0.7081 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001488/0.5772, allocations: 1.467 MB / 0.7095 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.5772, allocations: 34.56 kB / 0.7095 GB, free: 8.074 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.794e-06/0.5772, allocations: 0 / 0.7095 GB, free: 8.074 MB / 0.545 GB 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.001042/0.5782, allocations: 335.7 kB / 0.7099 GB, free: 7.742 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.5783, allocations: 51.41 kB / 0.7099 GB, free: 7.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.5785, allocations: 182.6 kB / 0.7101 GB, free: 7.492 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.5785, allocations: 29.7 kB / 0.7101 GB, free: 7.457 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.5786, allocations: 183.8 kB / 0.7103 GB, free: 7.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.554e-05/0.5787, allocations: 75.42 kB / 0.7104 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.5789, allocations: 97.95 kB / 0.7104 GB, free: 7.094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.579, allocations: 330.8 kB / 0.7108 GB, free: 6.762 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.5792, allocations: 68.7 kB / 0.7108 GB, free: 6.695 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003142/0.5795, allocations: 268 kB / 0.7111 GB, free: 6.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.58, allocations: 362.2 kB / 0.7114 GB, free: 5.891 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.58, allocations: 4 kB / 0.7114 GB, free: 5.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006682/0.5807, allocations: 373.4 kB / 0.7118 GB, free: 5.516 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.5807, allocations: 8 kB / 0.7118 GB, free: 5.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5807, allocations: 4 kB / 0.7118 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.5807, allocations: 15.94 kB / 0.7118 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.5811, allocations: 123.8 kB / 0.7119 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004222/0.5816, allocations: 0.6097 MB / 0.7125 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.5818, allocations: 43.67 kB / 0.7126 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-05/0.5819, allocations: 43.98 kB / 0.7126 GB, free: 4.648 MB / 0.545 GB 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.0001672/0.582, allocations: 137.7 kB / 0.7127 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.5821, allocations: 27.84 kB / 0.7128 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008886/0.583, allocations: 463.6 kB / 0.7132 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.583, allocations: 0 / 0.7132 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.583, allocations: 3.938 kB / 0.7132 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.583, allocations: 7.938 kB / 0.7132 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009878/0.584, allocations: 0.6354 MB / 0.7138 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.584, allocations: 4.031 kB / 0.7138 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.5842, allocations: 67.89 kB / 0.7139 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.5842, allocations: 0 / 0.7139 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.5843, allocations: 11.94 kB / 0.7139 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003688/0.5846, allocations: 0.5977 MB / 0.7145 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5846, allocations: 0 / 0.7145 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.585, allocations: 298.3 kB / 0.7148 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.5851, allocations: 108.9 kB / 0.7149 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.5852, allocations: 11.94 kB / 0.7149 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.5854, allocations: 11.98 kB / 0.7149 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.5855, allocations: 19.92 kB / 0.7149 GB, free: 2.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.5855, allocations: 19.98 kB / 0.715 GB, free: 2.039 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001383/0.5857, allocations: 139.6 kB / 0.7151 GB, free: 1.902 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5857, allocations: 4 kB / 0.7151 GB, free: 1.898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000703/0.5864, allocations: 163.7 kB / 0.7152 GB, free: 1.738 MB / 0.545 GB 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.0006701/0.587, allocations: 272.1 kB / 0.7155 GB, free: 1.473 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005762/0.5876, allocations: 217.3 kB / 0.7157 GB, free: 1.262 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5876, allocations: 8.188 kB / 0.7157 GB, free: 1.254 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.5878, allocations: 75.83 kB / 0.7158 GB, free: 1.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/0.5884, allocations: 76.48 kB / 0.7159 GB, free: 1.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.5901, allocations: 0.863 MB / 0.7167 GB, free: 188 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.5904, allocations: 0.7245 MB / 0.7174 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.5907, allocations: 87.36 kB / 0.7175 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of SimCode: time 7.02e-07/0.5907, allocations: 0 / 0.7175 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of Templates: time 0.009115/0.5998, allocations: 5.472 MB / 0.7228 GB, free: 9.879 MB / 0.5606 GB [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.diff",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