Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",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.0008183/0.0008184, allocations: 95.61 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.0008515/0.0008515, allocations: 175.6 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.214/1.214, 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.000421/0.000421, allocations: 12 kB / 281.5 MB, free: 3.301 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09171, allocations: 47.57 MB / 329.1 MB, free: 3.652 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3403/0.432, allocations: 168.3 MB / 497.4 MB, free: 1.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003255/0.4353, allocations: 3.182 MB / 0.4888 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.4355, allocations: 4 kB / 0.4888 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004686/0.436, allocations: 147.2 kB / 0.489 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007089/0.4367, allocations: 388.1 kB / 0.4894 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.4374, allocations: 313 kB / 0.4897 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.4385, allocations: 1.348 MB / 0.491 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.4386, allocations: 76.62 kB / 0.491 GB, free: 12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.4399, allocations: 0.7055 MB / 0.4917 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.4402, allocations: 290.8 kB / 0.492 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.4402, allocations: 12 kB / 0.492 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.4405, allocations: 103.9 kB / 0.4921 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.751e-05/0.4406, allocations: 83.66 kB / 0.4922 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.4408, allocations: 197 kB / 0.4924 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.4412, allocations: 0.4984 MB / 0.4929 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4412, allocations: 0 / 0.4929 GB, free: 10.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4412, allocations: 0 / 0.4929 GB, free: 10.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.4413, allocations: 4 kB / 0.4929 GB, free: 10.11 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.0006407/0.4419, allocations: 0.5114 MB / 0.4934 GB, free: 9.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4419, allocations: 8.031 kB / 0.4934 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.711e-05/0.442, allocations: 64.55 kB / 0.4934 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.4423, allocations: 47.55 kB / 0.4935 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.4426, allocations: 286.4 kB / 0.4938 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.4426, allocations: 24.56 kB / 0.4938 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.4427, allocations: 24 kB / 0.4938 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.4431, allocations: 323.6 kB / 0.4941 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.4431, allocations: 0 / 0.4941 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/0.4432, allocations: 12 kB / 0.4941 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4432, allocations: 8 kB / 0.4941 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.4435, allocations: 209.5 kB / 0.4943 GB, free: 8.492 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.001532/0.445, allocations: 1.581 MB / 0.4959 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.4453, allocations: 179.1 kB / 0.4961 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.4455, allocations: 96.77 kB / 0.4961 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.4455, allocations: 7.984 kB / 0.4962 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.4455, allocations: 42.48 kB / 0.4962 GB, free: 6.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.192e-06/0.4455, allocations: 0 / 0.4962 GB, free: 6.422 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.005105/0.4507, allocations: 1.618 MB / 0.4978 GB, free: 4.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.4507, allocations: 51.41 kB / 0.4978 GB, free: 4.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.4509, allocations: 260.8 kB / 0.4981 GB, free: 4.348 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.451, allocations: 29.7 kB / 0.4981 GB, free: 4.312 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.4511, allocations: 180.2 kB / 0.4983 GB, free: 4.129 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.4512, allocations: 98.62 kB / 0.4984 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.4513, allocations: 33.7 kB / 0.4984 GB, free: 3.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4514, allocations: 342.8 kB / 0.4987 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.4515, allocations: 91.69 kB / 0.4988 GB, free: 3.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.4517, allocations: 187.8 kB / 0.499 GB, free: 3.332 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.4521, allocations: 308.3 kB / 0.4993 GB, free: 2.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4521, allocations: 0 / 0.4993 GB, free: 2.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005752/0.4527, allocations: 395.1 kB / 0.4997 GB, free: 2.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4527, allocations: 8.031 kB / 0.4997 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4527, allocations: 4 kB / 0.4997 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001958/0.4529, allocations: 69.69 kB / 0.4997 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.4533, allocations: 87.83 kB / 0.4998 GB, free: 2.418 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.4545, allocations: 1.86 MB / 0.5016 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.4548, allocations: 28.98 kB / 0.5017 GB, free: 380 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.4548, allocations: 36 kB / 0.5017 GB, free: 344 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.0001663/0.455, allocations: 157.7 kB / 0.5019 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.4551, allocations: 31.66 kB / 0.5019 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009696/0.456, allocations: 439.6 kB / 0.5023 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.456, allocations: 3.938 kB / 0.5023 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4561, allocations: 0 / 0.5023 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005906/0.4567, allocations: 0.5708 MB / 0.5029 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.4577, allocations: 0.7271 MB / 0.5036 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4577, allocations: 3.938 kB / 0.5036 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002862/0.458, allocations: 71.89 kB / 0.5036 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-05/0.4581, allocations: 20.84 kB / 0.5037 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.4581, allocations: 12 kB / 0.5037 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008014/0.4589, allocations: 1.28 MB / 0.5049 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.4589, allocations: 4.031 kB / 0.5049 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.4595, allocations: 490.6 kB / 0.5054 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.4596, allocations: 104.8 kB / 0.5055 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.951e-05/0.4597, allocations: 4 kB / 0.5055 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.4599, allocations: 15.98 kB / 0.5055 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.46, allocations: 35.97 kB / 0.5055 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-05/0.46, allocations: 31.98 kB / 0.5056 GB, free: 12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.4602, allocations: 186 kB / 0.5058 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4602, allocations: 0 / 0.5058 GB, free: 11.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004789/0.4607, allocations: 127.9 kB / 0.5059 GB, free: 11.7 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.001167/0.4619, allocations: 1.059 MB / 0.5069 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005814/0.4625, allocations: 366.4 kB / 0.5073 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.4625, allocations: 4 kB / 0.5073 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.4628, allocations: 227.5 kB / 0.5075 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/0.4637, allocations: 168.3 kB / 0.5076 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.4677, allocations: 3.355 MB / 0.5109 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.468, allocations: 0.7606 MB / 0.5117 GB, free: 5.512 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005525/0.4686, allocations: 118.9 kB / 0.5118 GB, free: 5.395 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.4689, allocations: 127.4 kB / 0.5119 GB, free: 5.273 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4689, allocations: 0 / 0.5119 GB, free: 5.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.998/2.467, allocations: 11.29 MB / 0.5229 GB, free: 9.973 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/2.467, allocations: 255.2 kB / 0.5232 GB, free: 9.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/4.733, allocations: 3.938 kB / 0.5232 GB, free: 9.711 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches