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.002028/0.002028, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.002829/0.002829, allocations: 161.8 kB / 23.01 MB, free: 4.598 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.538/1.538, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.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.8691/0.8691, allocations: 74.91 MB / 334.7 MB, free: 15.53 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.002647/0.002647, allocations: 80.59 kB / 496.4 MB, free: 29.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1649, allocations: 73.04 MB / 0.5561 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.6642/0.8291, allocations: 205.8 MB / 0.7571 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02335/0.8525, allocations: 20.31 MB / 0.7769 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.8545, allocations: 87.94 kB / 0.777 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002738/0.8573, allocations: 0.7113 MB / 0.7777 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00716/0.8644, allocations: 2.085 MB / 0.7797 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007684/0.8721, allocations: 2.187 MB / 0.7818 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004395/0.8765, allocations: 2.252 MB / 0.784 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007857/0.8773, allocations: 251.5 kB / 0.7843 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004149/0.8814, allocations: 1.476 MB / 0.7857 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.8833, allocations: 0.7696 MB / 0.7865 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000517/0.8838, allocations: 131.4 kB / 0.7866 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009463/0.8933, allocations: 3.934 MB / 0.7904 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008953/0.8942, allocations: 352 kB / 0.7908 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.8958, allocations: 0.6693 MB / 0.7914 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00936/0.9052, allocations: 3.026 MB / 0.7944 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.9052, allocations: 0 / 0.7944 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9052, allocations: 0 / 0.7944 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.838e-05/0.9053, allocations: 0 / 0.7944 GB, free: 8.117 MB / 0.6075 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.006346/0.9116, allocations: 2.32 MB / 0.7967 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.9117, allocations: 8.688 kB / 0.7967 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003654/0.9153, allocations: 439.8 kB / 0.7971 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/0.9184, allocations: 1.031 MB / 0.7981 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005676/0.9189, allocations: 0.4937 MB / 0.7986 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004019/0.9193, allocations: 132.9 kB / 0.7987 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/0.9228, allocations: 1.453 MB / 0.8001 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.9228, allocations: 0 / 0.8001 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.923, allocations: 48.81 kB / 0.8002 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.923, allocations: 35.56 kB / 0.8002 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.926, allocations: 1.183 MB / 0.8014 GB, free: 3.473 MB / 0.6075 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.007981/0.934, allocations: 3.488 MB / 0.8048 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/0.9375, allocations: 1.242 MB / 0.806 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.9393, allocations: 0.6625 MB / 0.8066 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/0.9398, allocations: 152.8 kB / 0.8068 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.931e-05/0.9399, allocations: 47.5 kB / 0.8068 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 5.2e-06/0.9399, allocations: 4 kB / 0.8068 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.01033/0.9502, allocations: 2.728 MB / 0.8095 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.9503, allocations: 68.34 kB / 0.8095 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.9518, allocations: 0.8495 MB / 0.8104 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.952, allocations: 45.7 kB / 0.8104 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006047/0.9526, allocations: 0.6503 MB / 0.8111 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000555/0.9532, allocations: 408.4 kB / 0.8114 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004032/0.9536, allocations: 202.9 kB / 0.8116 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.9538, allocations: 349.9 kB / 0.812 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.9551, allocations: 0.4905 MB / 0.8125 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.9567, allocations: 0.5801 MB / 0.813 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002973/0.9596, allocations: 1.056 MB / 0.814 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.9596, allocations: 8 kB / 0.8141 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006233/0.9659, allocations: 1.911 MB / 0.8159 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.9659, allocations: 4 kB / 0.8159 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.9659, allocations: 4 kB / 0.8159 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001561/0.9675, allocations: 411.8 kB / 0.8163 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.9692, allocations: 304.1 kB / 0.8166 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.981, allocations: 6.868 MB / 0.8233 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.9823, allocations: 127.4 kB / 0.8234 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003464/0.9827, allocations: 72.06 kB / 0.8235 GB, free: 13.19 MB / 0.6387 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.0008855/0.9836, allocations: 260.2 kB / 0.8238 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005252/0.9841, allocations: 139.1 kB / 0.8239 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00782/0.9919, allocations: 2.716 MB / 0.8265 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-05/0.9919, allocations: 12 kB / 0.8266 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.992, allocations: 11.94 kB / 0.8266 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.447e-05/0.992, allocations: 3.984 kB / 0.8266 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009794/1.002, allocations: 3.184 MB / 0.8297 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.002, allocations: 4.875 kB / 0.8297 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/1.004, allocations: 290.2 kB / 0.83 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/1.005, allocations: 415.1 kB / 0.8304 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002165/1.005, allocations: 59.95 kB / 0.8304 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/1.017, allocations: 6.871 MB / 0.8371 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.017, allocations: 6.562 kB / 0.8371 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008225/1.025, allocations: 2.599 MB / 0.8397 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009707/1.026, allocations: 234.8 kB / 0.8399 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004037/1.026, allocations: 28 kB / 0.8399 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.027, allocations: 67.92 kB / 0.84 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003043/1.028, allocations: 107.3 kB / 0.8401 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.028, allocations: 68.06 kB / 0.8402 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009776/1.029, allocations: 0.5785 MB / 0.8407 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.1e-08/1.029, allocations: 0 / 0.8407 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002349/1.031, allocations: 0.6273 MB / 0.8413 GB, free: 10.49 MB / 0.6544 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.001756/1.033, allocations: 0.6758 MB / 0.842 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005315/1.038, allocations: 1.83 MB / 0.8438 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.038, allocations: 4 kB / 0.8438 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003426/1.042, allocations: 1.324 MB / 0.8451 GB, free: 6.605 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.044, allocations: 294.4 kB / 0.8454 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007549/1.051, allocations: 3.09 MB / 0.8484 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/1.053, allocations: 0.6208 MB / 0.849 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002812/1.055, allocations: 0.838 MB / 0.8498 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007266/1.056, allocations: 188.4 kB / 0.85 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of SimCode: time 1.463e-06/1.056, allocations: 0 / 0.85 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of Templates: time 0.05047/1.107, allocations: 25.17 MB / 0.8746 GB, free: 8.656 MB / 0.6856 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 -s ida -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/jenkins1/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.928536138962954]