Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.DryAirNasa,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.DryAirNasa") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002736/0.00274, allocations: 364 kB / 15.96 MB, free: 6.203 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 4.165/4.165, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003562/0.003562, allocations: 237.5 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.5778/0.5778, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004786, allocations: 11.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1531, allocations: 54.86 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5102/0.6633, allocations: 137.3 MB / 0.8141 GB, free: 3.105 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01158/0.675, allocations: 6.363 MB / 0.8203 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.6753, allocations: 0 / 0.8203 GB, free: 12.75 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.6756, allocations: 35.73 kB / 0.8204 GB, free: 12.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004956/0.6805, allocations: 1.151 MB / 0.8215 GB, free: 11.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.6811, allocations: 132.8 kB / 0.8216 GB, free: 11.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007431/0.6819, allocations: 414 kB / 0.822 GB, free: 11.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.458e-05/0.682, allocations: 13.67 kB / 0.822 GB, free: 11.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/0.6824, allocations: 159.4 kB / 0.8222 GB, free: 10.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.6828, allocations: 167.5 kB / 0.8223 GB, free: 10.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.939e-05/0.6829, allocations: 8 kB / 0.8224 GB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003523/0.6864, allocations: 1.026 MB / 0.8234 GB, free: 9.668 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.6866, allocations: 47.81 kB / 0.8234 GB, free: 9.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.6867, allocations: 69.58 kB / 0.8235 GB, free: 9.547 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.6885, allocations: 0.6299 MB / 0.8241 GB, free: 8.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.6885, allocations: 0 / 0.8241 GB, free: 8.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6885, allocations: 0 / 0.8241 GB, free: 8.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.6885, allocations: 0 / 0.8241 GB, free: 8.918 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.001844/0.6904, allocations: 0.663 MB / 0.8247 GB, free: 8.207 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.6905, allocations: 12.03 kB / 0.8247 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/0.7038, allocations: 0.5931 MB / 0.8253 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007088/0.7046, allocations: 266.6 kB / 0.8256 GB, free: 7.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002121/0.7048, allocations: 127.3 kB / 0.8257 GB, free: 7.152 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.7049, allocations: 20 kB / 0.8257 GB, free: 7.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.7071, allocations: 0.5634 MB / 0.8263 GB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.7071, allocations: 3.375 kB / 0.8263 GB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.7073, allocations: 12 kB / 0.8263 GB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.7073, allocations: 11.98 kB / 0.8263 GB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/0.7103, allocations: 0.626 MB / 0.8269 GB, free: 5.887 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.00522/0.7156, allocations: 1.624 MB / 0.8285 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009824/0.7166, allocations: 161 kB / 0.8286 GB, free: 3.969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003951/0.7171, allocations: 72.83 kB / 0.8287 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003154/0.7202, allocations: 1.327 MB / 0.83 GB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/0.7204, allocations: 42.5 kB / 0.8301 GB, free: 2.324 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.205e-05/0.7204, allocations: 0 / 0.8301 GB, free: 2.324 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=18): time 0.002318/0.7227, allocations: 332.8 kB / 0.8304 GB, free: 1.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.7228, allocations: 59.41 kB / 0.8304 GB, free: 1.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.7231, allocations: 181.9 kB / 0.8306 GB, free: 1.742 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.7232, allocations: 29.7 kB / 0.8306 GB, free: 1.707 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.7234, allocations: 187.3 kB / 0.8308 GB, free: 1.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.134e-05/0.7235, allocations: 63.11 kB / 0.8309 GB, free: 1.457 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.7235, allocations: 4 kB / 0.8309 GB, free: 1.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.7237, allocations: 334.9 kB / 0.8312 GB, free: 1.117 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.724, allocations: 64.7 kB / 0.8312 GB, free: 1.055 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.7244, allocations: 263.8 kB / 0.8315 GB, free: 0.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.7248, allocations: 107.8 kB / 0.8316 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.7248, allocations: 0 / 0.8316 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001002/0.7258, allocations: 366.3 kB / 0.832 GB, free: 244 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.7258, allocations: 8 kB / 0.832 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.7259, allocations: 8 kB / 0.832 GB, free: 228 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.7259, allocations: 8 kB / 0.832 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/0.7267, allocations: 127.8 kB / 0.8321 GB, free: 92 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004792/0.7272, allocations: 0.6055 MB / 0.8327 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.7276, allocations: 51.77 kB / 0.8327 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/0.7277, allocations: 40 kB / 0.8328 GB, free: 15.37 MB / 426.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.0002161/0.728, allocations: 149.6 kB / 0.8329 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.728, allocations: 15.81 kB / 0.8329 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.7293, allocations: 300.3 kB / 0.8332 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.7293, allocations: 3.984 kB / 0.8332 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.7293, allocations: 0 / 0.8332 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.7295, allocations: 120.8 kB / 0.8333 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.576e-05/0.7296, allocations: 3.953 kB / 0.8333 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003963/0.73, allocations: 15.98 kB / 0.8334 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.7301, allocations: 15.97 kB / 0.8334 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007659/0.7309, allocations: 245.6 kB / 0.8336 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007047/0.7316, allocations: 358.5 kB / 0.834 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000156/0.7318, allocations: 43.94 kB / 0.834 GB, free: 14.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001847/0.732, allocations: 141 kB / 0.8341 GB, free: 13.92 MB / 426.7 MB Notification: Performance of Backend: time 2.395e-06/0.732, allocations: 0 / 0.8341 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003233/0.7352, allocations: 0.7214 MB / 0.8348 GB, free: 13.2 MB / 426.7 MB Notification: Performance of SimCode: time 0.001349/0.7366, allocations: 0.9726 MB / 0.8358 GB, free: 12.19 MB / 426.7 MB Notification: Performance of Templates: time 0.02685/0.7635, allocations: 9.474 MB / 0.845 GB, free: 2.734 MB / 426.7 MB "Error: Could not read variable eps in file ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.DryAirNasa_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