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.001184/0.001184, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, 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.2008/0.2008, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 75.23 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1433, allocations: 62.45 MB / 481.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4361/0.5795, allocations: 153 MB / 0.6196 GB, free: 9.684 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006557/0.5861, allocations: 5.145 MB / 0.6246 GB, free: 4.551 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.5864, allocations: 0 / 0.6246 GB, free: 4.551 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.5869, allocations: 59.59 kB / 0.6247 GB, free: 4.492 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.5905, allocations: 1.197 MB / 0.6258 GB, free: 3.293 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.5909, allocations: 151.2 kB / 0.626 GB, free: 3.148 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000576/0.5915, allocations: 394 kB / 0.6264 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.5915, allocations: 11.52 kB / 0.6264 GB, free: 2.754 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.5918, allocations: 171.4 kB / 0.6265 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.5921, allocations: 175.5 kB / 0.6267 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.5921, allocations: 8 kB / 0.6267 GB, free: 2.406 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.5943, allocations: 1.014 MB / 0.6277 GB, free: 1.391 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.5944, allocations: 47.81 kB / 0.6277 GB, free: 1.344 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.5945, allocations: 111.5 kB / 0.6278 GB, free: 1.234 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.5958, allocations: 0.8458 MB / 0.6287 GB, free: 400 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5958, allocations: 0 / 0.6287 GB, free: 400 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5958, allocations: 0 / 0.6287 GB, free: 400 kB / 462.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.5959, allocations: 4 kB / 0.6287 GB, free: 396 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.001251/0.5971, allocations: 0.6788 MB / 0.6293 GB, free: 15.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.5972, allocations: 8.031 kB / 0.6293 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007228/0.6044, allocations: 0.6213 MB / 0.63 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.605, allocations: 259.7 kB / 0.6302 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.6051, allocations: 123.4 kB / 0.6303 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/0.6052, allocations: 24 kB / 0.6303 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.6064, allocations: 0.5595 MB / 0.6309 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6064, allocations: 4 kB / 0.6309 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/0.6065, allocations: 12 kB / 0.6309 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.6065, allocations: 11.94 kB / 0.6309 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.6079, allocations: 0.6221 MB / 0.6315 GB, free: 13.32 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.002149/0.6101, allocations: 1.718 MB / 0.6332 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.6104, allocations: 153.6 kB / 0.6333 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.6105, allocations: 76.81 kB / 0.6334 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006213/0.6112, allocations: 0.7044 MB / 0.6341 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.6112, allocations: 34.56 kB / 0.6341 GB, free: 10.37 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.984e-06/0.6112, allocations: 0 / 0.6341 GB, free: 10.37 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.001022/0.6122, allocations: 326.1 kB / 0.6345 GB, free: 10.05 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.6123, allocations: 63.34 kB / 0.6345 GB, free: 9.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.6125, allocations: 191.7 kB / 0.6347 GB, free: 9.785 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.6125, allocations: 33.7 kB / 0.6347 GB, free: 9.746 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.6126, allocations: 187.2 kB / 0.6349 GB, free: 9.555 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.6127, allocations: 63.17 kB / 0.635 GB, free: 9.492 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.6128, allocations: 89.97 kB / 0.6351 GB, free: 9.398 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6129, allocations: 330.8 kB / 0.6354 GB, free: 9.066 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.6131, allocations: 68.72 kB / 0.6354 GB, free: 9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/0.6134, allocations: 264 kB / 0.6357 GB, free: 8.648 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.6138, allocations: 371.7 kB / 0.636 GB, free: 8.191 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6138, allocations: 7.938 kB / 0.636 GB, free: 8.184 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005824/0.6144, allocations: 372.1 kB / 0.6364 GB, free: 7.816 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.6144, allocations: 12.16 kB / 0.6364 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.6144, allocations: 8 kB / 0.6364 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.6145, allocations: 11.94 kB / 0.6364 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.6149, allocations: 123.8 kB / 0.6366 GB, free: 7.664 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004836/0.6154, allocations: 0.6016 MB / 0.6371 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.6157, allocations: 46.16 kB / 0.6372 GB, free: 6.996 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.6157, allocations: 43.98 kB / 0.6372 GB, free: 6.953 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.0001647/0.6159, allocations: 153.7 kB / 0.6374 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.616, allocations: 15.81 kB / 0.6374 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008168/0.6168, allocations: 427.8 kB / 0.6378 GB, free: 6.355 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6168, allocations: 0 / 0.6378 GB, free: 6.355 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6168, allocations: 0 / 0.6378 GB, free: 6.355 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6168, allocations: 0 / 0.6378 GB, free: 6.355 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000989/0.6178, allocations: 0.6304 MB / 0.6384 GB, free: 5.629 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.6178, allocations: 7.938 kB / 0.6384 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.6181, allocations: 63.89 kB / 0.6385 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.6181, allocations: 224 / 0.6385 GB, free: 5.559 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.6181, allocations: 12.75 kB / 0.6385 GB, free: 5.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003408/0.6185, allocations: 0.6015 MB / 0.6391 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6185, allocations: 0 / 0.6391 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.6189, allocations: 293.3 kB / 0.6394 GB, free: 4.598 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.619, allocations: 108.8 kB / 0.6395 GB, free: 4.473 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.6191, allocations: 4.875 kB / 0.6395 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.6193, allocations: 15.98 kB / 0.6395 GB, free: 4.453 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.6193, allocations: 15.98 kB / 0.6395 GB, free: 4.438 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.6194, allocations: 23.98 kB / 0.6395 GB, free: 4.414 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.6195, allocations: 136.2 kB / 0.6396 GB, free: 4.281 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6195, allocations: 0 / 0.6396 GB, free: 4.281 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000651/0.6202, allocations: 159.9 kB / 0.6398 GB, free: 4.125 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.000547/0.6207, allocations: 241.3 kB / 0.64 GB, free: 3.887 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005015/0.6212, allocations: 227.9 kB / 0.6402 GB, free: 3.668 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.6212, allocations: 4.5 kB / 0.6403 GB, free: 3.664 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.6214, allocations: 83.83 kB / 0.6403 GB, free: 3.582 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.622, allocations: 61.02 kB / 0.6404 GB, free: 3.523 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.6233, allocations: 0.6977 MB / 0.6411 GB, free: 2.773 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.6236, allocations: 0.7285 MB / 0.6418 GB, free: 2.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000626/0.6243, allocations: 393.1 kB / 0.6422 GB, free: 1.637 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.6244, allocations: 55.39 kB / 0.6422 GB, free: 1.582 MB / 478.1 MB Notification: Performance of SimCode: time 6.72e-07/0.6244, allocations: 0 / 0.6422 GB, free: 1.582 MB / 478.1 MB Notification: Performance of Templates: time 0.009338/0.6338, allocations: 5.196 MB / 0.6473 GB, free: 12.41 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 cvode -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