Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_rear.fore.m_flow|terminal_fore.p|terminal_rear.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001223, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008949/0.008949, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6985/0.6985, allocations: 91.33 MB / 382.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 13.16 kB / 462.7 MB, free: 23.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1324, allocations: 69.21 MB / 0.5195 GB, free: 9.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.4373/0.5697, allocations: 143.2 MB / 0.6593 GB, free: 4.008 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004158/0.5739, allocations: 3.193 MB / 0.6624 GB, free: 1.391 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004276/0.5744, allocations: 27.53 kB / 0.6625 GB, free: 1.379 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006641/0.575, allocations: 199.5 kB / 0.6627 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008262/0.5759, allocations: 338.2 kB / 0.663 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000987/0.5769, allocations: 414.6 kB / 0.6634 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006643/0.5776, allocations: 0.7939 MB / 0.6642 GB, free: 192 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.5778, allocations: 125.4 kB / 0.6643 GB, free: 128 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009712/0.5788, allocations: 451.1 kB / 0.6647 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003122/0.5791, allocations: 282.3 kB / 0.665 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.5791, allocations: 7.938 kB / 0.665 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008808/0.58, allocations: 0.5375 MB / 0.6655 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.5801, allocations: 61.17 kB / 0.6656 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.5803, allocations: 217.1 kB / 0.6658 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.581, allocations: 0.6067 MB / 0.6664 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.581, allocations: 0 / 0.6664 GB, free: 14.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.581, allocations: 7.984 kB / 0.6664 GB, free: 14.83 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.581, allocations: 0 / 0.6664 GB, free: 14.83 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001032/0.5821, allocations: 0.7203 MB / 0.6671 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.5821, allocations: 11.97 kB / 0.6671 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.5823, allocations: 59.84 kB / 0.6671 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.5828, allocations: 428.8 kB / 0.6676 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.5829, allocations: 19.97 kB / 0.6676 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.5829, allocations: 31.12 kB / 0.6676 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.5834, allocations: 332.5 kB / 0.6679 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5834, allocations: 0 / 0.6679 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.5835, allocations: 11.06 kB / 0.6679 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.5835, allocations: 7.812 kB / 0.6679 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.5839, allocations: 205.5 kB / 0.6681 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.5857, allocations: 1.798 MB / 0.6699 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.5862, allocations: 174 kB / 0.6701 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.5863, allocations: 89.77 kB / 0.6701 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/0.5871, allocations: 0.5355 MB / 0.6707 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5871, allocations: 41.3 kB / 0.6707 GB, free: 10.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.5871, allocations: 0 / 0.6707 GB, free: 10.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008486/0.588, allocations: 380.1 kB / 0.6711 GB, free: 10.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.588, allocations: 105.9 kB / 0.6712 GB, free: 10.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.5885, allocations: 437.2 kB / 0.6716 GB, free: 10.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.5885, allocations: 33.7 kB / 0.6716 GB, free: 10.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.5887, allocations: 244.6 kB / 0.6718 GB, free: 9.973 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.5888, allocations: 55.17 kB / 0.6719 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.5889, allocations: 23.89 kB / 0.6719 GB, free: 9.902 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.589, allocations: 357.2 kB / 0.6723 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.5892, allocations: 59.47 kB / 0.6723 GB, free: 9.531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.5894, allocations: 117 kB / 0.6724 GB, free: 9.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000332/0.5897, allocations: 197.4 kB / 0.6726 GB, free: 9.309 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5897, allocations: 4 kB / 0.6726 GB, free: 9.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004987/0.5902, allocations: 280.7 kB / 0.6729 GB, free: 9.152 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5903, allocations: 5 kB / 0.6729 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5903, allocations: 6.844 kB / 0.6729 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/0.5904, allocations: 23.72 kB / 0.6729 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.5906, allocations: 50.44 kB / 0.673 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.5917, allocations: 1.293 MB / 0.6742 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.5919, allocations: 29.69 kB / 0.6743 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.5919, allocations: 15.98 kB / 0.6743 GB, free: 7.746 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 22 * 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 prepare postOptimizeDAE: time 0.0001517/0.5921, allocations: 146.4 kB / 0.6744 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.5922, allocations: 49.19 kB / 0.6745 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005741/0.5928, allocations: 272.4 kB / 0.6747 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.5928, allocations: 2.906 kB / 0.6747 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.5928, allocations: 0 / 0.6747 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5928, allocations: 9.938 kB / 0.6747 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.5933, allocations: 350.6 kB / 0.6751 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.5933, allocations: 3.062 kB / 0.6751 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.5934, allocations: 35.58 kB / 0.6751 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-05/0.5935, allocations: 19.72 kB / 0.6751 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5936, allocations: 14.92 kB / 0.6751 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000834/0.5944, allocations: 1.289 MB / 0.6764 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5944, allocations: 0 / 0.6764 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.5951, allocations: 484.6 kB / 0.6769 GB, free: 5.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.751e-05/0.5952, allocations: 115.4 kB / 0.677 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.5952, allocations: 10.97 kB / 0.677 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.5954, allocations: 7.938 kB / 0.677 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.5955, allocations: 21.66 kB / 0.677 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.5955, allocations: 5.156 kB / 0.677 GB, free: 5.211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003001/0.5958, allocations: 310.6 kB / 0.6773 GB, free: 5.023 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5958, allocations: 0 / 0.6773 GB, free: 5.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.5963, allocations: 99.06 kB / 0.6774 GB, free: 4.938 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (boundary_fore.rear.m_flow,terminal_rear.p,terminal_fore.p) * 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 (13): * Single equations (assignments): 12 * 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.0003007/0.5966, allocations: 198.5 kB / 0.6776 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005634/0.5972, allocations: 278.7 kB / 0.6779 GB, free: 4.453 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5972, allocations: 0 / 0.6779 GB, free: 4.453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.5975, allocations: 203 kB / 0.6781 GB, free: 4.242 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.5984, allocations: 112.7 kB / 0.6782 GB, free: 4.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.6, allocations: 1.035 MB / 0.6792 GB, free: 3.066 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004301/0.6004, allocations: 0.8074 MB / 0.68 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001912/0.6006, allocations: 58.7 kB / 0.68 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.6007, allocations: 31.44 kB / 0.6801 GB, free: 2.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.6007, allocations: 0 / 0.6801 GB, free: 2.148 MB / 494.1 MB Notification: Performance of Templates: time 0.01001/0.6107, allocations: 5.017 MB / 0.6849 GB, free: 13.18 MB / 0.4981 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches