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.001099/0.001099, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.0009858/0.0009859, allocations: 198 kB / 18.07 MB, free: 5.41 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.277/1.277, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.00108/0.00108, allocations: 43.94 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1067, allocations: 46.63 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3052/0.412, allocations: 170.6 MB / 497.3 MB, free: 12.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003549/0.4156, allocations: 3.221 MB / 0.4888 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.4158, allocations: 0 / 0.4888 GB, free: 9.566 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.4163, allocations: 147.2 kB / 0.4889 GB, free: 9.422 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006941/0.4171, allocations: 395.9 kB / 0.4893 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006722/0.4177, allocations: 317 kB / 0.4896 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.4188, allocations: 1.344 MB / 0.4909 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.419, allocations: 80.64 kB / 0.491 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001391/0.4204, allocations: 0.7108 MB / 0.4917 GB, free: 6.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.4207, allocations: 298.8 kB / 0.492 GB, free: 6.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.891e-05/0.4208, allocations: 16 kB / 0.492 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.421, allocations: 107.8 kB / 0.4921 GB, free: 6.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.4211, allocations: 87.7 kB / 0.4922 GB, free: 6.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.4213, allocations: 171.3 kB / 0.4923 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.4218, allocations: 0.5024 MB / 0.4928 GB, free: 5.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4219, allocations: 0 / 0.4928 GB, free: 5.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4219, allocations: 0 / 0.4928 GB, free: 5.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.4219, allocations: 3.938 kB / 0.4928 GB, free: 5.414 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.0008106/0.4227, allocations: 0.5894 MB / 0.4934 GB, free: 4.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.4227, allocations: 12.03 kB / 0.4934 GB, free: 4.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.079e-05/0.4228, allocations: 61.92 kB / 0.4935 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.4231, allocations: 47.61 kB / 0.4935 GB, free: 4.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/0.4234, allocations: 282.4 kB / 0.4938 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.4234, allocations: 16.56 kB / 0.4938 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.4235, allocations: 24 kB / 0.4938 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.424, allocations: 327.6 kB / 0.4941 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.424, allocations: 0 / 0.4941 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.424, allocations: 12 kB / 0.4942 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.4241, allocations: 8 kB / 0.4942 GB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.4244, allocations: 209.5 kB / 0.4944 GB, free: 3.723 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.001612/0.426, allocations: 1.577 MB / 0.4959 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.4263, allocations: 167.1 kB / 0.4961 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.4264, allocations: 100.8 kB / 0.4962 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.4265, allocations: 15.98 kB / 0.4962 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.4265, allocations: 30.56 kB / 0.4962 GB, free: 1.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.4265, allocations: 0 / 0.4962 GB, free: 1.668 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.00525/0.4318, allocations: 1.622 MB / 0.4978 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.4318, allocations: 63.34 kB / 0.4978 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.4321, allocations: 252.9 kB / 0.4981 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.4321, allocations: 33.7 kB / 0.4981 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.4322, allocations: 176.2 kB / 0.4983 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.4323, allocations: 94.64 kB / 0.4984 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.4324, allocations: 85.38 kB / 0.4985 GB, free: 15.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.4325, allocations: 342.8 kB / 0.4988 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.4327, allocations: 91.89 kB / 0.4989 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.4329, allocations: 183.8 kB / 0.499 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.4333, allocations: 312.3 kB / 0.4993 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4333, allocations: 4 kB / 0.4993 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005753/0.4338, allocations: 390.7 kB / 0.4997 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4339, allocations: 8 kB / 0.4997 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.4339, allocations: 4 kB / 0.4997 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.4341, allocations: 77.61 kB / 0.4998 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.4344, allocations: 75.91 kB / 0.4999 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.4356, allocations: 1.864 MB / 0.5017 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.4358, allocations: 23.91 kB / 0.5017 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.4359, allocations: 39.97 kB / 0.5018 GB, free: 11.53 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.0001576/0.436, allocations: 157.7 kB / 0.5019 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.4361, allocations: 35.75 kB / 0.5019 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008588/0.437, allocations: 429.3 kB / 0.5024 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.437, allocations: 0 / 0.5024 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.437, allocations: 8.812 kB / 0.5024 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005186/0.4375, allocations: 0.5591 MB / 0.5029 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008897/0.4384, allocations: 0.731 MB / 0.5036 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.4384, allocations: 0 / 0.5036 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.4387, allocations: 67.95 kB / 0.5037 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.858e-05/0.4388, allocations: 28.84 kB / 0.5037 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.675e-05/0.4388, allocations: 16 kB / 0.5037 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007884/0.4396, allocations: 1.276 MB / 0.505 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4397, allocations: 7.875 kB / 0.505 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.4403, allocations: 478.6 kB / 0.5054 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.4403, allocations: 96.86 kB / 0.5055 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.4404, allocations: 4 kB / 0.5055 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.4406, allocations: 24.02 kB / 0.5056 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.4407, allocations: 35.84 kB / 0.5056 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.4408, allocations: 31.98 kB / 0.5056 GB, free: 7.215 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.4409, allocations: 186 kB / 0.5058 GB, free: 7.035 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4409, allocations: 0 / 0.5058 GB, free: 7.035 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.4414, allocations: 127.9 kB / 0.5059 GB, free: 6.91 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.001115/0.4425, allocations: 1.058 MB / 0.507 GB, free: 5.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005771/0.4431, allocations: 371.4 kB / 0.5073 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4431, allocations: 0 / 0.5073 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.4434, allocations: 238.4 kB / 0.5075 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008809/0.4443, allocations: 172.4 kB / 0.5077 GB, free: 5.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.448, allocations: 3.29 MB / 0.5109 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.4483, allocations: 0.7606 MB / 0.5117 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000526/0.4488, allocations: 114.9 kB / 0.5118 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.4491, allocations: 131.4 kB / 0.5119 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4491, allocations: 0 / 0.5119 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.4716, allocations: 11.39 MB / 0.523 GB, free: 5.102 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.4719, allocations: 259.9 kB / 0.5233 GB, free: 4.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.405, allocations: 0 / 0.5233 GB, free: 4.84 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