Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.2_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00266/0.00266, allocations: 366.2 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.956/3.956, allocations: 388.9 MB / 405.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005429/0.005428, allocations: 223.3 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5221/0.5221, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004666, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09808/0.09857, allocations: 54.88 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5105/0.6092, allocations: 137.3 MB / 0.8142 GB, free: 3.121 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008061/0.6173, allocations: 4.342 MB / 0.8184 GB, free: 14.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.6176, allocations: 7.938 kB / 0.8184 GB, free: 14.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.6179, allocations: 35.8 kB / 0.8184 GB, free: 14.74 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005323/0.6233, allocations: 1.241 MB / 0.8196 GB, free: 13.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006018/0.6239, allocations: 136.7 kB / 0.8198 GB, free: 13.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007938/0.6247, allocations: 410 kB / 0.8202 GB, free: 12.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.262e-05/0.6248, allocations: 13.69 kB / 0.8202 GB, free: 12.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003639/0.6252, allocations: 159.3 kB / 0.8203 GB, free: 12.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004747/0.6257, allocations: 175.5 kB / 0.8205 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.6257, allocations: 4 kB / 0.8205 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004073/0.6298, allocations: 1.092 MB / 0.8216 GB, free: 11.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.63, allocations: 43.81 kB / 0.8216 GB, free: 11.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.6301, allocations: 61.64 kB / 0.8217 GB, free: 11.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.6321, allocations: 0.6377 MB / 0.8223 GB, free: 10.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6322, allocations: 0 / 0.8223 GB, free: 10.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.37e-06/0.6322, allocations: 0 / 0.8223 GB, free: 10.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.6322, allocations: 3.938 kB / 0.8223 GB, free: 10.78 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.00197/0.6342, allocations: 0.6631 MB / 0.8229 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.6342, allocations: 8.031 kB / 0.823 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.6476, allocations: 0.597 MB / 0.8235 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006824/0.6483, allocations: 258.7 kB / 0.8238 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.6486, allocations: 127.4 kB / 0.8239 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.6487, allocations: 23.95 kB / 0.8239 GB, free: 9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.6508, allocations: 0.5634 MB / 0.8245 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.6509, allocations: 3.938 kB / 0.8245 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.651, allocations: 8 kB / 0.8245 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.651, allocations: 12 kB / 0.8245 GB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.6537, allocations: 0.626 MB / 0.8251 GB, free: 7.754 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.003278/0.657, allocations: 1.635 MB / 0.8267 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005609/0.6576, allocations: 162.9 kB / 0.8269 GB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.6578, allocations: 80.84 kB / 0.8269 GB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002975/0.6608, allocations: 2.08 MB / 0.829 GB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.6609, allocations: 38.55 kB / 0.829 GB, free: 3.258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.316e-06/0.6609, allocations: 3.938 kB / 0.829 GB, free: 3.254 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=20): time 0.001521/0.6624, allocations: 333.4 kB / 0.8293 GB, free: 2.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.6625, allocations: 59.34 kB / 0.8294 GB, free: 2.852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.6628, allocations: 188.2 kB / 0.8296 GB, free: 2.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.6628, allocations: 25.7 kB / 0.8296 GB, free: 2.629 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.663, allocations: 187.2 kB / 0.8298 GB, free: 2.441 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.12e-05/0.6631, allocations: 71 kB / 0.8298 GB, free: 2.371 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.6631, allocations: 8 kB / 0.8298 GB, free: 2.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6633, allocations: 330.8 kB / 0.8302 GB, free: 2.031 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.6635, allocations: 64.7 kB / 0.8302 GB, free: 1.969 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.6639, allocations: 259 kB / 0.8305 GB, free: 1.625 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.6643, allocations: 107.9 kB / 0.8306 GB, free: 1.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.6643, allocations: 0 / 0.8306 GB, free: 1.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000981/0.6653, allocations: 357.9 kB / 0.8309 GB, free: 1.164 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.6653, allocations: 15.92 kB / 0.8309 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.6654, allocations: 8 kB / 0.8309 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.785e-05/0.6654, allocations: 15.95 kB / 0.8309 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.6661, allocations: 115.9 kB / 0.8311 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005227/0.6667, allocations: 0.6138 MB / 0.8317 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.6671, allocations: 35.59 kB / 0.8317 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.301e-05/0.6672, allocations: 43.98 kB / 0.8317 GB, free: 304 kB / 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002238/0.6675, allocations: 141.7 kB / 0.8319 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/0.6676, allocations: 23.77 kB / 0.8319 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.6689, allocations: 328.6 kB / 0.8322 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.669, allocations: 3.984 kB / 0.8322 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.669, allocations: 0 / 0.8322 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.6692, allocations: 112.9 kB / 0.8323 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.6693, allocations: 6.562 kB / 0.8323 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003898/0.6697, allocations: 11.98 kB / 0.8323 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.6697, allocations: 11.98 kB / 0.8323 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007252/0.6705, allocations: 253.6 kB / 0.8326 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006928/0.6712, allocations: 350.5 kB / 0.8329 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001639/0.6714, allocations: 44.7 kB / 0.833 GB, free: 14.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.6716, allocations: 140.5 kB / 0.8331 GB, free: 14.83 MB / 426.7 MB Notification: Performance of Backend: time 7.92e-07/0.6716, allocations: 0 / 0.8331 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003288/0.6749, allocations: 0.7342 MB / 0.8338 GB, free: 14.1 MB / 426.7 MB Notification: Performance of SimCode: time 0.001541/0.6764, allocations: 0.9683 MB / 0.8348 GB, free: 13.09 MB / 426.7 MB Notification: Performance of Templates: time 0.02605/0.7025, allocations: 9.452 MB / 0.844 GB, free: 3.656 MB / 426.7 MB "Error: Could not read variable eps in file ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " Variables in the reference: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 Variables in the result:MM,Pr,T,a,beta,beta2,cp,cp2,cv,cv2,d,d2,ddTp,dddX[1],ddpT,eps_h_is,err_T,err_d,err_h_is,err_u,eta,f,g,h,h2,h_is,kappa,kappa2,lambda,medium.preferredMediumStates,medium.standardOrderComponents,p,s,s_is,state.T,state.p,time,u