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.001126/0.001126, allocations: 114.4 kB / 17.28 MB, free: 6.219 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.001262/0.001263, allocations: 193.3 kB / 18.19 MB, free: 5.301 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.402/1.402, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.001252/0.001252, allocations: 56.47 kB / 280.3 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.09082, allocations: 46.64 MB / 326.9 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3476/0.4384, allocations: 170.4 MB / 497.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003468/0.442, allocations: 3.19 MB / 0.4888 GB, free: 9.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.4422, allocations: 4 kB / 0.4888 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.4428, allocations: 151.2 kB / 0.4889 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008189/0.4436, allocations: 376 kB / 0.4893 GB, free: 9.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.4444, allocations: 316.1 kB / 0.4896 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008294/0.4452, allocations: 0.8953 MB / 0.4904 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.4454, allocations: 101.1 kB / 0.4905 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.4471, allocations: 0.773 MB / 0.4913 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.4474, allocations: 294.8 kB / 0.4916 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.4474, allocations: 32 kB / 0.4916 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.4477, allocations: 123.9 kB / 0.4917 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.4478, allocations: 91.72 kB / 0.4918 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.448, allocations: 191.2 kB / 0.492 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.4485, allocations: 0.5102 MB / 0.4925 GB, free: 5.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4485, allocations: 4 kB / 0.4925 GB, free: 5.855 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4486, allocations: 3.938 kB / 0.4925 GB, free: 5.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.4486, allocations: 0 / 0.4925 GB, free: 5.852 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.0008146/0.4494, allocations: 0.5932 MB / 0.4931 GB, free: 5.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4494, allocations: 8.031 kB / 0.4931 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.09e-05/0.4495, allocations: 62.55 kB / 0.4931 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002662/0.4498, allocations: 47.61 kB / 0.4932 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.4501, allocations: 290.4 kB / 0.4935 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.4502, allocations: 16.56 kB / 0.4935 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.4502, allocations: 24 kB / 0.4935 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004981/0.4507, allocations: 323.6 kB / 0.4938 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.4508, allocations: 4 kB / 0.4938 GB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.4508, allocations: 12 kB / 0.4938 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.4508, allocations: 8 kB / 0.4938 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.4511, allocations: 201.6 kB / 0.494 GB, free: 4.156 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.001754/0.4529, allocations: 1.593 MB / 0.4956 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.4532, allocations: 167.2 kB / 0.4957 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.4534, allocations: 104.7 kB / 0.4958 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.602e-05/0.4534, allocations: 4 kB / 0.4958 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.4534, allocations: 34.56 kB / 0.4959 GB, free: 2.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.174e-06/0.4534, allocations: 4 kB / 0.4959 GB, free: 2.086 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.005639/0.4591, allocations: 1.624 MB / 0.4975 GB, free: 340 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.4591, allocations: 59.41 kB / 0.4975 GB, free: 268 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.4594, allocations: 252.9 kB / 0.4978 GB, free: 8 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.4595, allocations: 33.7 kB / 0.4978 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4596, allocations: 172.2 kB / 0.498 GB, free: 15.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.4597, allocations: 98.62 kB / 0.4981 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.4598, allocations: 85.38 kB / 0.4981 GB, free: 15.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4599, allocations: 342.8 kB / 0.4985 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001543/0.4601, allocations: 87.97 kB / 0.4985 GB, free: 15.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.4603, allocations: 191.7 kB / 0.4987 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.4607, allocations: 303.8 kB / 0.499 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4607, allocations: 4 kB / 0.499 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006156/0.4613, allocations: 394.7 kB / 0.4994 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.4613, allocations: 8 kB / 0.4994 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4613, allocations: 7.984 kB / 0.4994 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002177/0.4616, allocations: 65.69 kB / 0.4995 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.4619, allocations: 84.3 kB / 0.4996 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.4632, allocations: 1.95 MB / 0.5015 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.4635, allocations: 31.83 kB / 0.5015 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.4636, allocations: 48.14 kB / 0.5015 GB, free: 11.84 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.0001676/0.4637, allocations: 154.4 kB / 0.5017 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.4638, allocations: 23.72 kB / 0.5017 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000908/0.4647, allocations: 438 kB / 0.5021 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4648, allocations: 4 kB / 0.5021 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.4648, allocations: 0 / 0.5021 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005024/0.4653, allocations: 0.5668 MB / 0.5027 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009184/0.4662, allocations: 0.7287 MB / 0.5034 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4662, allocations: 0 / 0.5034 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.4665, allocations: 67.89 kB / 0.5035 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.019e-05/0.4666, allocations: 20.84 kB / 0.5035 GB, free: 9.672 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.4666, allocations: 12 kB / 0.5035 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008374/0.4675, allocations: 1.383 MB / 0.5048 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4675, allocations: 4.031 kB / 0.5048 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.4681, allocations: 490.6 kB / 0.5053 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.4682, allocations: 100.7 kB / 0.5054 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.4682, allocations: 11.98 kB / 0.5054 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.4685, allocations: 20.06 kB / 0.5054 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.4686, allocations: 23.97 kB / 0.5055 GB, free: 7.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.4686, allocations: 27.98 kB / 0.5055 GB, free: 7.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.4688, allocations: 194 kB / 0.5057 GB, free: 7.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4688, allocations: 0 / 0.5057 GB, free: 7.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004911/0.4693, allocations: 123.9 kB / 0.5058 GB, free: 7.121 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.001103/0.4704, allocations: 1.062 MB / 0.5068 GB, free: 6.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006351/0.471, allocations: 390.2 kB / 0.5072 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4711, allocations: 0.8125 kB / 0.5072 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002622/0.4713, allocations: 234.7 kB / 0.5074 GB, free: 5.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.4722, allocations: 164.1 kB / 0.5076 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.4758, allocations: 3.289 MB / 0.5108 GB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.4762, allocations: 0.7645 MB / 0.5115 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005519/0.4767, allocations: 114.9 kB / 0.5117 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.477, allocations: 135.3 kB / 0.5118 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.477, allocations: 0 / 0.5118 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.5034, allocations: 11.66 MB / 0.5232 GB, free: 5.035 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/0.5038, allocations: 260.1 kB / 0.5234 GB, free: 4.773 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.597, allocations: 8.062 kB / 0.5234 GB, free: 4.766 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