Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir,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.SimpleAir") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003827/0.003832, allocations: 348.5 kB / 15.94 MB, free: 6.219 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.712/3.712, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003531/0.003532, allocations: 225.1 kB / 397.9 MB, free: 4.973 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.4694/0.4694, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006265/0.0006267, allocations: 12 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09125, allocations: 48.71 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4724/0.5637, allocations: 123.2 MB / 0.7271 GB, free: 5.598 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007661/0.5714, allocations: 4.348 MB / 0.7313 GB, free: 1.262 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001948/0.5717, allocations: 0 / 0.7313 GB, free: 1.262 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.5721, allocations: 43.72 kB / 0.7313 GB, free: 1.219 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.5745, allocations: 0.5984 MB / 0.7319 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.5752, allocations: 151.9 kB / 0.7321 GB, free: 488 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007169/0.5759, allocations: 394.1 kB / 0.7324 GB, free: 92 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.952e-05/0.576, allocations: 13.69 kB / 0.7325 GB, free: 80 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.5763, allocations: 147.4 kB / 0.7326 GB, free: 15.93 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004533/0.5768, allocations: 191.4 kB / 0.7328 GB, free: 15.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.5768, allocations: 8 kB / 0.7328 GB, free: 15.74 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.579, allocations: 0.5927 MB / 0.7334 GB, free: 15.14 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.5791, allocations: 39.83 kB / 0.7334 GB, free: 15.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.5793, allocations: 73.56 kB / 0.7335 GB, free: 15.03 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000857/0.5801, allocations: 289.6 kB / 0.7338 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5802, allocations: 0 / 0.7338 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5802, allocations: 0 / 0.7338 GB, free: 14.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.5802, allocations: 4 kB / 0.7338 GB, free: 14.74 MB / 394.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.001478/0.5817, allocations: 0.5494 MB / 0.7343 GB, free: 14.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5817, allocations: 12.03 kB / 0.7343 GB, free: 14.13 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002252/0.582, allocations: 27.72 kB / 0.7343 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.5824, allocations: 222.8 kB / 0.7345 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.5826, allocations: 127.4 kB / 0.7347 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.5826, allocations: 24 kB / 0.7347 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008342/0.5835, allocations: 335.2 kB / 0.735 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.5835, allocations: 4 kB / 0.735 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/0.5836, allocations: 14.81 kB / 0.735 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/0.5836, allocations: 8 kB / 0.735 GB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.585, allocations: 0.7352 MB / 0.7357 GB, free: 12.57 MB / 394.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.0021/0.5871, allocations: 1.228 MB / 0.7369 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.5877, allocations: 173.2 kB / 0.7371 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.5879, allocations: 89.47 kB / 0.7372 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003558/0.5915, allocations: 2.694 MB / 0.7398 GB, free: 7.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.5916, allocations: 38.56 kB / 0.7399 GB, free: 7.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 3.557e-06/0.5916, allocations: 0 / 0.7399 GB, free: 7.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009093/0.5925, allocations: 216.7 kB / 0.7401 GB, free: 7.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.5926, allocations: 55.41 kB / 0.7401 GB, free: 7.434 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.5929, allocations: 210.6 kB / 0.7403 GB, free: 7.223 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.5929, allocations: 29.7 kB / 0.7404 GB, free: 7.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.5931, allocations: 218.8 kB / 0.7406 GB, free: 6.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.294e-05/0.5932, allocations: 51.34 kB / 0.7406 GB, free: 6.918 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.5932, allocations: 8 kB / 0.7406 GB, free: 6.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5934, allocations: 326.8 kB / 0.7409 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.5935, allocations: 52.83 kB / 0.741 GB, free: 6.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.5939, allocations: 324 kB / 0.7413 GB, free: 6.074 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.5942, allocations: 103.9 kB / 0.7414 GB, free: 5.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5942, allocations: 4 kB / 0.7414 GB, free: 5.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008716/0.5951, allocations: 373.6 kB / 0.7417 GB, free: 5.598 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.5952, allocations: 12.19 kB / 0.7418 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.5952, allocations: 12 kB / 0.7418 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.678e-05/0.5953, allocations: 19.95 kB / 0.7418 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006752/0.5959, allocations: 111.8 kB / 0.7419 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.145e-05/0.596, allocations: 19.94 kB / 0.7419 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.5964, allocations: 15.94 kB / 0.7419 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.5964, allocations: 34.95 kB / 0.742 GB, free: 5.379 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000202/0.5966, allocations: 151.7 kB / 0.7421 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.5967, allocations: 31.28 kB / 0.7421 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004702/0.5972, allocations: 151.7 kB / 0.7423 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.5972, allocations: 7.891 kB / 0.7423 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5972, allocations: 0 / 0.7423 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.5974, allocations: 108.9 kB / 0.7424 GB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.5975, allocations: 4 kB / 0.7424 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.5978, allocations: 11.98 kB / 0.7424 GB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.5979, allocations: 9.297 kB / 0.7424 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004419/0.5983, allocations: 183.9 kB / 0.7426 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004464/0.5988, allocations: 310.4 kB / 0.7429 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.376e-05/0.5989, allocations: 27.64 kB / 0.7429 GB, free: 4.359 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.5991, allocations: 148.5 kB / 0.7431 GB, free: 4.219 MB / 394.7 MB Notification: Performance of Backend: time 8.32e-07/0.5991, allocations: 0 / 0.7431 GB, free: 4.219 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.6005, allocations: 420.6 kB / 0.7435 GB, free: 3.816 MB / 394.7 MB Notification: Performance of SimCode: time 0.001178/0.6017, allocations: 0.9656 MB / 0.7444 GB, free: 2.805 MB / 394.7 MB Notification: Performance of Templates: time 0.01549/0.6172, allocations: 5.017 MB / 0.7493 GB, free: 13.93 MB / 410.7 MB "Error: Could not read variable eps in file ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir_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.p,medium.preferredMediumStates,medium.standardOrderComponents,p,s,s_is,time,u