Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.00187/0.00187, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002329/0.002329, allocations: 215.5 kB / 23.01 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.346/1.346, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.6852/0.6852, allocations: 94.58 MB / 407.8 MB, free: 9.18 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [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.002404/0.002404, allocations: 81.98 kB / 0.5562 GB, free: 38.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1087, allocations: 73.06 MB / 0.6275 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4753/0.5841, allocations: 215.8 MB / 0.8382 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01744/0.6015, allocations: 17.6 MB / 0.8554 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.6027, allocations: 70.94 kB / 0.8555 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.6043, allocations: 0.6239 MB / 0.8561 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00457/0.6089, allocations: 1.804 MB / 0.8579 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.6131, allocations: 1.699 MB / 0.8595 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002363/0.6154, allocations: 1.738 MB / 0.8612 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.6158, allocations: 184.9 kB / 0.8614 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.6182, allocations: 1.263 MB / 0.8626 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007915/0.619, allocations: 0.6411 MB / 0.8633 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.6191, allocations: 98.94 kB / 0.8633 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006488/0.6256, allocations: 3.548 MB / 0.8668 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.6259, allocations: 258.9 kB / 0.8671 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008022/0.6267, allocations: 0.6215 MB / 0.8677 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005113/0.6318, allocations: 2.402 MB / 0.87 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.6318, allocations: 0 / 0.87 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6318, allocations: 0 / 0.87 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.6318, allocations: 0 / 0.87 GB, free: 6.301 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003434/0.6353, allocations: 1.832 MB / 0.8718 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.6353, allocations: 8.031 kB / 0.8718 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.6372, allocations: 302.8 kB / 0.8721 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.6389, allocations: 0.8381 MB / 0.8729 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.6392, allocations: 273.9 kB / 0.8732 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.6393, allocations: 95.94 kB / 0.8733 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.6412, allocations: 1.009 MB / 0.8743 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.6412, allocations: 8 kB / 0.8743 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/0.6413, allocations: 39.98 kB / 0.8743 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.6413, allocations: 20 kB / 0.8743 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.643, allocations: 0.7885 MB / 0.8751 GB, free: 0.9531 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.005405/0.6484, allocations: 3.846 MB / 0.8788 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.6503, allocations: 0.8122 MB / 0.8796 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008107/0.6511, allocations: 403.2 kB / 0.88 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000355/0.6515, allocations: 116.5 kB / 0.8801 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.6515, allocations: 39.22 kB / 0.8802 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.474e-06/0.6515, allocations: 0 / 0.8802 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005089/0.6566, allocations: 1.705 MB / 0.8818 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.6567, allocations: 64 kB / 0.8819 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.6577, allocations: 0.7995 MB / 0.8827 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.474e-05/0.6577, allocations: 37.7 kB / 0.8827 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/0.6582, allocations: 0.5205 MB / 0.8832 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.6584, allocations: 297.5 kB / 0.8835 GB, free: 7.965 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.6587, allocations: 146.6 kB / 0.8836 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.6588, allocations: 337.9 kB / 0.884 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006877/0.6595, allocations: 317.8 kB / 0.8843 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007628/0.6603, allocations: 391.1 kB / 0.8846 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.6618, allocations: 0.6901 MB / 0.8853 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6618, allocations: 3.938 kB / 0.8853 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003095/0.6649, allocations: 1.241 MB / 0.8865 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6649, allocations: 4 kB / 0.8865 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6649, allocations: 4.062 kB / 0.8865 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008186/0.6657, allocations: 250.3 kB / 0.8868 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000957/0.6667, allocations: 203.8 kB / 0.887 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006076/0.6727, allocations: 4.927 MB / 0.8918 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007355/0.6735, allocations: 95.42 kB / 0.8919 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.6736, allocations: 51.97 kB / 0.8919 GB, free: 14.93 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004035/0.674, allocations: 221.7 kB / 0.8921 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.6742, allocations: 107.3 kB / 0.8922 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.6782, allocations: 1.823 MB / 0.894 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.6782, allocations: 17.31 kB / 0.894 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6782, allocations: 0 / 0.894 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.6783, allocations: 7.969 kB / 0.894 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/0.6832, allocations: 2.388 MB / 0.8964 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.6832, allocations: 4 kB / 0.8964 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/0.6842, allocations: 195.9 kB / 0.8966 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007435/0.6849, allocations: 251.2 kB / 0.8968 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.345e-05/0.685, allocations: 39.91 kB / 0.8968 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005892/0.6909, allocations: 4.921 MB / 0.9016 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6909, allocations: 4.031 kB / 0.9017 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003806/0.6947, allocations: 1.728 MB / 0.9033 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.6951, allocations: 183 kB / 0.9035 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.6952, allocations: 19.98 kB / 0.9035 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005306/0.6958, allocations: 43.97 kB / 0.9036 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.6959, allocations: 68.53 kB / 0.9036 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.696, allocations: 55.97 kB / 0.9037 GB, free: 2.387 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007107/0.6967, allocations: 0.5604 MB / 0.9042 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6967, allocations: 0 / 0.9042 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001198/0.6979, allocations: 486.8 kB / 0.9047 GB, free: 1.34 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (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.0009314/0.6988, allocations: 0.5627 MB / 0.9053 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00251/0.7013, allocations: 1.209 MB / 0.9064 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.7013, allocations: 0 / 0.9064 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.703, allocations: 0.8747 MB / 0.9073 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.7042, allocations: 277.5 kB / 0.9076 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004135/0.7083, allocations: 2.409 MB / 0.9099 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/0.709, allocations: 1.084 MB / 0.911 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/0.7096, allocations: 187.3 kB / 0.9111 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of SimCode: time 7.81e-07/0.7096, allocations: 0 / 0.9111 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.04309/0.7527, allocations: 32.58 MB / 0.943 GB, free: 10.02 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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: 11.133289329940453]