Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.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.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") translateModel(ThermofluidStream.Boundaries.Tests.TerminalSourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|pulse.T_start|pulse.count|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 106.6 kB / 16.42 MB, free: 5.551 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.001237/0.001237, allocations: 189.8 kB / 17.36 MB, free: 5.215 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.467/1.467, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9335/0.9335, allocations: 91.18 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.226e-05, allocations: 4.672 kB / 0.5174 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.6473/0.6474, allocations: 140.5 MB / 0.6546 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003741/0.6512, allocations: 2.115 MB / 0.6567 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.6517, allocations: 11.94 kB / 0.6567 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008814/0.6526, allocations: 113.6 kB / 0.6568 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006776/0.6534, allocations: 142.8 kB / 0.6569 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.6541, allocations: 162.8 kB / 0.6571 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.6547, allocations: 347.7 kB / 0.6574 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002419/0.6549, allocations: 65.31 kB / 0.6575 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006083/0.6556, allocations: 203.1 kB / 0.6577 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.6558, allocations: 123.4 kB / 0.6578 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.6558, allocations: 16 kB / 0.6578 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.6564, allocations: 215.6 kB / 0.658 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.000332/0.6567, allocations: 370.7 kB / 0.6583 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0001903/0.6569, allocations: 252.8 kB / 0.6586 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.657, allocations: 31.88 kB / 0.6586 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0001412/0.6571, allocations: 27.94 kB / 0.6586 GB, free: 2.512 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 (27) * Number of variables: 29 (29) Notification: Performance of Bindings: time 0.001411/0.6585, allocations: 1.03 MB / 0.6596 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 6.378e-05/0.6586, allocations: 31.92 kB / 0.6597 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.0005567/0.6592, allocations: 453.9 kB / 0.6601 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simplify1: time 3.96e-05/0.6592, allocations: 23.97 kB / 0.6601 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of Alias: time 0.001091/0.6603, allocations: 0.6188 MB / 0.6607 GB, free: 216 kB / 0.4981 GB Notification: Performance of simplify2: time 2.996e-05/0.6604, allocations: 19.97 kB / 0.6608 GB, free: 196 kB / 0.4981 GB Notification: Performance of Events: time 0.00016/0.6605, allocations: 69.67 kB / 0.6608 GB, free: 132 kB / 0.4981 GB Notification: Performance of Detect States: time 0.0003205/0.6609, allocations: 133.1 kB / 0.661 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0001911/0.6611, allocations: 149 kB / 0.6611 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of Causalize: time 0.0006141/0.6617, allocations: 458.7 kB / 0.6615 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.0003159/0.662, allocations: 292.8 kB / 0.6618 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of Inline: time 0.0006027/0.6626, allocations: 0.5144 MB / 0.6623 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of Partitioning: time 4.192e-05/0.6627, allocations: 36.11 kB / 0.6623 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of Cleanup: time 2.474e-05/0.6627, allocations: 19.98 kB / 0.6624 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of Causalize: time 0.0007485/0.6635, allocations: 0.5465 MB / 0.6629 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Tearing: time 8.155e-06/0.6635, allocations: 1.031 kB / 0.6629 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Initialization: time 3.01e-07/0.6635, allocations: 0 / 0.6629 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Tearing: time 1.463e-06/0.6635, allocations: 4 kB / 0.6629 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Categorize: time 1.748e-05/0.6635, allocations: 0 / 0.6629 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of Solve: time 0.000141/0.6637, allocations: 79.86 kB / 0.663 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of Jacobian: time 0.0002635/0.6639, allocations: 266.9 kB / 0.6632 GB, free: 13.54 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {terminalSource.p} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 18 (scalar:18, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 25 (scalar:25, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.88e-05/0.664, allocations: 26.67 kB / 0.6633 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00173/0.6658, allocations: 1.366 MB / 0.6646 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.005661/0.6714, allocations: 2.058 MB / 0.6666 GB, free: 10.11 MB / 0.5137 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.TerminalSourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.TerminalSourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,pulse.T_start,pulse.count,terminalSource.p Variables in the result:dropOfCommons.L,dropOfCommons.assertionLevel,dropOfCommons.g,dropOfCommons.instanceNameColor[1],dropOfCommons.instanceNameColor[2],dropOfCommons.instanceNameColor[3],dropOfCommons.k_volume_damping,dropOfCommons.m_flow_reg,dropOfCommons.omega_reg,dropOfCommons.p_min,dropOfCommons.rho_min,pulse.T_start,pulse.amplitude,pulse.count,pulse.nperiod,pulse.offset,pulse.period,pulse.startTime,pulse.width,sink2.L,sink2.inlet.m_flow,sink2.p0_par,source.L,source.T0,source.T0_par,source.h0,source.h0_par,source.outlet.m_flow,source.p0_par,terminalSink.inlet.m_flow,terminalSource.TC,terminalSource.h,terminalSource.outlet.m_flow,terminalSource.p,terminalSource.p_0,time