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.001361/0.001361, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6853/0.6853, allocations: 91.19 MB / 381.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 77.25 kB / 460.3 MB, free: 23.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 67.7 MB / 0.5156 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3791/0.4873, allocations: 146.9 MB / 0.6591 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004002/0.4913, allocations: 3.141 MB / 0.6621 GB, free: 1.852 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005587/0.4919, allocations: 26.72 kB / 0.6622 GB, free: 1.84 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008374/0.4928, allocations: 233.6 kB / 0.6624 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.4939, allocations: 374 kB / 0.6627 GB, free: 1.336 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.4951, allocations: 449 kB / 0.6632 GB, free: 1.004 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008688/0.496, allocations: 0.6698 MB / 0.6638 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002772/0.4963, allocations: 146 kB / 0.664 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.4975, allocations: 489.4 kB / 0.6644 GB, free: 232 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000491/0.498, allocations: 292 kB / 0.6647 GB, free: 60 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.086e-05/0.4981, allocations: 25.28 kB / 0.6647 GB, free: 60 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.4993, allocations: 0.5508 MB / 0.6653 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.4994, allocations: 76.62 kB / 0.6653 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.4997, allocations: 217.3 kB / 0.6655 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.5008, allocations: 0.6684 MB / 0.6662 GB, free: 15.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.5009, allocations: 0 / 0.6662 GB, free: 15.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5009, allocations: 0 / 0.6662 GB, free: 15.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.5009, allocations: 0 / 0.6662 GB, free: 15.17 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.001326/0.5022, allocations: 0.7835 MB / 0.667 GB, free: 14.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5023, allocations: 14.16 kB / 0.667 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.395e-05/0.5024, allocations: 53.38 kB / 0.667 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.503, allocations: 435 kB / 0.6674 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.503, allocations: 19.12 kB / 0.6675 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.5031, allocations: 26.56 kB / 0.6675 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.5036, allocations: 323.5 kB / 0.6678 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5036, allocations: 0 / 0.6678 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.5036, allocations: 10 kB / 0.6678 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.5037, allocations: 7.75 kB / 0.6678 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003869/0.504, allocations: 199.2 kB / 0.668 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.5059, allocations: 1.781 MB / 0.6697 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.5064, allocations: 170 kB / 0.6699 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.5066, allocations: 73.67 kB / 0.67 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007046/0.5073, allocations: 0.5213 MB / 0.6705 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.5074, allocations: 37.22 kB / 0.6705 GB, free: 11.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 3.757e-06/0.5074, allocations: 0 / 0.6705 GB, free: 11.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009386/0.5083, allocations: 365.8 kB / 0.6709 GB, free: 10.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.5084, allocations: 109.3 kB / 0.671 GB, free: 10.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.5089, allocations: 442.8 kB / 0.6714 GB, free: 10.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.5089, allocations: 33.7 kB / 0.6714 GB, free: 10.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.5091, allocations: 241.6 kB / 0.6717 GB, free: 10.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.5092, allocations: 52.19 kB / 0.6717 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.302e-05/0.5093, allocations: 51.2 kB / 0.6718 GB, free: 10.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.5095, allocations: 352.6 kB / 0.6721 GB, free: 9.852 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.5096, allocations: 54.48 kB / 0.6721 GB, free: 9.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.5098, allocations: 109.1 kB / 0.6723 GB, free: 9.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/0.5102, allocations: 185.4 kB / 0.6724 GB, free: 9.605 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5102, allocations: 2.906 kB / 0.6724 GB, free: 9.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005633/0.5108, allocations: 269.2 kB / 0.6727 GB, free: 9.453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5108, allocations: 4.531 kB / 0.6727 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5108, allocations: 7 kB / 0.6727 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.511, allocations: 22.94 kB / 0.6727 GB, free: 9.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.5112, allocations: 49.64 kB / 0.6728 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.5122, allocations: 1.383 MB / 0.6741 GB, free: 7.977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.5124, allocations: 29.45 kB / 0.6741 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.5125, allocations: 15.25 kB / 0.6742 GB, free: 7.949 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.0001588/0.5126, allocations: 152 kB / 0.6743 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.5127, allocations: 46.19 kB / 0.6743 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005885/0.5133, allocations: 263 kB / 0.6746 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5133, allocations: 2.5 kB / 0.6746 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.5134, allocations: 0 / 0.6746 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.5134, allocations: 1.781 kB / 0.6746 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.5138, allocations: 352.2 kB / 0.6749 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.5138, allocations: 3.938 kB / 0.6749 GB, free: 7.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.514, allocations: 35.64 kB / 0.675 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.5141, allocations: 22.75 kB / 0.675 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.5141, allocations: 10.39 kB / 0.675 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009316/0.5151, allocations: 1.385 MB / 0.6764 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5151, allocations: 1.812 kB / 0.6764 GB, free: 5.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.5157, allocations: 462.4 kB / 0.6768 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.5158, allocations: 127.2 kB / 0.6769 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.5159, allocations: 2.094 kB / 0.6769 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.5161, allocations: 13.31 kB / 0.6769 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.5161, allocations: 19.34 kB / 0.677 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.5162, allocations: 6.719 kB / 0.677 GB, free: 5.312 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.5165, allocations: 309.2 kB / 0.6773 GB, free: 5.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5165, allocations: 0 / 0.6773 GB, free: 5.129 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004701/0.517, allocations: 95.5 kB / 0.6774 GB, free: 5.109 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.0002752/0.5172, allocations: 202.4 kB / 0.6775 GB, free: 4.969 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005572/0.5178, allocations: 270.1 kB / 0.6778 GB, free: 4.785 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5178, allocations: 0 / 0.6778 GB, free: 4.785 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.5182, allocations: 191.4 kB / 0.678 GB, free: 4.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/0.519, allocations: 114.7 kB / 0.6781 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.5203, allocations: 0.843 MB / 0.6789 GB, free: 3.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.5207, allocations: 0.8122 MB / 0.6797 GB, free: 3.219 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.5209, allocations: 63.16 kB / 0.6798 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.521, allocations: 33.83 kB / 0.6798 GB, free: 3.176 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.521, allocations: 0 / 0.6798 GB, free: 3.176 MB / 494.1 MB Notification: Performance of Templates: time 0.01028/0.5313, allocations: 5.267 MB / 0.6849 GB, free: 0.5391 MB / 494.1 MB 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