Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001898/0.001898, allocations: 195.3 kB / 19.23 MB, free: 3.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 242.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2119/0.2119, allocations: 44.18 MB / 337.3 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 65.22 kB / 409.1 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1511, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5132/0.6643, allocations: 174.3 MB / 0.6292 GB, free: 2.246 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008377/0.6727, allocations: 5.335 MB / 0.6344 GB, free: 12.9 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.6738, allocations: 19.88 kB / 0.6344 GB, free: 12.88 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.6751, allocations: 325.9 kB / 0.6347 GB, free: 12.56 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004525/0.6796, allocations: 1.321 MB / 0.636 GB, free: 11.24 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003267/0.6829, allocations: 1.059 MB / 0.637 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002797/0.6857, allocations: 1.86 MB / 0.6388 GB, free: 8.324 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009803/0.6867, allocations: 464.2 kB / 0.6393 GB, free: 7.867 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.6895, allocations: 1.067 MB / 0.6403 GB, free: 6.797 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.6912, allocations: 0.7433 MB / 0.641 GB, free: 6.051 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002616/0.6914, allocations: 60 kB / 0.6411 GB, free: 5.992 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.6933, allocations: 0.5735 MB / 0.6417 GB, free: 5.418 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004469/0.6937, allocations: 275.2 kB / 0.6419 GB, free: 5.148 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007858/0.6945, allocations: 398.2 kB / 0.6423 GB, free: 4.758 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.697, allocations: 1.289 MB / 0.6436 GB, free: 3.465 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.697, allocations: 4 kB / 0.6436 GB, free: 3.461 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.697, allocations: 0 / 0.6436 GB, free: 3.461 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.26e-05/0.697, allocations: 0 / 0.6436 GB, free: 3.461 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002945/0.7, allocations: 1.091 MB / 0.6446 GB, free: 2.316 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.7, allocations: 12.03 kB / 0.6446 GB, free: 2.305 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009451/0.701, allocations: 139 kB / 0.6448 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.702, allocations: 0.5079 MB / 0.6453 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.7021, allocations: 100.4 kB / 0.6454 GB, free: 1.508 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.7023, allocations: 51.98 kB / 0.6454 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.7036, allocations: 0.8136 MB / 0.6462 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.7037, allocations: 3.938 kB / 0.6462 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.031e-05/0.7038, allocations: 24 kB / 0.6462 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/0.7038, allocations: 40.97 kB / 0.6463 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.705, allocations: 0.6243 MB / 0.6469 GB, free: 15.88 MB / 494.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.00477/0.7098, allocations: 3.973 MB / 0.6508 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.7104, allocations: 359.6 kB / 0.6511 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.7107, allocations: 171.3 kB / 0.6513 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.7108, allocations: 93.36 kB / 0.6514 GB, free: 11.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.7109, allocations: 38.84 kB / 0.6514 GB, free: 10.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.494e-06/0.7109, allocations: 0 / 0.6514 GB, free: 10.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.006163/0.717, allocations: 1.663 MB / 0.653 GB, free: 9.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.7171, allocations: 140.5 kB / 0.6532 GB, free: 9.062 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008552/0.718, allocations: 0.621 MB / 0.6538 GB, free: 8.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.305e-05/0.7181, allocations: 33.7 kB / 0.6538 GB, free: 8.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/0.7184, allocations: 362.9 kB / 0.6541 GB, free: 8.035 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.7185, allocations: 138 kB / 0.6543 GB, free: 7.898 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.7188, allocations: 162.5 kB / 0.6544 GB, free: 7.734 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.719, allocations: 374.7 kB / 0.6548 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.7193, allocations: 201.9 kB / 0.655 GB, free: 7.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.72, allocations: 0.5241 MB / 0.6555 GB, free: 6.492 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.721, allocations: 0.7436 MB / 0.6562 GB, free: 5.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.721, allocations: 4 kB / 0.6562 GB, free: 5.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001599/0.7226, allocations: 0.8882 MB / 0.6571 GB, free: 4.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.7227, allocations: 15.62 kB / 0.6571 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.7227, allocations: 8 kB / 0.6571 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.7241, allocations: 316.5 kB / 0.6574 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.7245, allocations: 119.8 kB / 0.6575 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.7257, allocations: 0.941 MB / 0.6584 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/0.7262, allocations: 24 kB / 0.6585 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.7263, allocations: 71.98 kB / 0.6585 GB, free: 3.199 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003872/0.7267, allocations: 245.5 kB / 0.6588 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.7269, allocations: 71.16 kB / 0.6588 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.7287, allocations: 0.862 MB / 0.6597 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.7287, allocations: 4 kB / 0.6597 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.7287, allocations: 4 kB / 0.6597 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.7287, allocations: 0 / 0.6597 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.731, allocations: 1.473 MB / 0.6611 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.731, allocations: 3.938 kB / 0.6611 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.7321, allocations: 207.8 kB / 0.6613 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.79e-05/0.7322, allocations: 28.83 kB / 0.6614 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.774e-05/0.7323, allocations: 20 kB / 0.6614 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002404/0.7347, allocations: 2.873 MB / 0.6642 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7347, allocations: 0 / 0.6642 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.736, allocations: 0.8247 MB / 0.665 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.7363, allocations: 192.3 kB / 0.6652 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.7365, allocations: 8 kB / 0.6652 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004233/0.7369, allocations: 19.98 kB / 0.6652 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.737, allocations: 43.95 kB / 0.6652 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.7371, allocations: 43.98 kB / 0.6653 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005614/0.7377, allocations: 439 kB / 0.6657 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7377, allocations: 0 / 0.6657 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001077/0.7388, allocations: 248 kB / 0.6659 GB, free: 11.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0008269/0.7396, allocations: 294.9 kB / 0.6662 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.7415, allocations: 0.6059 MB / 0.6668 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/0.7415, allocations: 4 kB / 0.6668 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.7429, allocations: 414.2 kB / 0.6672 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/0.7447, allocations: 362.7 kB / 0.6676 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.7473, allocations: 1.393 MB / 0.6689 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.7479, allocations: 0.9261 MB / 0.6698 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/0.7484, allocations: 131.4 kB / 0.6699 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of SimCode: time 3.076e-06/0.7484, allocations: 0 / 0.6699 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of Templates: time 0.02911/0.7775, allocations: 16.46 MB / 0.686 GB, free: 6.539 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches