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.001128/0.001128, allocations: 107 kB / 16.42 MB, free: 6.473 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.001086/0.001086, allocations: 190 kB / 17.36 MB, free: 5.688 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.171/1.171, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.606/0.606, allocations: 91.2 MB / 382.4 MB, free: 7.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/1.909e-05, allocations: 5.094 kB / 0.5174 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.TerminalSourceSink): time 0.2898/0.2898, allocations: 140.5 MB / 0.6546 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002099/0.2919, allocations: 2.111 MB / 0.6567 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.2921, allocations: 15.88 kB / 0.6567 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.2926, allocations: 119.2 kB / 0.6568 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003422/0.2929, allocations: 135.1 kB / 0.6569 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.2934, allocations: 171.4 kB / 0.6571 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.2937, allocations: 345.4 kB / 0.6574 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.2939, allocations: 68.45 kB / 0.6575 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003853/0.2943, allocations: 199 kB / 0.6577 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.2944, allocations: 115.5 kB / 0.6578 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.2945, allocations: 16 kB / 0.6578 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.2948, allocations: 223.6 kB / 0.658 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.0002198/0.2951, allocations: 370.7 kB / 0.6584 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0001231/0.2952, allocations: 252.2 kB / 0.6586 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.2952, allocations: 35.88 kB / 0.6586 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.496e-05/0.2953, allocations: 27.92 kB / 0.6587 GB, free: 2.574 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.0008888/0.2962, allocations: 1.023 MB / 0.6597 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of FunctionAlias: time 4.544e-05/0.2963, allocations: 33.56 kB / 0.6597 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of Early Inline: time 0.0003788/0.2966, allocations: 455.4 kB / 0.6601 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simplify1: time 2.839e-05/0.2967, allocations: 27.95 kB / 0.6602 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of Alias: time 0.000734/0.2974, allocations: 0.621 MB / 0.6608 GB, free: 280 kB / 0.4981 GB Notification: Performance of simplify2: time 2.682e-05/0.2975, allocations: 19.97 kB / 0.6608 GB, free: 260 kB / 0.4981 GB Notification: Performance of Detect States: time 0.0001642/0.2976, allocations: 136.9 kB / 0.6609 GB, free: 112 kB / 0.4981 GB Notification: Performance of Events: time 0.0001012/0.2977, allocations: 47.62 kB / 0.661 GB, free: 68 kB / 0.4981 GB Notification: Performance of Partitioning: time 0.0001486/0.2979, allocations: 152 kB / 0.6611 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of Causalize: time 0.0004712/0.2984, allocations: 464 kB / 0.6615 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.0002343/0.2986, allocations: 284.6 kB / 0.6618 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of Inline: time 0.0004463/0.2991, allocations: 0.5205 MB / 0.6623 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of Partitioning: time 3.357e-05/0.2991, allocations: 38.53 kB / 0.6624 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of Cleanup: time 1.803e-05/0.2991, allocations: 11.98 kB / 0.6624 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of Causalize: time 0.0006037/0.2997, allocations: 0.5483 MB / 0.6629 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of Tearing: time 8.205e-06/0.2998, allocations: 0 / 0.6629 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of Initialization: time 3.01e-07/0.2998, allocations: 0 / 0.6629 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of Tearing: time 2.575e-06/0.2998, allocations: 1.875 kB / 0.6629 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of Categorize: time 9.939e-06/0.2998, allocations: 7.938 kB / 0.6629 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of Solve: time 0.0001124/0.2999, allocations: 67.94 kB / 0.663 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of Jacobian: time 0.0001838/0.3001, allocations: 278 kB / 0.6632 GB, free: 13.61 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 3.604e-05/0.3001, allocations: 28.91 kB / 0.6633 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001085/0.3012, allocations: 1.371 MB / 0.6646 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.004371/0.3056, allocations: 2.029 MB / 0.6666 GB, free: 10.21 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