Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 115 kB / 16.43 MB, free: 6.051 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.001085/0.001085, allocations: 186.8 kB / 17.36 MB, free: 5.617 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.138/1.138, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5913/0.5913, allocations: 91.19 MB / 382.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.581e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.2836/0.2836, allocations: 140.5 MB / 0.6546 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.2868, allocations: 3.294 MB / 0.6579 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.287, allocations: 19.88 kB / 0.6579 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.2875, allocations: 135.1 kB / 0.658 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003983/0.2879, allocations: 182.9 kB / 0.6582 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.2883, allocations: 203.2 kB / 0.6584 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.2888, allocations: 379.6 kB / 0.6587 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.2889, allocations: 80.61 kB / 0.6588 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000405/0.2893, allocations: 203 kB / 0.659 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.2895, allocations: 119.3 kB / 0.6591 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.2895, allocations: 12 kB / 0.6591 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004461/0.29, allocations: 267.5 kB / 0.6594 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.0002362/0.2902, allocations: 402 kB / 0.6598 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0001519/0.2904, allocations: 296.1 kB / 0.6601 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.2904, allocations: 39.88 kB / 0.6601 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.783e-05/0.2905, allocations: 39.86 kB / 0.6601 GB, free: 1.035 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: 28 (26) * Number of variables: 28 (28) Notification: Performance of Bindings: time 0.0008854/0.2914, allocations: 1.015 MB / 0.6611 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 3.795e-05/0.2914, allocations: 31.92 kB / 0.6611 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.0003135/0.2917, allocations: 365.1 kB / 0.6615 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of simplify1: time 2.658e-05/0.2918, allocations: 19.98 kB / 0.6615 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of Alias: time 0.0007229/0.2925, allocations: 0.6303 MB / 0.6621 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simplify2: time 1.718e-05/0.2925, allocations: 15.98 kB / 0.6621 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of Detect States: time 0.0001435/0.2927, allocations: 106.7 kB / 0.6622 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of Events: time 1.911e-05/0.2927, allocations: 8 kB / 0.6623 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of Partitioning: time 0.0001244/0.2928, allocations: 133.9 kB / 0.6624 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of Causalize: time 0.0004166/0.2933, allocations: 410.6 kB / 0.6628 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of After Index Reduction Inline: time 0.0001602/0.2934, allocations: 208.4 kB / 0.663 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of Inline: time 0.0004281/0.2939, allocations: 0.4975 MB / 0.6635 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of Partitioning: time 4.539e-05/0.2939, allocations: 36.09 kB / 0.6635 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of Cleanup: time 1.577e-05/0.2939, allocations: 11.94 kB / 0.6635 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of Causalize: time 0.0005947/0.2945, allocations: 0.5736 MB / 0.6641 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0004228/0.295, allocations: 0.5472 MB / 0.6646 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of Initialization: time 4.41e-07/0.295, allocations: 0 / 0.6646 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of Tearing: time 0.0003461/0.2953, allocations: 0.5421 MB / 0.6651 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of Categorize: time 9.718e-06/0.2953, allocations: 4.031 kB / 0.6651 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of Solve: time 0.0001025/0.2955, allocations: 67.94 kB / 0.6652 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of Jacobian: time 0.0002206/0.2957, allocations: 432.1 kB / 0.6656 GB, free: 10.87 MB / 0.5137 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 2 * 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: ............................. 2 (2) {source.outlet.m_flow, source1.outlet.m_flow} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:12, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 24 (scalar:24, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 2.923e-05/0.2957, allocations: 21.8 kB / 0.6656 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of SimCode: time 0.001251/0.297, allocations: 1.606 MB / 0.6672 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.004746/0.3017, allocations: 2.283 MB / 0.6694 GB, free: 6.934 MB / 0.5137 GB make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches