Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 109.4 kB / 18.4 MB, free: 4.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 189.2 kB / 19.33 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 51.92 kB / 329.2 MB, free: 3.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0873/0.08867, allocations: 46.61 MB / 375.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3896/0.4783, allocations: 172.8 MB / 0.5358 GB, free: 2.297 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004352/0.4827, allocations: 3.217 MB / 0.5389 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.4832, allocations: 7.938 kB / 0.5389 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007951/0.4841, allocations: 174.9 kB / 0.5391 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001201/0.4853, allocations: 407.2 kB / 0.5395 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.4863, allocations: 350.4 kB / 0.5398 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.4876, allocations: 0.8915 MB / 0.5407 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.4878, allocations: 100.7 kB / 0.5408 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.49, allocations: 0.7898 MB / 0.5415 GB, free: 12.37 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.4905, allocations: 270.9 kB / 0.5418 GB, free: 12.1 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-05/0.4906, allocations: 32 kB / 0.5418 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.491, allocations: 123.9 kB / 0.5419 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.4912, allocations: 99.66 kB / 0.542 GB, free: 11.85 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.4914, allocations: 187.3 kB / 0.5422 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.4922, allocations: 0.5102 MB / 0.5427 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4922, allocations: 4 kB / 0.5427 GB, free: 11.15 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4922, allocations: 0 / 0.5427 GB, free: 11.15 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.4922, allocations: 0 / 0.5427 GB, free: 11.15 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001002/0.4932, allocations: 0.5892 MB / 0.5433 GB, free: 10.51 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4933, allocations: 11.89 kB / 0.5433 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/0.4936, allocations: 43.61 kB / 0.5433 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.4941, allocations: 306.3 kB / 0.5436 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.4942, allocations: 16.56 kB / 0.5436 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.4942, allocations: 27.98 kB / 0.5437 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.4947, allocations: 319.7 kB / 0.544 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.4948, allocations: 3.938 kB / 0.544 GB, free: 9.734 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.4948, allocations: 12 kB / 0.544 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.4948, allocations: 8 kB / 0.544 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.4952, allocations: 205.5 kB / 0.5442 GB, free: 9.516 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.001953/0.4971, allocations: 1.586 MB / 0.5457 GB, free: 7.781 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.4974, allocations: 175.1 kB / 0.5459 GB, free: 7.602 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.4976, allocations: 99.42 kB / 0.546 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.4976, allocations: 4 kB / 0.546 GB, free: 7.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.4977, allocations: 38.56 kB / 0.5461 GB, free: 7.453 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 2.595e-06/0.4977, allocations: 0 / 0.5461 GB, free: 7.453 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005536/0.5032, allocations: 1.614 MB / 0.5476 GB, free: 5.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.5033, allocations: 59.39 kB / 0.5477 GB, free: 5.637 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.5036, allocations: 252.9 kB / 0.5479 GB, free: 5.383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.5036, allocations: 29.7 kB / 0.548 GB, free: 5.348 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.5038, allocations: 184.2 kB / 0.5481 GB, free: 5.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.5039, allocations: 90.64 kB / 0.5482 GB, free: 5.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.504, allocations: 81.69 kB / 0.5483 GB, free: 4.984 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5041, allocations: 338.8 kB / 0.5486 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.5043, allocations: 83.97 kB / 0.5487 GB, free: 4.562 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.5045, allocations: 199.7 kB / 0.5489 GB, free: 4.324 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.505, allocations: 305.1 kB / 0.5492 GB, free: 3.984 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.505, allocations: 0 / 0.5492 GB, free: 3.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006863/0.5057, allocations: 403 kB / 0.5496 GB, free: 3.578 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.5057, allocations: 12.02 kB / 0.5496 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5057, allocations: 4 kB / 0.5496 GB, free: 3.562 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.506, allocations: 69.69 kB / 0.5496 GB, free: 3.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.5063, allocations: 83.89 kB / 0.5497 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.5079, allocations: 1.949 MB / 0.5516 GB, free: 1.297 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.5081, allocations: 16.19 kB / 0.5516 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.5082, allocations: 39.98 kB / 0.5517 GB, free: 1.242 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.5084, allocations: 158.4 kB / 0.5518 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.5085, allocations: 23.72 kB / 0.5519 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008675/0.5094, allocations: 452.9 kB / 0.5523 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5094, allocations: 4 kB / 0.5523 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5094, allocations: 3.938 kB / 0.5523 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1972/0.7066, allocations: 0.5556 MB / 0.5528 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.7079, allocations: 0.7336 MB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.7079, allocations: 1.875 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.7082, allocations: 67.8 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.531e-05/0.7083, allocations: 25.52 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.7084, allocations: 11.91 kB / 0.5537 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006744/0.7091, allocations: 1.379 MB / 0.555 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.7091, allocations: 4.25 kB / 0.555 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.7097, allocations: 477.1 kB / 0.5555 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.7098, allocations: 104.6 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.538e-05/0.7099, allocations: 6.938 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.7101, allocations: 8.453 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.7102, allocations: 28.8 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.057e-05/0.7102, allocations: 33.97 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.7104, allocations: 192.7 kB / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7104, allocations: 0 / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006135/0.7111, allocations: 118.3 kB / 0.5559 GB, free: 168.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003969/0.7115, allocations: 157.7 kB / 0.5561 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008262/0.7123, allocations: 376.8 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7123, allocations: 0.5938 kB / 0.5564 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002902/0.7126, allocations: 231.3 kB / 0.5567 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009458/0.7136, allocations: 170.8 kB / 0.5568 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.7148, allocations: 0.715 MB / 0.5575 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.7151, allocations: 0.764 MB / 0.5583 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.7153, allocations: 81.45 kB / 0.5583 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.7153, allocations: 0 / 0.5583 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.01363/0.7289, allocations: 7.556 MB / 0.5657 GB, free: 166.2 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches