Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00388/0.003886, allocations: 352 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.689/3.689, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00372/0.00372, allocations: 217.2 kB / 397.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4865/0.4865, allocations: 76.08 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008693/0.0008697, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1162, allocations: 48.7 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4772/0.5935, allocations: 137.2 MB / 0.7407 GB, free: 7.547 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03177/0.6253, allocations: 6.353 MB / 0.747 GB, free: 1.207 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.6257, allocations: 0 / 0.747 GB, free: 1.207 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003163/0.6289, allocations: 43.73 kB / 0.747 GB, free: 1.164 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006935/0.6358, allocations: 1.134 MB / 0.7481 GB, free: 32 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000826/0.6367, allocations: 134.5 kB / 0.7482 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.6377, allocations: 418.1 kB / 0.7486 GB, free: 15.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.6378, allocations: 9.688 kB / 0.7486 GB, free: 15.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005066/0.6384, allocations: 155.3 kB / 0.7488 GB, free: 15.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.639, allocations: 178.5 kB / 0.749 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.6391, allocations: 8 kB / 0.749 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004249/0.6434, allocations: 1.022 MB / 0.75 GB, free: 14.13 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.6435, allocations: 47.75 kB / 0.75 GB, free: 14.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.6437, allocations: 65.64 kB / 0.7501 GB, free: 14.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.6456, allocations: 0.6338 MB / 0.7507 GB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.6457, allocations: 7.938 kB / 0.7507 GB, free: 13.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6457, allocations: 0 / 0.7507 GB, free: 13.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.6457, allocations: 0 / 0.7507 GB, free: 13.38 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.002049/0.6478, allocations: 0.6548 MB / 0.7513 GB, free: 12.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.6478, allocations: 8.031 kB / 0.7513 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/0.6612, allocations: 0.5914 MB / 0.7519 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007078/0.662, allocations: 262.1 kB / 0.7522 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.6623, allocations: 129.1 kB / 0.7523 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.6624, allocations: 28 kB / 0.7523 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/0.6645, allocations: 0.5595 MB / 0.7529 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.6645, allocations: 4 kB / 0.7529 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.6647, allocations: 4 kB / 0.7529 GB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/0.6647, allocations: 11.95 kB / 0.7529 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002624/0.6674, allocations: 0.626 MB / 0.7535 GB, free: 10.37 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.003329/0.6707, allocations: 1.635 MB / 0.7551 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.6713, allocations: 158.5 kB / 0.7552 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002329/0.6716, allocations: 83.83 kB / 0.7553 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002109/0.6737, allocations: 1.317 MB / 0.7566 GB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.6738, allocations: 42.69 kB / 0.7567 GB, free: 6.809 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 2.895e-06/0.6738, allocations: 0 / 0.7567 GB, free: 6.809 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.001676/0.6755, allocations: 330.8 kB / 0.757 GB, free: 6.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.6756, allocations: 55.41 kB / 0.757 GB, free: 6.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.6758, allocations: 187.9 kB / 0.7572 GB, free: 6.227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.6759, allocations: 29.7 kB / 0.7572 GB, free: 6.191 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.676, allocations: 179.3 kB / 0.7574 GB, free: 6.012 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.6761, allocations: 69.61 kB / 0.7575 GB, free: 5.945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.6762, allocations: 12 kB / 0.7575 GB, free: 5.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6763, allocations: 326.8 kB / 0.7578 GB, free: 5.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.6766, allocations: 64.64 kB / 0.7579 GB, free: 5.543 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.677, allocations: 258.3 kB / 0.7581 GB, free: 5.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.6773, allocations: 111.8 kB / 0.7582 GB, free: 5.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.6773, allocations: 0 / 0.7582 GB, free: 5.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001082/0.6784, allocations: 362.2 kB / 0.7585 GB, free: 4.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.6785, allocations: 8.156 kB / 0.7586 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.6785, allocations: 12 kB / 0.7586 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/0.6786, allocations: 11.95 kB / 0.7586 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/0.6793, allocations: 123.8 kB / 0.7587 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004903/0.6798, allocations: 0.6016 MB / 0.7593 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.6802, allocations: 47.53 kB / 0.7593 GB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/0.6803, allocations: 40.08 kB / 0.7594 GB, free: 3.867 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 (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.0002196/0.6806, allocations: 151.7 kB / 0.7595 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.6807, allocations: 23.7 kB / 0.7595 GB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.6819, allocations: 304.4 kB / 0.7598 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.682, allocations: 0 / 0.7598 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.682, allocations: 0 / 0.7598 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.6822, allocations: 116.8 kB / 0.7599 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.594e-05/0.6823, allocations: 4 kB / 0.7599 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.6827, allocations: 15.98 kB / 0.76 GB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.6827, allocations: 15.97 kB / 0.76 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007645/0.6835, allocations: 245.6 kB / 0.7602 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007151/0.6843, allocations: 362.3 kB / 0.7606 GB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001551/0.6844, allocations: 43.94 kB / 0.7606 GB, free: 2.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001819/0.6846, allocations: 131.2 kB / 0.7607 GB, free: 2.434 MB / 410.7 MB Notification: Performance of Backend: time 7.82e-07/0.6846, allocations: 0 / 0.7607 GB, free: 2.434 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00313/0.6878, allocations: 0.7206 MB / 0.7614 GB, free: 1.734 MB / 410.7 MB Notification: Performance of SimCode: time 0.001403/0.6892, allocations: 0.9646 MB / 0.7624 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of Templates: time 0.3044/0.9937, allocations: 9.47 MB / 0.7716 GB, free: 134.7 MB / 410.7 MB "Error: Could not read variable eps in file ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.1_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