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.0009375/0.0009375, allocations: 93.33 kB / 17.3 MB, free: 6.391 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.001049/0.001049, allocations: 174.9 kB / 18.21 MB, free: 5.551 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.407/1.407, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004624/0.0004625, allocations: 16.25 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09704/0.09751, allocations: 47.58 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3734/0.4709, allocations: 168.4 MB / 497.3 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004343/0.4754, allocations: 3.198 MB / 0.4888 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.4757, allocations: 4 kB / 0.4888 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006613/0.4764, allocations: 135.2 kB / 0.4889 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.4775, allocations: 391.8 kB / 0.4893 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009273/0.4784, allocations: 312.2 kB / 0.4896 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.4797, allocations: 1.344 MB / 0.4909 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.4799, allocations: 76.64 kB / 0.491 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001693/0.4816, allocations: 0.7085 MB / 0.4917 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003767/0.482, allocations: 290.8 kB / 0.492 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.482, allocations: 12 kB / 0.492 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002859/0.4823, allocations: 107.9 kB / 0.4921 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.4824, allocations: 83.66 kB / 0.4922 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.4826, allocations: 189 kB / 0.4923 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005796/0.4832, allocations: 0.4984 MB / 0.4928 GB, free: 10.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4832, allocations: 8 kB / 0.4928 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4832, allocations: 0 / 0.4928 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4833, allocations: 0 / 0.4928 GB, free: 10.15 MB / 398.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.0008384/0.4841, allocations: 0.5151 MB / 0.4933 GB, free: 9.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.4842, allocations: 11.97 kB / 0.4933 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.4844, allocations: 41.44 kB / 0.4934 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.4848, allocations: 290.4 kB / 0.4937 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.4848, allocations: 20.56 kB / 0.4937 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.4849, allocations: 24 kB / 0.4937 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.4854, allocations: 315.7 kB / 0.494 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.4855, allocations: 3.938 kB / 0.494 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.4855, allocations: 15.98 kB / 0.494 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.4855, allocations: 12 kB / 0.494 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.4859, allocations: 205.5 kB / 0.4942 GB, free: 8.602 MB / 398.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.001768/0.4877, allocations: 1.581 MB / 0.4958 GB, free: 6.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.488, allocations: 175.1 kB / 0.4959 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.4881, allocations: 104.8 kB / 0.496 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.4882, allocations: 4 kB / 0.496 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.4882, allocations: 34.56 kB / 0.4961 GB, free: 6.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.4882, allocations: 4 kB / 0.4961 GB, free: 6.535 MB / 398.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.005771/0.494, allocations: 1.622 MB / 0.4977 GB, free: 4.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.4941, allocations: 55.41 kB / 0.4977 GB, free: 4.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.4944, allocations: 252.8 kB / 0.498 GB, free: 4.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.4944, allocations: 41.64 kB / 0.498 GB, free: 4.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.4946, allocations: 176.2 kB / 0.4982 GB, free: 4.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.963e-05/0.4947, allocations: 94.66 kB / 0.4983 GB, free: 4.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.106e-05/0.4947, allocations: 29.7 kB / 0.4983 GB, free: 4.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4949, allocations: 338.8 kB / 0.4986 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.4951, allocations: 91.73 kB / 0.4987 GB, free: 3.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.4953, allocations: 191.7 kB / 0.4989 GB, free: 3.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.4957, allocations: 320.2 kB / 0.4992 GB, free: 3.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4957, allocations: 4 kB / 0.4992 GB, free: 3.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006487/0.4964, allocations: 387.1 kB / 0.4996 GB, free: 2.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4964, allocations: 12.03 kB / 0.4996 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4965, allocations: 4 kB / 0.4996 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002221/0.4967, allocations: 69.67 kB / 0.4996 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.497, allocations: 83.91 kB / 0.4997 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.4985, allocations: 1.86 MB / 0.5015 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.4988, allocations: 21 kB / 0.5016 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/0.4989, allocations: 43.98 kB / 0.5016 GB, free: 452 kB / 398.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.0002172/0.4991, allocations: 149.7 kB / 0.5017 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.4992, allocations: 27.66 kB / 0.5018 GB, free: 264 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009785/0.5002, allocations: 451.7 kB / 0.5022 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.5002, allocations: 4 kB / 0.5022 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.5002, allocations: 0 / 0.5022 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000581/0.5008, allocations: 0.559 MB / 0.5027 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/0.5018, allocations: 0.731 MB / 0.5035 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.5018, allocations: 0 / 0.5035 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.5021, allocations: 71.89 kB / 0.5035 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.95e-05/0.5022, allocations: 24.75 kB / 0.5035 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.5022, allocations: 15.98 kB / 0.5036 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009031/0.5031, allocations: 1.284 MB / 0.5048 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5032, allocations: 0 / 0.5048 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000652/0.5038, allocations: 490.6 kB / 0.5053 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.183e-05/0.5039, allocations: 108.8 kB / 0.5054 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.504, allocations: 8 kB / 0.5054 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.5042, allocations: 20 kB / 0.5054 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.5043, allocations: 23.91 kB / 0.5054 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.5044, allocations: 31.98 kB / 0.5055 GB, free: 12.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.5046, allocations: 194 kB / 0.5057 GB, free: 11.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5046, allocations: 0 / 0.5057 GB, free: 11.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005624/0.5051, allocations: 123.9 kB / 0.5058 GB, free: 11.8 MB / 414.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.0003958/0.5055, allocations: 143.1 kB / 0.5059 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007438/0.5063, allocations: 383.2 kB / 0.5063 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5063, allocations: 0 / 0.5063 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.5066, allocations: 226.5 kB / 0.5065 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.5077, allocations: 154.5 kB / 0.5066 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.5089, allocations: 0.8676 MB / 0.5075 GB, free: 9.984 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.5092, allocations: 0.7684 MB / 0.5082 GB, free: 9.191 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005641/0.5098, allocations: 110.9 kB / 0.5083 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.51, allocations: 67.41 kB / 0.5084 GB, free: 9.016 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.51, allocations: 0 / 0.5084 GB, free: 9.016 MB / 414.1 MB Notification: Performance of Templates: time 0.01408/0.5241, allocations: 8.403 MB / 0.5166 GB, free: 0.6133 MB / 414.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../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