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.001125/0.001125, allocations: 115.3 kB / 16.43 MB, free: 6.523 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.001109/0.00111, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.241/1.241, allocations: 222.9 MB / 241.1 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.6928/0.6928, allocations: 91.19 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.046e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TestFlowResistance): time 0.3769/0.3769, allocations: 149.5 MB / 0.6634 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005585/0.3825, allocations: 4.635 MB / 0.668 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006666/0.3832, allocations: 31.81 kB / 0.668 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009745/0.3842, allocations: 298 kB / 0.6683 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.3861, allocations: 0.6719 MB / 0.6689 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.3875, allocations: 0.4904 MB / 0.6694 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.3892, allocations: 1.12 MB / 0.6705 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.3896, allocations: 158.9 kB / 0.6707 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.3908, allocations: 0.5406 MB / 0.6712 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007609/0.3916, allocations: 446.1 kB / 0.6716 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.3918, allocations: 44 kB / 0.6717 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.3937, allocations: 0.8148 MB / 0.6725 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of combineBinaries: time 0.000952/0.3946, allocations: 1.074 MB / 0.6735 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.0005541/0.3952, allocations: 0.7292 MB / 0.6742 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.3954, allocations: 111.6 kB / 0.6743 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0001936/0.3956, allocations: 59.86 kB / 0.6744 GB, free: 2.355 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.003118/0.3987, allocations: 2.957 MB / 0.6773 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of FunctionAlias: time 0.0001466/0.3989, allocations: 131.7 kB / 0.6774 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of Early Inline: time 0.001844/0.4007, allocations: 1.895 MB / 0.6792 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of simplify1: time 0.0001247/0.4009, allocations: 137.5 kB / 0.6794 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of Alias: time 0.00221/0.4031, allocations: 2.006 MB / 0.6813 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0001112/0.4032, allocations: 119.9 kB / 0.6815 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0003507/0.4036, allocations: 350.8 kB / 0.6818 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of Events: time 0.0002934/0.4039, allocations: 239.2 kB / 0.682 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0005499/0.4044, allocations: 0.55 MB / 0.6826 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of Causalize: time 0.002434/0.4069, allocations: 2.295 MB / 0.6848 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.001171/0.4081, allocations: 1.307 MB / 0.6861 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of Inline: time 0.002387/0.4105, allocations: 2.518 MB / 0.6885 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0001373/0.4106, allocations: 119.6 kB / 0.6886 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of Cleanup: time 8.142e-05/0.4107, allocations: 103.8 kB / 0.6887 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of Causalize: time 0.003836/0.4145, allocations: 3.382 MB / 0.692 GB, free: 15.98 MB / 0.545 GB Notification: Performance of Tearing: time 0.0005976/0.4151, allocations: 0.6681 MB / 0.6927 GB, free: 15.22 MB / 0.545 GB Notification: Performance of Initialization: time 6.41e-07/0.4152, allocations: 4 kB / 0.6927 GB, free: 15.21 MB / 0.545 GB Notification: Performance of Tearing: time 0.0005387/0.4157, allocations: 0.6566 MB / 0.6933 GB, free: 14.46 MB / 0.545 GB Notification: Performance of Categorize: time 1.854e-05/0.4157, allocations: 8.031 kB / 0.6933 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Solve: time 0.0005799/0.4163, allocations: 323.5 kB / 0.6937 GB, free: 14.14 MB / 0.545 GB Notification: Performance of Jacobian: time 0.0009649/0.4173, allocations: 0.8693 MB / 0.6945 GB, free: 13.23 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: 2, nonlinear:0) 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: 2, nonlinear:0) Notification: Performance of backend: time 0.0001298/0.4174, allocations: 51.45 kB / 0.6946 GB, free: 13.18 MB / 0.545 GB Notification: Performance of SimCode: time 0.003759/0.4212, allocations: 3.236 MB / 0.6977 GB, free: 9.898 MB / 0.545 GB Notification: Performance of Templates: time 0.01378/0.435, allocations: 9.062 MB / 0.7066 GB, free: 0.8945 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