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.0009695/0.0009748, allocations: 93.89 kB / 17.35 MB, free: 6.344 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.001197/0.001197, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.378/1.378, allocations: 223.2 MB / 242.3 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1955/0.1955, allocations: 44.25 MB / 337.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003864, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1473, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4908/0.6381, allocations: 170.3 MB / 0.6275 GB, free: 8.438 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007774/0.6459, allocations: 5.412 MB / 0.6327 GB, free: 3.016 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009336/0.6469, allocations: 27.75 kB / 0.6328 GB, free: 2.988 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.6479, allocations: 278.5 kB / 0.633 GB, free: 2.715 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.6517, allocations: 1.203 MB / 0.6342 GB, free: 1.512 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.6544, allocations: 0.955 MB / 0.6351 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003254/0.6577, allocations: 2.71 MB / 0.6378 GB, free: 13.85 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008566/0.6586, allocations: 404.2 kB / 0.6382 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.6611, allocations: 0.9495 MB / 0.6391 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001896/0.663, allocations: 0.7744 MB / 0.6399 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002686/0.6633, allocations: 32 kB / 0.6399 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001971/0.6653, allocations: 0.5343 MB / 0.6404 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004813/0.6658, allocations: 243.3 kB / 0.6406 GB, free: 10.92 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007359/0.6665, allocations: 395.9 kB / 0.641 GB, free: 10.52 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.6686, allocations: 1.254 MB / 0.6422 GB, free: 9.266 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.6686, allocations: 4 kB / 0.6422 GB, free: 9.262 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6686, allocations: 3.938 kB / 0.6423 GB, free: 9.258 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.511e-05/0.6687, allocations: 0 / 0.6423 GB, free: 9.258 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.002476/0.6712, allocations: 0.9432 MB / 0.6432 GB, free: 8.262 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6712, allocations: 11.97 kB / 0.6432 GB, free: 8.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000962/0.6722, allocations: 139.1 kB / 0.6433 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009404/0.6731, allocations: 0.5002 MB / 0.6438 GB, free: 7.574 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.6733, allocations: 100.4 kB / 0.6439 GB, free: 7.461 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.6734, allocations: 51.98 kB / 0.6439 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.6748, allocations: 0.8213 MB / 0.6448 GB, free: 6.516 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.6749, allocations: 0 / 0.6448 GB, free: 6.516 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/0.675, allocations: 24 kB / 0.6448 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/0.675, allocations: 36.98 kB / 0.6448 GB, free: 6.457 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.6762, allocations: 0.6243 MB / 0.6454 GB, free: 5.832 MB / 478.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.004911/0.6811, allocations: 3.969 MB / 0.6493 GB, free: 1.605 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.6817, allocations: 355.6 kB / 0.6496 GB, free: 1.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.682, allocations: 173.3 kB / 0.6498 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.6822, allocations: 89.38 kB / 0.6499 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.672e-05/0.6822, allocations: 46.77 kB / 0.6499 GB, free: 0.918 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 3.997e-06/0.6822, allocations: 4 kB / 0.6499 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.006037/0.6883, allocations: 1.661 MB / 0.6516 GB, free: 15.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/0.6884, allocations: 140.4 kB / 0.6517 GB, free: 15.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/0.6892, allocations: 0.6133 MB / 0.6523 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.6893, allocations: 33.7 kB / 0.6523 GB, free: 14.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.6896, allocations: 378.8 kB / 0.6527 GB, free: 13.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.6897, allocations: 134.1 kB / 0.6528 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.6898, allocations: 61.69 kB / 0.6529 GB, free: 13.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.69, allocations: 370.8 kB / 0.6532 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003775/0.6904, allocations: 205.9 kB / 0.6534 GB, free: 13.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.6911, allocations: 0.5125 MB / 0.6539 GB, free: 12.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.6922, allocations: 0.7563 MB / 0.6547 GB, free: 11.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.6922, allocations: 4 kB / 0.6547 GB, free: 11.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001563/0.6938, allocations: 0.8873 MB / 0.6555 GB, free: 10.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.6938, allocations: 8 kB / 0.6555 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.6938, allocations: 12 kB / 0.6555 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.6953, allocations: 313.3 kB / 0.6558 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004129/0.6957, allocations: 123.8 kB / 0.656 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.6968, allocations: 0.9293 MB / 0.6569 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/0.6974, allocations: 51.88 kB / 0.6569 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-05/0.6975, allocations: 68 kB / 0.657 GB, free: 9.227 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.000373/0.6979, allocations: 250 kB / 0.6572 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.698, allocations: 67.25 kB / 0.6573 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.6999, allocations: 0.8657 MB / 0.6581 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.6999, allocations: 8 kB / 0.6581 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.6999, allocations: 0 / 0.6581 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.6999, allocations: 3.984 kB / 0.6581 GB, free: 8.012 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.7019, allocations: 1.461 MB / 0.6596 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7019, allocations: 4 kB / 0.6596 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.7029, allocations: 207.8 kB / 0.6598 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-05/0.703, allocations: 24.84 kB / 0.6598 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-05/0.7031, allocations: 31.86 kB / 0.6598 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/0.705, allocations: 2.688 MB / 0.6625 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7051, allocations: 4.031 kB / 0.6625 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.7063, allocations: 0.8129 MB / 0.6633 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.7066, allocations: 188.2 kB / 0.6634 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.053e-05/0.7067, allocations: 20 kB / 0.6634 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004232/0.7071, allocations: 23.98 kB / 0.6635 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.7072, allocations: 39.89 kB / 0.6635 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/0.7073, allocations: 47.97 kB / 0.6636 GB, free: 2.012 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000584/0.7079, allocations: 443 kB / 0.664 GB, free: 1.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7079, allocations: 0 / 0.664 GB, free: 1.582 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009812/0.7089, allocations: 251.9 kB / 0.6642 GB, free: 1.336 MB / 494.1 MB 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.0008718/0.7098, allocations: 280.1 kB / 0.6645 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.7109, allocations: 0.5426 MB / 0.665 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.711, allocations: 1.438 kB / 0.665 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009964/0.712, allocations: 426.7 kB / 0.6654 GB, free: 92 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.7139, allocations: 355.9 kB / 0.6658 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.7163, allocations: 1.655 MB / 0.6674 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000644/0.717, allocations: 0.9339 MB / 0.6683 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001239/0.7182, allocations: 462 kB / 0.6687 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000355/0.7186, allocations: 111.4 kB / 0.6688 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.7186, allocations: 4 kB / 0.6688 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.03198/0.7506, allocations: 16.73 MB / 0.6852 GB, free: 11.95 MB / 0.5138 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins/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