Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001823/0.001823, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6579/0.6579, allocations: 94.59 MB / 399.1 MB, free: 15.73 MB / 334.1 MB " [Timeout remaining time 179] 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.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_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002463/0.002463, allocations: 79.88 kB / 0.5448 GB, free: 12.03 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4723, allocations: 71.84 MB / 0.615 GB, free: 4.074 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.7899/1.262, allocations: 310.2 MB / 0.9179 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04113/1.303, allocations: 38.43 MB / 0.9554 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003486/1.307, allocations: 105.5 kB / 0.9555 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004269/1.311, allocations: 1.412 MB / 0.9569 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/1.322, allocations: 3.421 MB / 0.9603 GB, free: 1.301 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01063/1.332, allocations: 3.454 MB / 0.9636 GB, free: 1.18 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006643/1.339, allocations: 3.827 MB / 0.9674 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/1.34, allocations: 0.5146 MB / 0.9679 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005144/1.345, allocations: 2.416 MB / 0.9702 GB, free: 0.6172 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/1.348, allocations: 1.498 MB / 0.9717 GB, free: 280 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006491/1.349, allocations: 231 kB / 0.9719 GB, free: 280 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/1.364, allocations: 6.799 MB / 0.9786 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/1.365, allocations: 0.591 MB / 0.9791 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002734/1.368, allocations: 1.41 MB / 0.9805 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01494/1.383, allocations: 5.046 MB / 0.9854 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.383, allocations: 0 / 0.9854 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.593e-06/1.383, allocations: 0 / 0.9854 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001253/1.383, allocations: 4 kB / 0.9854 GB, free: 13.29 MB / 0.7012 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.008867/1.392, allocations: 3.779 MB / 0.9891 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.392, allocations: 8.062 kB / 0.9891 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00449/1.396, allocations: 0.6349 MB / 0.9898 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003826/1.4, allocations: 1.82 MB / 0.9915 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004415/1.401, allocations: 410.5 kB / 0.9919 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003953/1.401, allocations: 211.8 kB / 0.9921 GB, free: 9.582 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004647/1.406, allocations: 2.322 MB / 0.9944 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.027e-05/1.406, allocations: 0 / 0.9944 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/1.406, allocations: 83 kB / 0.9945 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001176/1.406, allocations: 76.05 kB / 0.9946 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004146/1.41, allocations: 1.884 MB / 0.9964 GB, free: 7.215 MB / 0.7012 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.01409/1.424, allocations: 9.291 MB / 1.005 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004541/1.429, allocations: 1.858 MB / 1.007 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/1.431, allocations: 0.9881 MB / 1.008 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002182/1.433, allocations: 2.607 MB / 1.011 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.45e-05/1.433, allocations: 58.62 kB / 1.011 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 3.447e-06/1.433, allocations: 0 / 1.011 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.01791/1.451, allocations: 6.686 MB / 1.017 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/1.451, allocations: 73.41 kB / 1.017 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00236/1.454, allocations: 1.554 MB / 1.019 GB, free: 48 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002496/1.454, allocations: 57.75 kB / 1.019 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009487/1.455, allocations: 1.073 MB / 1.02 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006294/1.456, allocations: 0.619 MB / 1.021 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006249/1.456, allocations: 323.5 kB / 1.021 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.456, allocations: 305.1 kB / 1.021 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/1.458, allocations: 0.7027 MB / 1.022 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/1.46, allocations: 0.848 MB / 1.023 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003622/1.464, allocations: 1.576 MB / 1.024 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.464, allocations: 0 / 1.024 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007498/1.471, allocations: 2.721 MB / 1.027 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/1.471, allocations: 4 kB / 1.027 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.471, allocations: 4 kB / 1.027 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/1.473, allocations: 0.5648 MB / 1.028 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/1.475, allocations: 423.9 kB / 1.028 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/1.49, allocations: 10.15 MB / 1.038 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/1.492, allocations: 83.97 kB / 1.038 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004081/1.493, allocations: 124 kB / 1.038 GB, free: 11.79 MB / 0.7481 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.00119/1.494, allocations: 387.8 kB / 1.038 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006077/1.495, allocations: 230.5 kB / 1.039 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.505, allocations: 4.067 MB / 1.043 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/1.505, allocations: 20 kB / 1.043 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/1.505, allocations: 10.62 kB / 1.043 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/1.505, allocations: 7.969 kB / 1.043 GB, free: 7.109 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/1.518, allocations: 5.283 MB / 1.048 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.518, allocations: 4 kB / 1.048 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/1.52, allocations: 411.7 kB / 1.048 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/1.522, allocations: 0.5708 MB / 1.049 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/1.522, allocations: 79.94 kB / 1.049 GB, free: 0.7305 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01421/1.536, allocations: 10.13 MB / 1.059 GB, free: 5.953 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.536, allocations: 4.062 kB / 1.059 GB, free: 5.949 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009717/1.546, allocations: 3.76 MB / 1.062 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.547, allocations: 443.5 kB / 1.063 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/1.548, allocations: 43.98 kB / 1.063 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.549, allocations: 91.91 kB / 1.063 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000377/1.549, allocations: 152.4 kB / 1.063 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002606/1.549, allocations: 124.1 kB / 1.063 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001601/1.551, allocations: 1.047 MB / 1.064 GB, free: 244 kB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/1.551, allocations: 0 / 1.064 GB, free: 244 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003061/1.554, allocations: 0.8893 MB / 1.065 GB, free: 15.35 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.002101/1.556, allocations: 1.06 MB / 1.066 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005971/1.562, allocations: 2.591 MB / 1.069 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.562, allocations: 0 / 1.069 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003982/1.566, allocations: 1.846 MB / 1.07 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002721/1.569, allocations: 0.5604 MB / 1.071 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009346/1.578, allocations: 4.96 MB / 1.076 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001366/1.58, allocations: 1.589 MB / 1.077 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003261/1.583, allocations: 1.445 MB / 1.079 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000974/1.584, allocations: 315.2 kB / 1.079 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of SimCode: time 1.542e-06/1.584, allocations: 0 / 1.079 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of Templates: time 0.08441/1.668, allocations: 44.01 MB / 1.122 GB, free: 5.406 MB / 0.8262 GB " [Timeout remaining time 658] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.93562637642026]