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.001519/0.001519, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001827/0.001827, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2144/0.2144, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 83 kB / 418.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1168, allocations: 62.45 MB / 480.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.3548/0.4717, allocations: 153 MB / 0.6189 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005698/0.4774, allocations: 5.139 MB / 0.6239 GB, free: 5.105 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.4776, allocations: 0 / 0.6239 GB, free: 5.105 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.478, allocations: 59.59 kB / 0.6239 GB, free: 5.047 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003452/0.4815, allocations: 1.205 MB / 0.6251 GB, free: 3.844 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.4818, allocations: 147.4 kB / 0.6252 GB, free: 3.703 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005502/0.4824, allocations: 390.2 kB / 0.6256 GB, free: 3.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.4824, allocations: 13.67 kB / 0.6256 GB, free: 3.309 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.4827, allocations: 167.3 kB / 0.6258 GB, free: 3.145 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.483, allocations: 171.5 kB / 0.626 GB, free: 2.977 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.4831, allocations: 8 kB / 0.626 GB, free: 2.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.4851, allocations: 0.9831 MB / 0.6269 GB, free: 1.984 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.4852, allocations: 43.77 kB / 0.627 GB, free: 1.941 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.4854, allocations: 107.5 kB / 0.6271 GB, free: 1.836 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.4868, allocations: 0.842 MB / 0.6279 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.4869, allocations: 7.984 kB / 0.6279 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4869, allocations: 0 / 0.6279 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.4869, allocations: 0 / 0.6279 GB, free: 0.9844 MB / 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.001349/0.4882, allocations: 0.6889 MB / 0.6286 GB, free: 252 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.4883, allocations: 12.03 kB / 0.6286 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008028/0.4963, allocations: 0.602 MB / 0.6292 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.4968, allocations: 263.7 kB / 0.6294 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.497, allocations: 127.4 kB / 0.6295 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/0.4971, allocations: 24 kB / 0.6296 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.4983, allocations: 0.5595 MB / 0.6301 GB, free: 14.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4983, allocations: 3.938 kB / 0.6301 GB, free: 14.56 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/0.4984, allocations: 12 kB / 0.6301 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.4984, allocations: 8 kB / 0.6301 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.5, allocations: 0.626 MB / 0.6307 GB, free: 13.91 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.002176/0.5022, allocations: 1.722 MB / 0.6324 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.5025, allocations: 150.5 kB / 0.6326 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.5027, allocations: 76.88 kB / 0.6326 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007092/0.5034, allocations: 0.7005 MB / 0.6333 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.5035, allocations: 34.56 kB / 0.6334 GB, free: 10.97 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 4.388e-06/0.5035, allocations: 0 / 0.6334 GB, free: 10.97 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.001042/0.5045, allocations: 325 kB / 0.6337 GB, free: 10.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.5046, allocations: 55.41 kB / 0.6337 GB, free: 10.58 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.5048, allocations: 203.7 kB / 0.6339 GB, free: 10.37 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.5048, allocations: 25.7 kB / 0.6339 GB, free: 10.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.5049, allocations: 191.2 kB / 0.6341 GB, free: 10.14 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.505, allocations: 59.2 kB / 0.6342 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.5051, allocations: 102 kB / 0.6343 GB, free: 9.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5052, allocations: 318.8 kB / 0.6346 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.5054, allocations: 68.7 kB / 0.6346 GB, free: 9.594 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000264/0.5057, allocations: 268 kB / 0.6349 GB, free: 9.238 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.5062, allocations: 367.6 kB / 0.6353 GB, free: 8.785 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.5062, allocations: 7.938 kB / 0.6353 GB, free: 8.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006316/0.5068, allocations: 367.8 kB / 0.6356 GB, free: 8.414 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5068, allocations: 10.5 kB / 0.6356 GB, free: 8.406 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5069, allocations: 8 kB / 0.6356 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.5069, allocations: 11.94 kB / 0.6356 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.5073, allocations: 127.8 kB / 0.6358 GB, free: 8.262 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003817/0.5077, allocations: 0.6022 MB / 0.6364 GB, free: 7.637 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.5079, allocations: 51.52 kB / 0.6364 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/0.508, allocations: 40 kB / 0.6364 GB, free: 7.547 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.0001569/0.5082, allocations: 149.6 kB / 0.6366 GB, free: 7.391 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.5082, allocations: 15.81 kB / 0.6366 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009704/0.5092, allocations: 439.5 kB / 0.637 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.5092, allocations: 3.984 kB / 0.637 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5093, allocations: 0 / 0.637 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5093, allocations: 0 / 0.637 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009118/0.5102, allocations: 0.6278 MB / 0.6376 GB, free: 6.215 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.5102, allocations: 4 kB / 0.6376 GB, free: 6.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.5104, allocations: 55.97 kB / 0.6377 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.5104, allocations: 4 kB / 0.6377 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.5105, allocations: 7.984 kB / 0.6377 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003779/0.5109, allocations: 0.6053 MB / 0.6383 GB, free: 5.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5109, allocations: 4 kB / 0.6383 GB, free: 5.516 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.5113, allocations: 293.2 kB / 0.6386 GB, free: 5.191 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.5114, allocations: 116.8 kB / 0.6387 GB, free: 5.059 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.5115, allocations: 8 kB / 0.6387 GB, free: 5.051 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.5117, allocations: 4 kB / 0.6387 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.5118, allocations: 19.97 kB / 0.6387 GB, free: 5.027 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.5118, allocations: 16 kB / 0.6387 GB, free: 5.012 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.512, allocations: 144.2 kB / 0.6389 GB, free: 4.871 MB / 478.1 MB Notification: Performance of sort global known variables: time 2e-07/0.512, allocations: 0 / 0.6389 GB, free: 4.871 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006989/0.5127, allocations: 159.9 kB / 0.639 GB, free: 4.715 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.0006338/0.5133, allocations: 252.6 kB / 0.6393 GB, free: 4.465 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005387/0.5139, allocations: 226.6 kB / 0.6395 GB, free: 4.246 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5139, allocations: 0 / 0.6395 GB, free: 4.246 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.5141, allocations: 81.33 kB / 0.6396 GB, free: 4.168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.5146, allocations: 64.61 kB / 0.6396 GB, free: 4.105 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5161, allocations: 0.719 MB / 0.6403 GB, free: 3.328 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.5164, allocations: 0.7245 MB / 0.641 GB, free: 2.578 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.5167, allocations: 95.28 kB / 0.6411 GB, free: 2.484 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5167, allocations: 0 / 0.6411 GB, free: 2.484 MB / 478.1 MB Notification: Performance of Templates: time 0.008272/0.525, allocations: 5.332 MB / 0.6463 GB, free: 13.16 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 -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