Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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.001415/0.001415, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001514/0.001514, allocations: 217.4 kB / 22.25 MB, free: 5.082 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 8.035 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.781/0.781, allocations: 94.56 MB / 407 MB, free: 9.215 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_parallel,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|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,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|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") [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.002624/0.002624, allocations: 89 kB / 0.5554 GB, free: 38.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1289, allocations: 73.05 MB / 0.6268 GB, free: 8 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6612/0.79, allocations: 310.4 MB / 0.9299 GB, free: 8.172 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05653/0.8466, allocations: 38.41 MB / 0.9674 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.8494, allocations: 150.6 kB / 0.9675 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004346/0.8537, allocations: 1.416 MB / 0.9689 GB, free: 72 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.8638, allocations: 3.459 MB / 0.9723 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01093/0.8748, allocations: 3.491 MB / 0.9757 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006852/0.8816, allocations: 3.842 MB / 0.9794 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.8831, allocations: 0.518 MB / 0.9799 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/0.8886, allocations: 2.468 MB / 0.9824 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002898/0.8915, allocations: 1.512 MB / 0.9838 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000913/0.8924, allocations: 235.9 kB / 0.9841 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.9083, allocations: 6.933 MB / 0.9908 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.9094, allocations: 0.5796 MB / 0.9914 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002665/0.9121, allocations: 1.41 MB / 0.9928 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01311/0.9252, allocations: 5.06 MB / 0.9977 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9252, allocations: 0 / 0.9977 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9252, allocations: 0 / 0.9977 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001271/0.9253, allocations: 0 / 0.9977 GB, free: 2.418 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.009441/0.9348, allocations: 3.709 MB / 1.001 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.9348, allocations: 12.03 kB / 1.001 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004876/0.9397, allocations: 0.6342 MB / 1.002 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004551/0.9442, allocations: 1.694 MB / 1.004 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006538/0.9449, allocations: 0.5507 MB / 1.004 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006551/0.9455, allocations: 216 kB / 1.004 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006028/0.9516, allocations: 2.323 MB / 1.007 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-05/0.9516, allocations: 0 / 1.007 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.9519, allocations: 83.94 kB / 1.007 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.952, allocations: 84.03 kB / 1.007 GB, free: 8.785 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004939/0.957, allocations: 1.882 MB / 1.009 GB, free: 6.887 MB / 0.7481 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.01566/0.9726, allocations: 8.738 MB / 1.017 GB, free: 13.45 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00501/0.9776, allocations: 1.854 MB / 1.019 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002445/0.9801, allocations: 0.9856 MB / 1.02 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008126/0.9809, allocations: 229.8 kB / 1.02 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.081e-05/0.981, allocations: 56.48 kB / 1.02 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=174): time 3.767e-06/0.981, allocations: 4 kB / 1.02 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of matching and sorting (n=176): time 0.01874/0.9997, allocations: 6.083 MB / 1.026 GB, free: 4.172 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.9998, allocations: 69.41 kB / 1.026 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/1.002, allocations: 1.554 MB / 1.028 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002985/1.003, allocations: 57.7 kB / 1.028 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009879/1.004, allocations: 1.065 MB / 1.029 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007742/1.004, allocations: 0.6273 MB / 1.029 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006807/1.005, allocations: 327.5 kB / 1.03 GB, free: 412 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.005, allocations: 301.1 kB / 1.03 GB, free: 108 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/1.007, allocations: 0.6988 MB / 1.031 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00197/1.009, allocations: 0.8566 MB / 1.032 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00382/1.013, allocations: 1.577 MB / 1.033 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.013, allocations: 0.6875 kB / 1.033 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007722/1.021, allocations: 2.717 MB / 1.036 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/1.021, allocations: 12.09 kB / 1.036 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.021, allocations: 0 / 1.036 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002036/1.023, allocations: 0.5641 MB / 1.036 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/1.025, allocations: 419.4 kB / 1.037 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2925/1.317, allocations: 9.624 MB / 1.046 GB, free: 316.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/1.319, allocations: 89.98 kB / 1.046 GB, free: 316.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/1.319, allocations: 121.7 kB / 1.046 GB, free: 316.3 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,1,88.9%), (2,17,100.0%), (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.0008567/1.32, allocations: 379.8 kB / 1.047 GB, free: 316.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004664/1.321, allocations: 233.8 kB / 1.047 GB, free: 316.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00935/1.33, allocations: 4.054 MB / 1.051 GB, free: 316 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/1.33, allocations: 23.14 kB / 1.051 GB, free: 316 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.158e-05/1.33, allocations: 6.094 kB / 1.051 GB, free: 316 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-05/1.33, allocations: 9.375 kB / 1.051 GB, free: 316 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.341, allocations: 5.175 MB / 1.056 GB, free: 314.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/1.341, allocations: 3.812 kB / 1.056 GB, free: 314.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002306/1.344, allocations: 417.2 kB / 1.056 GB, free: 314.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/1.346, allocations: 0.5679 MB / 1.057 GB, free: 314.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002775/1.346, allocations: 81.2 kB / 1.057 GB, free: 314.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/1.357, allocations: 9.613 MB / 1.066 GB, free: 306.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.357, allocations: 10.66 kB / 1.066 GB, free: 306.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008201/1.365, allocations: 3.749 MB / 1.07 GB, free: 305.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009141/1.366, allocations: 373.7 kB / 1.07 GB, free: 305.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003144/1.366, allocations: 43.16 kB / 1.07 GB, free: 305.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/1.367, allocations: 91.28 kB / 1.071 GB, free: 305.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/1.368, allocations: 160.2 kB / 1.071 GB, free: 305.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.368, allocations: 114.7 kB / 1.071 GB, free: 305.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001189/1.369, allocations: 1.054 MB / 1.072 GB, free: 304.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.369, allocations: 3.656 kB / 1.072 GB, free: 304.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00228/1.371, allocations: 0.89 MB / 1.073 GB, free: 304.6 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/1.373, allocations: 1.039 MB / 1.074 GB, free: 304.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005099/1.378, allocations: 2.594 MB / 1.076 GB, free: 303.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.378, allocations: 5.219 kB / 1.076 GB, free: 303.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003455/1.381, allocations: 1.841 MB / 1.078 GB, free: 302.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/1.384, allocations: 0.5821 MB / 1.079 GB, free: 302 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007673/1.392, allocations: 4.964 MB / 1.083 GB, free: 299.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008312/1.392, allocations: 1.586 MB / 1.085 GB, free: 298 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002503/1.395, allocations: 1.438 MB / 1.086 GB, free: 297.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008462/1.396, allocations: 324.1 kB / 1.087 GB, free: 297.1 MB / 0.7794 GB Notification: Performance of SimCode: time 1.533e-06/1.396, allocations: 4 kB / 1.087 GB, free: 297.1 MB / 0.7794 GB Notification: Performance of Templates: time 0.05928/1.455, allocations: 44.46 MB / 1.13 GB, free: 253 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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: 8.695106829050928]