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.001154/0.001154, allocations: 111.8 kB / 17.28 MB, free: 6.199 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.001309/0.001309, allocations: 189.3 kB / 18.2 MB, free: 5.281 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.355/1.355, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001155/0.001155, allocations: 56.12 kB / 280.3 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09796/0.09913, allocations: 46.62 MB / 326.9 MB, free: 4.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3916/0.4908, allocations: 170.4 MB / 497.3 MB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005035/0.4958, allocations: 3.2 MB / 0.4888 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.4961, allocations: 0 / 0.4888 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007262/0.4969, allocations: 151.2 kB / 0.4889 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.4981, allocations: 372 kB / 0.4893 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.4992, allocations: 320.2 kB / 0.4896 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.5005, allocations: 0.8953 MB / 0.4905 GB, free: 7.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.5008, allocations: 105.1 kB / 0.4906 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.5035, allocations: 0.7709 MB / 0.4913 GB, free: 7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004993/0.504, allocations: 298.8 kB / 0.4916 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.5041, allocations: 28 kB / 0.4916 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.5046, allocations: 127.8 kB / 0.4918 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.5047, allocations: 91.72 kB / 0.4919 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.505, allocations: 191.2 kB / 0.492 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008213/0.5059, allocations: 0.5141 MB / 0.4925 GB, free: 5.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5059, allocations: 3.938 kB / 0.4925 GB, free: 5.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5059, allocations: 0 / 0.4925 GB, free: 5.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.5059, allocations: 0 / 0.4925 GB, free: 5.758 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.001142/0.5071, allocations: 0.5932 MB / 0.4931 GB, free: 5.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.5071, allocations: 8.031 kB / 0.4931 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.959e-05/0.5072, allocations: 62.53 kB / 0.4932 GB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.5077, allocations: 39.62 kB / 0.4932 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.5081, allocations: 290.4 kB / 0.4935 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.5082, allocations: 20.56 kB / 0.4935 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/0.5083, allocations: 24 kB / 0.4935 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006862/0.509, allocations: 327.6 kB / 0.4939 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.509, allocations: 0 / 0.4939 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.5091, allocations: 12 kB / 0.4939 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.5091, allocations: 4.812 kB / 0.4939 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004504/0.5095, allocations: 205.6 kB / 0.4941 GB, free: 4.066 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.002386/0.5119, allocations: 1.592 MB / 0.4956 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.5124, allocations: 167.2 kB / 0.4958 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.5127, allocations: 96.77 kB / 0.4959 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.5127, allocations: 11.92 kB / 0.4959 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.5128, allocations: 40.69 kB / 0.4959 GB, free: 1.996 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.5128, allocations: 0 / 0.4959 GB, free: 1.996 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.008329/0.5211, allocations: 1.621 MB / 0.4975 GB, free: 248 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.5212, allocations: 51.41 kB / 0.4976 GB, free: 184 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004127/0.5216, allocations: 252.9 kB / 0.4978 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.865e-05/0.5217, allocations: 29.7 kB / 0.4978 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.5219, allocations: 184.2 kB / 0.498 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.5221, allocations: 94.66 kB / 0.4981 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/0.5223, allocations: 85.38 kB / 0.4982 GB, free: 15.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.5225, allocations: 342.8 kB / 0.4985 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.5228, allocations: 87.95 kB / 0.4986 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.5232, allocations: 187.7 kB / 0.4988 GB, free: 14.86 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/0.5238, allocations: 307.8 kB / 0.4991 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5238, allocations: 0 / 0.4991 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000995/0.5248, allocations: 391.1 kB / 0.4994 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5249, allocations: 4 kB / 0.4994 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5249, allocations: 8 kB / 0.4994 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003172/0.5252, allocations: 73.67 kB / 0.4995 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/0.5258, allocations: 79.91 kB / 0.4996 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/0.5278, allocations: 1.966 MB / 0.5015 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.5282, allocations: 19.91 kB / 0.5015 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.5283, allocations: 39.98 kB / 0.5016 GB, free: 11.77 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.0002661/0.5286, allocations: 154.5 kB / 0.5017 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.5287, allocations: 31.72 kB / 0.5017 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.53, allocations: 441.7 kB / 0.5022 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.53, allocations: 0 / 0.5022 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.53, allocations: 5.438 kB / 0.5022 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007105/0.5308, allocations: 0.5673 MB / 0.5027 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.5322, allocations: 0.7233 MB / 0.5034 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5322, allocations: 0 / 0.5034 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.5326, allocations: 75.89 kB / 0.5035 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.5327, allocations: 24.91 kB / 0.5035 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.5328, allocations: 15.98 kB / 0.5035 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.5342, allocations: 1.383 MB / 0.5049 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5342, allocations: 0 / 0.5049 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007504/0.535, allocations: 494.1 kB / 0.5054 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.992e-05/0.5351, allocations: 104.8 kB / 0.5055 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.5351, allocations: 8 kB / 0.5055 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.5354, allocations: 15.98 kB / 0.5055 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.5355, allocations: 23.97 kB / 0.5055 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.5356, allocations: 31.98 kB / 0.5055 GB, free: 7.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.5358, allocations: 186 kB / 0.5057 GB, free: 7.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5358, allocations: 0 / 0.5057 GB, free: 7.152 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000584/0.5364, allocations: 131.9 kB / 0.5058 GB, free: 7.023 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.001212/0.5376, allocations: 1.054 MB / 0.5069 GB, free: 5.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007157/0.5383, allocations: 394.5 kB / 0.5073 GB, free: 5.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5383, allocations: 4 kB / 0.5073 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.5386, allocations: 226.5 kB / 0.5075 GB, free: 5.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008954/0.5395, allocations: 169.6 kB / 0.5076 GB, free: 5.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.5437, allocations: 3.29 MB / 0.5108 GB, free: 1.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.544, allocations: 0.7606 MB / 0.5116 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005747/0.5446, allocations: 114.9 kB / 0.5117 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.5449, allocations: 131.3 kB / 0.5118 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5449, allocations: 4 kB / 0.5118 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09586/0.6408, allocations: 11.65 MB / 0.5232 GB, free: 4.961 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.6411, allocations: 253.7 kB / 0.5234 GB, free: 4.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/2.724, allocations: 3.938 kB / 0.5234 GB, free: 4.695 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