Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001749/0.001749, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3382/0.3382, allocations: 34.24 MB / 295.2 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.329e-05, allocations: 3.719 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3431/0.3431, allocations: 132 MB / 0.4973 GB, free: 24.47 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005852/0.349, allocations: 4.749 MB / 0.502 GB, free: 21.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.3492, allocations: 5.844 kB / 0.502 GB, free: 21.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.3495, allocations: 50.3 kB / 0.502 GB, free: 21.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004586/0.3541, allocations: 1.358 MB / 0.5034 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.3545, allocations: 139.9 kB / 0.5035 GB, free: 20.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007157/0.3553, allocations: 409.8 kB / 0.5039 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.3553, allocations: 12.78 kB / 0.5039 GB, free: 20.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.3557, allocations: 231.5 kB / 0.5041 GB, free: 20.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.356, allocations: 152.2 kB / 0.5043 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.187e-05/0.356, allocations: 8.188 kB / 0.5043 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.3585, allocations: 0.9732 MB / 0.5052 GB, free: 19.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.664e-05/0.3586, allocations: 51.55 kB / 0.5053 GB, free: 19.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3587, allocations: 82.22 kB / 0.5054 GB, free: 19.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001704/0.3604, allocations: 0.9571 MB / 0.5063 GB, free: 19.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3604, allocations: 0 / 0.5063 GB, free: 19.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3604, allocations: 2.531 kB / 0.5063 GB, free: 19.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3604, allocations: 0 / 0.5063 GB, free: 19.5 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.001274/0.3617, allocations: 0.6165 MB / 0.5069 GB, free: 19.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3617, allocations: 12.25 kB / 0.5069 GB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007665/0.3694, allocations: 0.7137 MB / 0.5076 GB, free: 18.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.37, allocations: 207.5 kB / 0.5078 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.3701, allocations: 230.3 kB / 0.508 GB, free: 18.53 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3702, allocations: 29.44 kB / 0.508 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.3714, allocations: 0.738 MB / 0.5088 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.3714, allocations: 4.047 kB / 0.5088 GB, free: 18.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.3715, allocations: 6.75 kB / 0.5088 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.3715, allocations: 6.875 kB / 0.5088 GB, free: 18.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.3727, allocations: 0.5997 MB / 0.5094 GB, free: 17.9 MB / 410.7 MB 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.0018/0.3745, allocations: 1.402 MB / 0.5107 GB, free: 16.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.3748, allocations: 152.3 kB / 0.5109 GB, free: 16.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.375, allocations: 73.95 kB / 0.511 GB, free: 16.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.376, allocations: 497.3 kB / 0.5114 GB, free: 16.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.376, allocations: 34.56 kB / 0.5115 GB, free: 16.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 1.844e-06/0.376, allocations: 2.844 kB / 0.5115 GB, free: 16.36 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.001/0.377, allocations: 337.9 kB / 0.5118 GB, free: 16.24 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.377, allocations: 54.12 kB / 0.5118 GB, free: 16.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3772, allocations: 198.3 kB / 0.512 GB, free: 16.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3772, allocations: 25.7 kB / 0.5121 GB, free: 16.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.3773, allocations: 196.2 kB / 0.5122 GB, free: 15.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.3773, allocations: 66.56 kB / 0.5123 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.3775, allocations: 95.88 kB / 0.5124 GB, free: 15.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.3775, allocations: 324 kB / 0.5127 GB, free: 15.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.3777, allocations: 68.34 kB / 0.5128 GB, free: 15.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.3779, allocations: 263.7 kB / 0.513 GB, free: 15.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.3783, allocations: 362.1 kB / 0.5134 GB, free: 14.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3783, allocations: 2.844 kB / 0.5134 GB, free: 14.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000618/0.3789, allocations: 394.5 kB / 0.5137 GB, free: 14.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.379, allocations: 8.219 kB / 0.5138 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.379, allocations: 7.969 kB / 0.5138 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.379, allocations: 8.188 kB / 0.5138 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.3794, allocations: 125 kB / 0.5139 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002635/0.3797, allocations: 0.6026 MB / 0.5145 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.3799, allocations: 49.22 kB / 0.5145 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.38, allocations: 41.06 kB / 0.5146 GB, free: 13.99 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 0.000121/0.3801, allocations: 144.6 kB / 0.5147 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.3802, allocations: 33.97 kB / 0.5147 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007764/0.3809, allocations: 452.4 kB / 0.5152 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3809, allocations: 4.812 kB / 0.5152 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3809, allocations: 0 / 0.5152 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3809, allocations: 4 kB / 0.5152 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006977/0.3816, allocations: 0.4903 MB / 0.5156 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3817, allocations: 6.844 kB / 0.5157 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.3819, allocations: 65.7 kB / 0.5157 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3819, allocations: 5.344 kB / 0.5157 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3819, allocations: 9.406 kB / 0.5157 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001817/0.3821, allocations: 0.5982 MB / 0.5163 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3821, allocations: 2.844 kB / 0.5163 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.3824, allocations: 306.4 kB / 0.5166 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.3825, allocations: 33.02 kB / 0.5166 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.3825, allocations: 8.156 kB / 0.5167 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.3828, allocations: 14.16 kB / 0.5167 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.3828, allocations: 18.84 kB / 0.5167 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.3828, allocations: 19.88 kB / 0.5167 GB, free: 12.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.727e-05/0.3829, allocations: 140.7 kB / 0.5168 GB, free: 12.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3829, allocations: 0 / 0.5168 GB, free: 12.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007124/0.3836, allocations: 163.7 kB / 0.517 GB, free: 12.29 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.0005088/0.3841, allocations: 291.8 kB / 0.5173 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.3846, allocations: 212.7 kB / 0.5175 GB, free: 12.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.3846, allocations: 6.812 kB / 0.5175 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.3848, allocations: 79.59 kB / 0.5176 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.3854, allocations: 84.84 kB / 0.5176 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.3869, allocations: 0.8534 MB / 0.5185 GB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.683e-05/0.387, allocations: 109.8 kB / 0.5186 GB, free: 11.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006072/0.3876, allocations: 384.7 kB / 0.5189 GB, free: 11.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.3878, allocations: 59.58 kB / 0.519 GB, free: 11.38 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3878, allocations: 0 / 0.519 GB, free: 11.38 MB / 410.7 MB Notification: Performance of Templates: time 0.01013/0.3979, allocations: 5.819 MB / 0.5247 GB, free: 10.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.598745190072805]