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.001736/0.001736, allocations: 107.1 kB / 17.59 MB, free: 5.543 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.001818/0.001819, allocations: 192 kB / 18.51 MB, free: 4.625 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.319/1.319, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001383/0.001383, allocations: 52.39 kB / 280.8 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08103/0.08243, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3596/0.4421, allocations: 172.7 MB / 0.4884 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.4462, allocations: 3.217 MB / 0.4916 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003227/0.4465, allocations: 4 kB / 0.4916 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.4472, allocations: 170.9 kB / 0.4917 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.4482, allocations: 407.6 kB / 0.4921 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009183/0.4492, allocations: 344.8 kB / 0.4924 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.4503, allocations: 0.8991 MB / 0.4933 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002213/0.4505, allocations: 109.1 kB / 0.4934 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.4526, allocations: 0.7862 MB / 0.4942 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.4531, allocations: 270.9 kB / 0.4944 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.507e-05/0.4532, allocations: 32 kB / 0.4945 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/0.4535, allocations: 127.9 kB / 0.4946 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.4537, allocations: 95.7 kB / 0.4947 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000216/0.4539, allocations: 179.3 kB / 0.4949 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005725/0.4545, allocations: 0.5141 MB / 0.4954 GB, free: 3.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4545, allocations: 3.938 kB / 0.4954 GB, free: 3.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4545, allocations: 0 / 0.4954 GB, free: 3.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.4545, allocations: 4 kB / 0.4954 GB, free: 3.004 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.0008951/0.4554, allocations: 0.5932 MB / 0.4959 GB, free: 2.363 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4555, allocations: 8.031 kB / 0.496 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.4556, allocations: 58.55 kB / 0.496 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.4559, allocations: 47.42 kB / 0.4961 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.4563, allocations: 290.4 kB / 0.4963 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.4563, allocations: 20.56 kB / 0.4964 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.4563, allocations: 28 kB / 0.4964 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004594/0.4568, allocations: 315.6 kB / 0.4967 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.4568, allocations: 4 kB / 0.4967 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.4569, allocations: 12 kB / 0.4967 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4569, allocations: 4 kB / 0.4967 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.4572, allocations: 213.5 kB / 0.4969 GB, free: 1.312 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.001756/0.4589, allocations: 1.593 MB / 0.4985 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.4593, allocations: 171.8 kB / 0.4986 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.4594, allocations: 100.8 kB / 0.4987 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.4594, allocations: 4 kB / 0.4987 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.4595, allocations: 38.56 kB / 0.4988 GB, free: 15.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.4595, allocations: 4 kB / 0.4988 GB, free: 15.24 MB / 414.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.005716/0.4652, allocations: 1.619 MB / 0.5003 GB, free: 13.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.4653, allocations: 59.41 kB / 0.5004 GB, free: 13.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.4656, allocations: 252.9 kB / 0.5006 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.4657, allocations: 33.64 kB / 0.5007 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.4658, allocations: 176.2 kB / 0.5008 GB, free: 12.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.431e-05/0.4659, allocations: 94.66 kB / 0.5009 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.466, allocations: 89.38 kB / 0.501 GB, free: 12.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.4662, allocations: 334.8 kB / 0.5013 GB, free: 12.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.4664, allocations: 91.95 kB / 0.5014 GB, free: 12.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.4666, allocations: 187.8 kB / 0.5016 GB, free: 12.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.467, allocations: 303.8 kB / 0.5019 GB, free: 11.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.467, allocations: 0 / 0.5019 GB, free: 11.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006429/0.4677, allocations: 398.8 kB / 0.5023 GB, free: 11.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4677, allocations: 4 kB / 0.5023 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.4677, allocations: 4 kB / 0.5023 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.468, allocations: 77.61 kB / 0.5024 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.4683, allocations: 84.27 kB / 0.5024 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.4699, allocations: 1.954 MB / 0.5043 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.4701, allocations: 8 kB / 0.5044 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.4702, allocations: 40 kB / 0.5044 GB, free: 9.023 MB / 414.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.0001695/0.4703, allocations: 166.7 kB / 0.5046 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.682e-05/0.4704, allocations: 27.62 kB / 0.5046 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009384/0.4714, allocations: 433.8 kB / 0.505 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4714, allocations: 8 kB / 0.505 GB, free: 8.379 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.4714, allocations: 4 kB / 0.505 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006393/0.472, allocations: 0.5591 MB / 0.5055 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009755/0.473, allocations: 0.7387 MB / 0.5063 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.473, allocations: 0 / 0.5063 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.4733, allocations: 71.89 kB / 0.5063 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.511e-05/0.4734, allocations: 20.91 kB / 0.5064 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.4734, allocations: 12 kB / 0.5064 GB, free: 6.816 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.4747, allocations: 1.378 MB / 0.5077 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4748, allocations: 4.031 kB / 0.5077 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.4754, allocations: 486.5 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.4755, allocations: 96.86 kB / 0.5083 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.4756, allocations: 11.94 kB / 0.5083 GB, free: 4.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.4758, allocations: 15.92 kB / 0.5083 GB, free: 4.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.4759, allocations: 23.97 kB / 0.5083 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.4759, allocations: 31.98 kB / 0.5084 GB, free: 4.598 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002172/0.4761, allocations: 186 kB / 0.5085 GB, free: 4.418 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4761, allocations: 4.062 kB / 0.5085 GB, free: 4.414 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005204/0.4767, allocations: 124 kB / 0.5087 GB, free: 4.293 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.001192/0.4779, allocations: 1.058 MB / 0.5097 GB, free: 3.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007018/0.4786, allocations: 395.2 kB / 0.5101 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.4786, allocations: 4 kB / 0.5101 GB, free: 2.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.4789, allocations: 226.5 kB / 0.5103 GB, free: 2.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008984/0.4798, allocations: 180.5 kB / 0.5105 GB, free: 2.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.484, allocations: 3.184 MB / 0.5136 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.4844, allocations: 0.7645 MB / 0.5143 GB, free: 14.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000538/0.485, allocations: 110.9 kB / 0.5144 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.4853, allocations: 131.4 kB / 0.5145 GB, free: 14 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4853, allocations: 0 / 0.5145 GB, free: 14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05361/0.5389, allocations: 11.76 MB / 0.526 GB, free: 2.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.88, allocations: 8.469 kB / 0.526 GB, free: 2.152 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","/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