Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 217.3 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8155/0.8155, allocations: 94.56 MB / 407 MB, free: 9.191 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 88.33 kB / 0.5554 GB, free: 38.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1309, allocations: 73.06 MB / 0.6268 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.6119/0.7428, allocations: 236.7 MB / 0.8579 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03073/0.7735, allocations: 22.55 MB / 0.8799 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001893/0.7754, allocations: 91.12 kB / 0.88 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.778, allocations: 0.8026 MB / 0.8808 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006948/0.7849, allocations: 2.103 MB / 0.8828 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006949/0.7919, allocations: 2.212 MB / 0.885 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00431/0.7962, allocations: 2.255 MB / 0.8872 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.7969, allocations: 261.7 kB / 0.8874 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003331/0.8002, allocations: 1.464 MB / 0.8889 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.8016, allocations: 0.8513 MB / 0.8897 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002695/0.8018, allocations: 136 kB / 0.8898 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00965/0.8115, allocations: 4.232 MB / 0.894 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005997/0.8121, allocations: 346.6 kB / 0.8943 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.8133, allocations: 0.8275 MB / 0.8951 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007849/0.8211, allocations: 3.044 MB / 0.8981 GB, free: 8.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.8212, allocations: 8 kB / 0.8981 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8212, allocations: 0 / 0.8981 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.837e-05/0.8212, allocations: 0 / 0.8981 GB, free: 8.742 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.005304/0.8265, allocations: 2.325 MB / 0.9004 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.8265, allocations: 8.031 kB / 0.9004 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003107/0.8297, allocations: 430.5 kB / 0.9008 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.8323, allocations: 1.028 MB / 0.9018 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005524/0.8329, allocations: 0.4982 MB / 0.9023 GB, free: 4.281 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.8331, allocations: 124 kB / 0.9024 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003306/0.8365, allocations: 1.458 MB / 0.9038 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.8365, allocations: 3.938 kB / 0.9038 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.8366, allocations: 48 kB / 0.9039 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.8366, allocations: 32 kB / 0.9039 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002838/0.8395, allocations: 1.184 MB / 0.905 GB, free: 1.379 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008493/0.848, allocations: 5.163 MB / 0.9101 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.8511, allocations: 1.263 MB / 0.9113 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.8527, allocations: 0.6621 MB / 0.912 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005125/0.8532, allocations: 152.8 kB / 0.9121 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.8533, allocations: 55.48 kB / 0.9122 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=113): time 3.286e-06/0.8533, allocations: 0 / 0.9122 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of matching and sorting (n=113): time 0.009212/0.8625, allocations: 2.739 MB / 0.9148 GB, free: 6.941 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.8626, allocations: 60.41 kB / 0.9149 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.8639, allocations: 0.9174 MB / 0.9158 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.864, allocations: 45.7 kB / 0.9158 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005652/0.8646, allocations: 0.639 MB / 0.9165 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000425/0.865, allocations: 408.4 kB / 0.9168 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.8654, allocations: 206.9 kB / 0.917 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8656, allocations: 345.9 kB / 0.9174 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.8668, allocations: 498.3 kB / 0.9179 GB, free: 3.805 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.8682, allocations: 0.5879 MB / 0.9184 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002609/0.8708, allocations: 1.055 MB / 0.9195 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.8708, allocations: 0 / 0.9195 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005732/0.8765, allocations: 1.917 MB / 0.9213 GB, free: 200 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.8765, allocations: 4 kB / 0.9213 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.8765, allocations: 4 kB / 0.9213 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.8779, allocations: 412.8 kB / 0.9217 GB, free: 15.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001592/0.8795, allocations: 299.7 kB / 0.922 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.8901, allocations: 7.025 MB / 0.9289 GB, free: 8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001216/0.8913, allocations: 131.3 kB / 0.929 GB, free: 7.871 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.8915, allocations: 75.97 kB / 0.9291 GB, free: 7.797 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006286/0.8921, allocations: 257.7 kB / 0.9293 GB, free: 7.535 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/0.8925, allocations: 139.1 kB / 0.9295 GB, free: 7.398 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007174/0.8996, allocations: 2.708 MB / 0.9321 GB, free: 4.664 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.8997, allocations: 15.94 kB / 0.9321 GB, free: 4.648 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/0.8997, allocations: 4 kB / 0.9321 GB, free: 4.645 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/0.8997, allocations: 7.969 kB / 0.9321 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008685/0.9084, allocations: 3.494 MB / 0.9355 GB, free: 1.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.9084, allocations: 0 / 0.9355 GB, free: 1.07 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/0.9101, allocations: 299.8 kB / 0.9358 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.9115, allocations: 424.1 kB / 0.9362 GB, free: 360 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/0.9117, allocations: 51.91 kB / 0.9363 GB, free: 308 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.9223, allocations: 7.005 MB / 0.9431 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9223, allocations: 4.031 kB / 0.9431 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007142/0.9294, allocations: 2.607 MB / 0.9457 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007792/0.9302, allocations: 246.6 kB / 0.9459 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.9304, allocations: 24.14 kB / 0.9459 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008611/0.9313, allocations: 71.92 kB / 0.946 GB, free: 5.848 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002421/0.9315, allocations: 116.7 kB / 0.9461 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.9316, allocations: 63.97 kB / 0.9462 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009281/0.9326, allocations: 0.6312 MB / 0.9468 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.9326, allocations: 0 / 0.9468 GB, free: 5.035 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001883/0.9344, allocations: 0.6079 MB / 0.9474 GB, free: 4.426 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/0.9358, allocations: 0.6837 MB / 0.948 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004735/0.9405, allocations: 1.827 MB / 0.9498 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.9405, allocations: 0 / 0.9498 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003141/0.9437, allocations: 1.332 MB / 0.9511 GB, free: 492 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.9453, allocations: 314.9 kB / 0.9514 GB, free: 192 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.9517, allocations: 3.111 MB / 0.9545 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.9527, allocations: 1.206 MB / 0.9556 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00192/0.9546, allocations: 0.8421 MB / 0.9565 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000583/0.9552, allocations: 183.3 kB / 0.9566 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of SimCode: time 8.31e-07/0.9552, allocations: 0 / 0.9566 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of Templates: time 0.05048/1.006, allocations: 26.26 MB / 0.9823 GB, free: 0.6758 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.553298932965845]