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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008326/0.0008326, allocations: 94.11 kB / 17.3 MB, free: 6.344 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.0008667/0.0008666, allocations: 180 kB / 18.21 MB, free: 5.531 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.136/1.136, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004669/0.0004669, allocations: 12.28 kB / 281.5 MB, free: 3.309 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08113/0.08161, allocations: 47.58 MB / 329.1 MB, free: 3.652 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.2933/0.375, allocations: 168.4 MB / 497.4 MB, free: 1.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.3781, allocations: 3.19 MB / 0.4889 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.3783, allocations: 11.94 kB / 0.4889 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.3787, allocations: 143.2 kB / 0.489 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006579/0.3794, allocations: 383.9 kB / 0.4894 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006464/0.38, allocations: 310.5 kB / 0.4897 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.3811, allocations: 1.355 MB / 0.491 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3812, allocations: 72.66 kB / 0.4911 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.3824, allocations: 0.7007 MB / 0.4918 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.3827, allocations: 286.8 kB / 0.492 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.3828, allocations: 19.98 kB / 0.4921 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.383, allocations: 103.9 kB / 0.4922 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.728e-05/0.3831, allocations: 83.7 kB / 0.4922 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.3832, allocations: 189 kB / 0.4924 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.3837, allocations: 0.5023 MB / 0.4929 GB, free: 9.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3837, allocations: 0 / 0.4929 GB, free: 9.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3837, allocations: 0 / 0.4929 GB, free: 9.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3837, allocations: 0 / 0.4929 GB, free: 9.84 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.0005819/0.3843, allocations: 0.5153 MB / 0.4934 GB, free: 9.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.3843, allocations: 8.031 kB / 0.4934 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.3844, allocations: 68.47 kB / 0.4935 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.3846, allocations: 43.61 kB / 0.4935 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.3849, allocations: 290.3 kB / 0.4938 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.385, allocations: 20.56 kB / 0.4938 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.089e-05/0.385, allocations: 27.98 kB / 0.4939 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.3854, allocations: 327.6 kB / 0.4942 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3855, allocations: 0 / 0.4942 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.3855, allocations: 12 kB / 0.4942 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3855, allocations: 4 kB / 0.4942 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.3858, allocations: 201.6 kB / 0.4944 GB, free: 8.219 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.001451/0.3873, allocations: 1.585 MB / 0.4959 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.3875, allocations: 183 kB / 0.4961 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.3877, allocations: 100.8 kB / 0.4962 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.3877, allocations: 7.938 kB / 0.4962 GB, free: 6.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.3877, allocations: 38.56 kB / 0.4962 GB, free: 6.141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.3877, allocations: 0 / 0.4962 GB, free: 6.141 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.00495/0.3927, allocations: 1.625 MB / 0.4978 GB, free: 4.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.3927, allocations: 55.39 kB / 0.4979 GB, free: 4.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.393, allocations: 256.9 kB / 0.4981 GB, free: 4.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.393, allocations: 29.7 kB / 0.4981 GB, free: 4.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.3931, allocations: 176.2 kB / 0.4983 GB, free: 3.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/0.3932, allocations: 90.66 kB / 0.4984 GB, free: 3.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.3933, allocations: 33.7 kB / 0.4984 GB, free: 3.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3934, allocations: 346.7 kB / 0.4988 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.3935, allocations: 95.75 kB / 0.4989 GB, free: 3.273 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001951/0.3937, allocations: 187.7 kB / 0.499 GB, free: 3.047 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.3941, allocations: 312.3 kB / 0.4993 GB, free: 2.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3941, allocations: 0 / 0.4993 GB, free: 2.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005795/0.3947, allocations: 394.7 kB / 0.4997 GB, free: 2.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3947, allocations: 7.984 kB / 0.4997 GB, free: 2.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3948, allocations: 4 kB / 0.4997 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/0.3949, allocations: 70.09 kB / 0.4998 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.3953, allocations: 87.89 kB / 0.4999 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.3964, allocations: 1.856 MB / 0.5017 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.3966, allocations: 24.77 kB / 0.5017 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.3967, allocations: 36 kB / 0.5017 GB, free: 56 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.0001499/0.3968, allocations: 157.9 kB / 0.5019 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.3969, allocations: 31.66 kB / 0.5019 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008584/0.3978, allocations: 439.6 kB / 0.5023 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3978, allocations: 4 kB / 0.5023 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3978, allocations: 3.938 kB / 0.5024 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004645/0.3982, allocations: 0.5634 MB / 0.5029 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.3991, allocations: 0.731 MB / 0.5036 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3991, allocations: 0 / 0.5036 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.3994, allocations: 75.95 kB / 0.5037 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.174e-05/0.3995, allocations: 16.84 kB / 0.5037 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3995, allocations: 15.98 kB / 0.5037 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007037/0.4002, allocations: 1.288 MB / 0.505 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4002, allocations: 4.031 kB / 0.505 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/0.4008, allocations: 486 kB / 0.5054 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.4009, allocations: 112.8 kB / 0.5056 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.4009, allocations: 4 kB / 0.5056 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.4011, allocations: 15.98 kB / 0.5056 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.4012, allocations: 31.91 kB / 0.5056 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.4012, allocations: 27.98 kB / 0.5056 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.4014, allocations: 190 kB / 0.5058 GB, free: 11.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4014, allocations: 4 kB / 0.5058 GB, free: 11.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004175/0.4018, allocations: 123.9 kB / 0.5059 GB, free: 11.41 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.001002/0.4028, allocations: 1.054 MB / 0.507 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005166/0.4034, allocations: 371.1 kB / 0.5073 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4034, allocations: 4 kB / 0.5073 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.4036, allocations: 226.5 kB / 0.5075 GB, free: 9.703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008934/0.4045, allocations: 152.7 kB / 0.5077 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.4079, allocations: 3.36 MB / 0.511 GB, free: 6.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.4082, allocations: 0.7606 MB / 0.5117 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004817/0.4086, allocations: 118.9 kB / 0.5118 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.4089, allocations: 127.4 kB / 0.5119 GB, free: 4.996 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4089, allocations: 0 / 0.5119 GB, free: 4.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.648/2.057, allocations: 11.28 MB / 0.523 GB, free: 9.699 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/2.057, allocations: 253.1 kB / 0.5232 GB, free: 9.438 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/4.045, allocations: 3.938 kB / 0.5232 GB, free: 9.434 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > 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","../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