Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") 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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001058/0.001058, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2022/0.2022, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 71.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1082, allocations: 62.45 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3545/0.4627, allocations: 153 MB / 0.6196 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005351/0.4681, allocations: 5.152 MB / 0.6246 GB, free: 4.516 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4682, allocations: 4 kB / 0.6246 GB, free: 4.512 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.4685, allocations: 55.61 kB / 0.6247 GB, free: 4.457 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.4715, allocations: 1.201 MB / 0.6258 GB, free: 3.254 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.4719, allocations: 139 kB / 0.626 GB, free: 3.121 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005156/0.4724, allocations: 394.1 kB / 0.6264 GB, free: 2.734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.314e-05/0.4725, allocations: 19.5 kB / 0.6264 GB, free: 2.719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.4727, allocations: 159.3 kB / 0.6265 GB, free: 2.562 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.473, allocations: 183.4 kB / 0.6267 GB, free: 2.383 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.473, allocations: 8 kB / 0.6267 GB, free: 2.375 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.4748, allocations: 1.018 MB / 0.6277 GB, free: 1.355 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.302e-05/0.4749, allocations: 47.75 kB / 0.6277 GB, free: 1.309 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.475, allocations: 111.5 kB / 0.6279 GB, free: 1.199 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.4761, allocations: 0.838 MB / 0.6287 GB, free: 372 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4762, allocations: 4 kB / 0.6287 GB, free: 368 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.4762, allocations: 0 / 0.6287 GB, free: 368 kB / 462.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.4762, allocations: 4 kB / 0.6287 GB, free: 364 kB / 462.1 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.001235/0.4774, allocations: 0.6905 MB / 0.6294 GB, free: 15.61 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4775, allocations: 8.031 kB / 0.6294 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007196/0.4847, allocations: 0.6019 MB / 0.6299 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006284/0.4853, allocations: 272.5 kB / 0.6302 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.4855, allocations: 123.4 kB / 0.6303 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/0.4856, allocations: 16 kB / 0.6303 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.4867, allocations: 0.5673 MB / 0.6309 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4867, allocations: 4 kB / 0.6309 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.865e-05/0.4868, allocations: 8 kB / 0.6309 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.4868, allocations: 8 kB / 0.6309 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.4881, allocations: 0.6299 MB / 0.6315 GB, free: 13.29 MB / 478.1 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.001994/0.4901, allocations: 1.718 MB / 0.6332 GB, free: 11.42 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.4905, allocations: 153.7 kB / 0.6334 GB, free: 11.26 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.4906, allocations: 75.89 kB / 0.6334 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006205/0.4912, allocations: 0.7004 MB / 0.6341 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.4913, allocations: 38.56 kB / 0.6341 GB, free: 10.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.4913, allocations: 4 kB / 0.6341 GB, free: 10.34 MB / 478.1 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=17): time 0.0009363/0.4922, allocations: 322.7 kB / 0.6345 GB, free: 10.02 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.4923, allocations: 51.41 kB / 0.6345 GB, free: 9.957 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.4924, allocations: 199.7 kB / 0.6347 GB, free: 9.754 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.4925, allocations: 25.7 kB / 0.6347 GB, free: 9.723 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.929e-05/0.4926, allocations: 187.2 kB / 0.6349 GB, free: 9.531 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.4926, allocations: 59.19 kB / 0.635 GB, free: 9.473 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.4928, allocations: 102 kB / 0.6351 GB, free: 9.367 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4929, allocations: 326.8 kB / 0.6354 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.493, allocations: 72.7 kB / 0.6354 GB, free: 8.969 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.4933, allocations: 260.1 kB / 0.6357 GB, free: 8.621 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.4937, allocations: 371.5 kB / 0.636 GB, free: 8.164 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4937, allocations: 0 / 0.636 GB, free: 8.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000591/0.4943, allocations: 368.5 kB / 0.6364 GB, free: 7.801 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4943, allocations: 12.03 kB / 0.6364 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.4944, allocations: 15.88 kB / 0.6364 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.4944, allocations: 19.92 kB / 0.6364 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.4948, allocations: 123.9 kB / 0.6366 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003336/0.4951, allocations: 0.6016 MB / 0.6371 GB, free: 7.008 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.4954, allocations: 43.53 kB / 0.6372 GB, free: 6.965 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.4954, allocations: 43.98 kB / 0.6372 GB, free: 6.922 MB / 478.1 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.0001286/0.4956, allocations: 145.8 kB / 0.6374 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.4956, allocations: 19.81 kB / 0.6374 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007408/0.4964, allocations: 426.2 kB / 0.6378 GB, free: 6.328 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4964, allocations: 3.984 kB / 0.6378 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4964, allocations: 4 kB / 0.6378 GB, free: 6.32 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4964, allocations: 3.984 kB / 0.6378 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000814/0.4972, allocations: 0.631 MB / 0.6384 GB, free: 5.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4973, allocations: 0 / 0.6384 GB, free: 5.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.4975, allocations: 63.84 kB / 0.6385 GB, free: 5.527 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.4975, allocations: 8.219 kB / 0.6385 GB, free: 5.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.4975, allocations: 11.94 kB / 0.6385 GB, free: 5.508 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000294/0.4978, allocations: 0.5946 MB / 0.6391 GB, free: 4.891 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4978, allocations: 7.969 kB / 0.6391 GB, free: 4.883 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.4982, allocations: 286.2 kB / 0.6394 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.4983, allocations: 108.8 kB / 0.6395 GB, free: 4.441 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.4983, allocations: 11.98 kB / 0.6395 GB, free: 4.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.4986, allocations: 12 kB / 0.6395 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.4986, allocations: 19.92 kB / 0.6395 GB, free: 4.398 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.4986, allocations: 19.98 kB / 0.6395 GB, free: 4.379 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.4988, allocations: 144.2 kB / 0.6397 GB, free: 4.238 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4988, allocations: 0 / 0.6397 GB, free: 4.238 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005656/0.4993, allocations: 155.9 kB / 0.6398 GB, free: 4.086 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0004946/0.4998, allocations: 248 kB / 0.64 GB, free: 3.844 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004653/0.5003, allocations: 220.6 kB / 0.6403 GB, free: 3.633 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5003, allocations: 4.125 kB / 0.6403 GB, free: 3.629 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.5005, allocations: 80.62 kB / 0.6403 GB, free: 3.551 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.501, allocations: 68.47 kB / 0.6404 GB, free: 3.484 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.5022, allocations: 0.6939 MB / 0.6411 GB, free: 2.738 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.5025, allocations: 0.7245 MB / 0.6418 GB, free: 1.988 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005823/0.5031, allocations: 393 kB / 0.6422 GB, free: 1.605 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.5032, allocations: 63.39 kB / 0.6422 GB, free: 1.543 MB / 478.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5033, allocations: 0 / 0.6422 GB, free: 1.543 MB / 478.1 MB Notification: Performance of Templates: time 0.008557/0.5118, allocations: 5.195 MB / 0.6473 GB, free: 12.38 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches