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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 95.27 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.001087/0.001087, allocations: 172 kB / 18.2 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.458/1.458, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004917/0.0004917, allocations: 16.28 kB / 281.4 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1132, allocations: 47.58 MB / 329 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4233/0.5366, allocations: 168.3 MB / 497.3 MB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00501/0.5416, allocations: 3.182 MB / 0.4887 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/0.5422, allocations: 4 kB / 0.4887 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007549/0.543, allocations: 131.2 kB / 0.4889 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.5442, allocations: 403.7 kB / 0.4893 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009624/0.5452, allocations: 320.2 kB / 0.4896 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001817/0.5471, allocations: 1.344 MB / 0.4909 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.5473, allocations: 72.64 kB / 0.4909 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/0.5498, allocations: 0.7132 MB / 0.4916 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.5504, allocations: 290.9 kB / 0.4919 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.5505, allocations: 16 kB / 0.4919 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.5509, allocations: 99.81 kB / 0.492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.551, allocations: 83.7 kB / 0.4921 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.5514, allocations: 193 kB / 0.4923 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007093/0.5521, allocations: 0.5022 MB / 0.4928 GB, free: 10.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5521, allocations: 4 kB / 0.4928 GB, free: 10.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5521, allocations: 0 / 0.4928 GB, free: 10.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.5521, allocations: 0 / 0.4928 GB, free: 10.2 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.0009595/0.5531, allocations: 0.5112 MB / 0.4933 GB, free: 9.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.5532, allocations: 15.97 kB / 0.4933 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.5536, allocations: 40.5 kB / 0.4933 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.5541, allocations: 282.4 kB / 0.4936 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.5541, allocations: 24.56 kB / 0.4936 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.5542, allocations: 24 kB / 0.4937 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.5547, allocations: 319.7 kB / 0.494 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.5548, allocations: 3.938 kB / 0.494 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/0.5548, allocations: 12 kB / 0.494 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.5548, allocations: 11.98 kB / 0.494 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.5552, allocations: 205.5 kB / 0.4942 GB, free: 8.656 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.002269/0.5575, allocations: 1.582 MB / 0.4957 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.5579, allocations: 167.1 kB / 0.4959 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.5581, allocations: 100.8 kB / 0.496 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.5582, allocations: 7.984 kB / 0.496 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.5583, allocations: 38.56 kB / 0.496 GB, free: 6.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 3.276e-06/0.5583, allocations: 0 / 0.496 GB, free: 6.598 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.006086/0.5644, allocations: 1.627 MB / 0.4976 GB, free: 4.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.5644, allocations: 55.34 kB / 0.4977 GB, free: 4.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.5648, allocations: 256.8 kB / 0.4979 GB, free: 4.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.5648, allocations: 33.7 kB / 0.4979 GB, free: 4.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.565, allocations: 180.2 kB / 0.4981 GB, free: 4.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.5651, allocations: 94.64 kB / 0.4982 GB, free: 4.195 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.409e-05/0.5652, allocations: 33.7 kB / 0.4982 GB, free: 4.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5653, allocations: 334.8 kB / 0.4986 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.5655, allocations: 99.73 kB / 0.4987 GB, free: 3.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.5658, allocations: 183.8 kB / 0.4988 GB, free: 3.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.5662, allocations: 316.2 kB / 0.4991 GB, free: 3.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5662, allocations: 0 / 0.4991 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006974/0.567, allocations: 391.1 kB / 0.4995 GB, free: 2.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.567, allocations: 8.062 kB / 0.4995 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.567, allocations: 4 kB / 0.4995 GB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/0.5672, allocations: 77.61 kB / 0.4996 GB, free: 2.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.5676, allocations: 79.91 kB / 0.4997 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.5691, allocations: 1.86 MB / 0.5015 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.5694, allocations: 24.12 kB / 0.5015 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.5694, allocations: 39.98 kB / 0.5015 GB, free: 0.5 MB / 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.0001929/0.5696, allocations: 153.7 kB / 0.5017 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.5697, allocations: 31.66 kB / 0.5017 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.5708, allocations: 447.7 kB / 0.5021 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5708, allocations: 0 / 0.5021 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5708, allocations: 3.938 kB / 0.5022 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005696/0.5714, allocations: 0.5552 MB / 0.5027 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.5724, allocations: 0.7388 MB / 0.5034 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5725, allocations: 0 / 0.5034 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.5728, allocations: 67.95 kB / 0.5035 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.046e-05/0.5729, allocations: 24.69 kB / 0.5035 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.5729, allocations: 12 kB / 0.5035 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008577/0.5738, allocations: 1.284 MB / 0.5048 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.5738, allocations: 7.906 kB / 0.5048 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006891/0.5745, allocations: 486.6 kB / 0.5052 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.5746, allocations: 112.8 kB / 0.5053 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.5747, allocations: 4 kB / 0.5054 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.5749, allocations: 12.06 kB / 0.5054 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.575, allocations: 39.84 kB / 0.5054 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.5751, allocations: 27.98 kB / 0.5054 GB, free: 12.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.5753, allocations: 190 kB / 0.5056 GB, free: 11.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5753, allocations: 0 / 0.5056 GB, free: 11.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005735/0.5759, allocations: 123.9 kB / 0.5057 GB, free: 11.86 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.0004135/0.5763, allocations: 147.2 kB / 0.5059 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007006/0.577, allocations: 375.2 kB / 0.5062 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.577, allocations: 0 / 0.5062 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.5773, allocations: 230.5 kB / 0.5064 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.5785, allocations: 155.5 kB / 0.5066 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.5798, allocations: 0.8709 MB / 0.5074 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.5802, allocations: 0.7645 MB / 0.5082 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005991/0.5808, allocations: 114.9 kB / 0.5083 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.581, allocations: 67.41 kB / 0.5084 GB, free: 9.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.581, allocations: 0 / 0.5084 GB, free: 9.07 MB / 414.1 MB Notification: Performance of Templates: time 0.01629/0.5973, allocations: 8.396 MB / 0.5166 GB, free: 0.6719 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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