Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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_dev_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_dev_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.001697/0.001697, allocations: 106 kB / 15.99 MB, free: 6.352 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.001836/0.001837, allocations: 193 kB / 16.91 MB, free: 6.184 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7352/0.7352, allocations: 93.68 MB / 384.4 MB, free: 5.492 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002356/0.002357, allocations: 71.88 kB / 463.5 MB, free: 6.496 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1484, allocations: 68.27 MB / 0.5194 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries): time 0.3847/0.5331, allocations: 145.3 MB / 0.6612 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004334/0.5375, allocations: 3.204 MB / 0.6644 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004728/0.538, allocations: 31.81 kB / 0.6644 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.5388, allocations: 202.9 kB / 0.6646 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008733/0.5397, allocations: 338.1 kB / 0.6649 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.5407, allocations: 410.7 kB / 0.6653 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007865/0.5415, allocations: 0.686 MB / 0.666 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.5418, allocations: 136.8 kB / 0.6661 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.5429, allocations: 489.8 kB / 0.6666 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.5432, allocations: 294.7 kB / 0.6668 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.385e-05/0.5433, allocations: 24.84 kB / 0.6669 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.5443, allocations: 0.5613 MB / 0.6674 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.5445, allocations: 75.64 kB / 0.6675 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.5447, allocations: 218.6 kB / 0.6677 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006686/0.5453, allocations: 0.4892 MB / 0.6682 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5454, allocations: 0 / 0.6682 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5454, allocations: 0 / 0.6682 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.5454, allocations: 4 kB / 0.6682 GB, free: 7.047 MB / 0.5137 GB 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.001273/0.5467, allocations: 0.7896 MB / 0.669 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5467, allocations: 9.438 kB / 0.669 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/0.5468, allocations: 56.28 kB / 0.669 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.5474, allocations: 425.8 kB / 0.6694 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.5475, allocations: 18.84 kB / 0.6694 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.5475, allocations: 32.28 kB / 0.6695 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005911/0.5481, allocations: 328.6 kB / 0.6698 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.5482, allocations: 4 kB / 0.6698 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.5482, allocations: 8 kB / 0.6698 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.5482, allocations: 10.3 kB / 0.6698 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.5486, allocations: 195.8 kB / 0.67 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.5506, allocations: 1.78 MB / 0.6717 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.5511, allocations: 164.9 kB / 0.6719 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.5513, allocations: 74.64 kB / 0.672 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007551/0.5521, allocations: 0.5183 MB / 0.6725 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.5521, allocations: 48.11 kB / 0.6725 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.714e-06/0.5521, allocations: 4 kB / 0.6725 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.000889/0.553, allocations: 351.4 kB / 0.6729 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.5531, allocations: 106.8 kB / 0.673 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.5536, allocations: 438.2 kB / 0.6734 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.5536, allocations: 33.7 kB / 0.6734 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/0.5538, allocations: 248 kB / 0.6736 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.5539, allocations: 55.25 kB / 0.6737 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/0.554, allocations: 49.55 kB / 0.6737 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5542, allocations: 354.8 kB / 0.6741 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.5543, allocations: 55.97 kB / 0.6741 GB, free: 464 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.5546, allocations: 110 kB / 0.6742 GB, free: 332 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.5549, allocations: 171.8 kB / 0.6744 GB, free: 140 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.5549, allocations: 7.938 kB / 0.6744 GB, free: 132 kB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005514/0.5555, allocations: 263 kB / 0.6747 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5555, allocations: 8.125 kB / 0.6747 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5555, allocations: 4.75 kB / 0.6747 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000162/0.5557, allocations: 27.47 kB / 0.6747 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.5559, allocations: 49.59 kB / 0.6747 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.5571, allocations: 1.388 MB / 0.6761 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.5573, allocations: 35.89 kB / 0.6761 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.5573, allocations: 4 kB / 0.6761 GB, free: 14.21 MB / 0.5294 GB 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.0001678/0.5575, allocations: 155.8 kB / 0.6763 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.5576, allocations: 51.28 kB / 0.6763 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/0.5582, allocations: 252 kB / 0.6766 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5583, allocations: 5.359 kB / 0.6766 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.5583, allocations: 0 / 0.6766 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5583, allocations: 0 / 0.6766 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.5588, allocations: 357.3 kB / 0.6769 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5588, allocations: 0.6875 kB / 0.6769 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.559, allocations: 43.91 kB / 0.677 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.954e-05/0.5591, allocations: 20.84 kB / 0.677 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.5591, allocations: 4 kB / 0.677 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.5602, allocations: 1.382 MB / 0.6783 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5602, allocations: 7.969 kB / 0.6783 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006842/0.5609, allocations: 456.6 kB / 0.6788 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.5611, allocations: 122.4 kB / 0.6789 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.5611, allocations: 8.562 kB / 0.6789 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.5613, allocations: 16.03 kB / 0.6789 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.5614, allocations: 11.98 kB / 0.6789 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.5614, allocations: 4 kB / 0.6789 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003555/0.5618, allocations: 310.9 kB / 0.6792 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5618, allocations: 0 / 0.6792 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004576/0.5622, allocations: 95.84 kB / 0.6793 GB, free: 10.7 MB / 0.5294 GB 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.0003275/0.5626, allocations: 208.9 kB / 0.6795 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006078/0.5632, allocations: 276.1 kB / 0.6798 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5632, allocations: 3.938 kB / 0.6798 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003588/0.5636, allocations: 195.8 kB / 0.68 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.5644, allocations: 105.4 kB / 0.6801 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.5659, allocations: 0.9995 MB / 0.6811 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000484/0.5664, allocations: 0.8074 MB / 0.6818 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.5665, allocations: 35.44 kB / 0.6819 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.5665, allocations: 0 / 0.6819 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of Templates: time 0.01142/0.5779, allocations: 7.724 MB / 0.6894 GB, free: 480 kB / 0.5294 GB make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.makefile (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.pipe 2>&1) diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.TestBoundaries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches