Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.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.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") translateModel(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|flowResistance.rear.m_flow|flowResistance1.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 108.8 kB / 16.42 MB, free: 6.461 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.001077/0.001077, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.192/1.192, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6294/0.6294, allocations: 91.18 MB / 382.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.461e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.3201/0.3202, allocations: 149.5 MB / 0.6634 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004755/0.325, allocations: 4.642 MB / 0.668 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.3252, allocations: 27.81 kB / 0.668 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006645/0.3259, allocations: 294.1 kB / 0.6683 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001099/0.327, allocations: 0.6641 MB / 0.6689 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008288/0.3279, allocations: 0.4943 MB / 0.6694 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009016/0.3288, allocations: 1.117 MB / 0.6705 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.3291, allocations: 155.6 kB / 0.6706 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007544/0.3298, allocations: 0.5328 MB / 0.6712 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.3303, allocations: 454.1 kB / 0.6716 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.309e-05/0.3303, allocations: 44 kB / 0.6716 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.3316, allocations: 0.8148 MB / 0.6724 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.0007146/0.3323, allocations: 1.077 MB / 0.6735 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0003987/0.3327, allocations: 0.7265 MB / 0.6742 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.751e-05/0.3328, allocations: 111.6 kB / 0.6743 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0001066/0.3329, allocations: 67.78 kB / 0.6744 GB, free: 2.383 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: 107 (99) * Number of variables: 107 (107) Notification: Performance of Bindings: time 0.002309/0.3352, allocations: 2.946 MB / 0.6772 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.0001033/0.3353, allocations: 137.8 kB / 0.6774 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.001665/0.337, allocations: 1.886 MB / 0.6792 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simplify1: time 0.0001069/0.3371, allocations: 143.8 kB / 0.6794 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of Alias: time 0.001996/0.3391, allocations: 2.01 MB / 0.6813 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simplify2: time 9.749e-05/0.3392, allocations: 119.9 kB / 0.6814 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of Events: time 0.0002642/0.3395, allocations: 243.4 kB / 0.6817 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0004923/0.34, allocations: 405.5 kB / 0.682 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0005169/0.3405, allocations: 0.546 MB / 0.6826 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of Causalize: time 0.002299/0.3428, allocations: 2.29 MB / 0.6848 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.001065/0.3439, allocations: 1.307 MB / 0.6861 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of Inline: time 0.002095/0.346, allocations: 2.51 MB / 0.6885 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0001145/0.3461, allocations: 128.2 kB / 0.6887 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of Cleanup: time 8.456e-05/0.3462, allocations: 103.8 kB / 0.6888 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of Causalize: time 0.003532/0.3498, allocations: 3.382 MB / 0.6921 GB, free: 15.97 MB / 0.545 GB Notification: Performance of Tearing: time 0.0004861/0.3503, allocations: 0.559 MB / 0.6926 GB, free: 15.32 MB / 0.545 GB Notification: Performance of Initialization: time 3.61e-07/0.3503, allocations: 3.938 kB / 0.6926 GB, free: 15.31 MB / 0.545 GB Notification: Performance of Tearing: time 0.0003972/0.3507, allocations: 0.5356 MB / 0.6931 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Categorize: time 1.214e-05/0.3507, allocations: 7.984 kB / 0.6932 GB, free: 14.67 MB / 0.545 GB Notification: Performance of Solve: time 0.0004989/0.3512, allocations: 335.5 kB / 0.6935 GB, free: 14.35 MB / 0.545 GB Notification: Performance of Jacobian: time 0.0008137/0.352, allocations: 0.8693 MB / 0.6943 GB, free: 13.44 MB / 0.545 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * 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: ............................. 2 (2) {flowResistance.m_flow, flowResistance1.m_flow} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 19 (19) {$SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 86 (scalar:86, 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: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 116 (scalar:116, 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: 0, nonlinear:2) Notification: Performance of backend: time 7.072e-05/0.3521, allocations: 41.45 kB / 0.6944 GB, free: 13.4 MB / 0.545 GB Notification: Performance of SimCode: time 0.0032/0.3553, allocations: 3.202 MB / 0.6975 GB, free: 10.14 MB / 0.545 GB Notification: Performance of Templates: time 0.01277/0.3681, allocations: 9.243 MB / 0.7065 GB, free: 0.957 MB / 0.545 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches