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.001588/0.001588, allocations: 78.72 kB / 19.18 MB, free: 2.527 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.001776/0.001776, allocations: 167.5 kB / 22.46 MB, free: 5.363 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7471/0.7471, allocations: 80.2 MB / 339.4 MB, free: 10.86 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.4929 GB, free: 25.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.832e-05, allocations: 5.656 kB / 0.4929 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.2291/0.2291, allocations: 191.3 MB / 0.6797 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01703/0.2462, allocations: 12.48 MB / 0.6919 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.2473, allocations: 75.31 kB / 0.6919 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.2489, allocations: 0.5737 MB / 0.6925 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005081/0.254, allocations: 1.907 MB / 0.6943 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.2747/0.5287, allocations: 1.707 MB / 0.696 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00297/0.5317, allocations: 1.967 MB / 0.6979 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.5322, allocations: 181.2 kB / 0.6981 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.536, allocations: 1.605 MB / 0.6997 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009117/0.5369, allocations: 0.4982 MB / 0.7002 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.5371, allocations: 93.5 kB / 0.7002 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006444/0.5436, allocations: 3.328 MB / 0.7035 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005259/0.5441, allocations: 259.9 kB / 0.7037 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.5453, allocations: 436.5 kB / 0.7042 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.5509, allocations: 2.517 MB / 0.7066 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5509, allocations: 0.7188 kB / 0.7066 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5509, allocations: 0 / 0.7066 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.755e-05/0.5509, allocations: 0.9375 kB / 0.7066 GB, free: 6.07 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003777/0.5547, allocations: 1.843 MB / 0.7084 GB, free: 21.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.5548, allocations: 8.844 kB / 0.7084 GB, free: 21.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/0.557, allocations: 309 kB / 0.7087 GB, free: 21.08 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/0.5588, allocations: 0.8628 MB / 0.7096 GB, free: 20.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.5591, allocations: 300.6 kB / 0.7099 GB, free: 20.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.5593, allocations: 100.2 kB / 0.71 GB, free: 20.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.5614, allocations: 1.009 MB / 0.7109 GB, free: 20.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.5614, allocations: 1.781 kB / 0.7109 GB, free: 20.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.431e-05/0.5615, allocations: 37.92 kB / 0.711 GB, free: 20.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.5615, allocations: 22.69 kB / 0.711 GB, free: 20.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.5636, allocations: 0.8311 MB / 0.7118 GB, free: 20.36 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.006549/0.5701, allocations: 2.734 MB / 0.7145 GB, free: 19.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.5723, allocations: 0.8169 MB / 0.7153 GB, free: 19.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008262/0.5731, allocations: 387 kB / 0.7156 GB, free: 19.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003872/0.5735, allocations: 103.6 kB / 0.7157 GB, free: 19.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.5735, allocations: 43.77 kB / 0.7158 GB, free: 19.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.945e-06/0.5735, allocations: 0.875 kB / 0.7158 GB, free: 19.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.006293/0.5798, allocations: 1.754 MB / 0.7175 GB, free: 19.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.5799, allocations: 63.56 kB / 0.7176 GB, free: 19.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.581, allocations: 0.7603 MB / 0.7183 GB, free: 18.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.5812, allocations: 39.67 kB / 0.7183 GB, free: 18.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.5815, allocations: 0.5458 MB / 0.7189 GB, free: 18.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.5817, allocations: 293 kB / 0.7192 GB, free: 18.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.582, allocations: 157.4 kB / 0.7193 GB, free: 18.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.5822, allocations: 332.2 kB / 0.7196 GB, free: 18.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006959/0.5829, allocations: 301.1 kB / 0.7199 GB, free: 18.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/0.5836, allocations: 382.8 kB / 0.7203 GB, free: 18.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.5851, allocations: 0.6834 MB / 0.7209 GB, free: 17.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5851, allocations: 1.219 kB / 0.7209 GB, free: 17.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003101/0.5882, allocations: 1.17 MB / 0.7221 GB, free: 17.85 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5882, allocations: 6.062 kB / 0.7221 GB, free: 17.85 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5883, allocations: 3 kB / 0.7221 GB, free: 17.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008453/0.5891, allocations: 234.5 kB / 0.7223 GB, free: 17.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007617/0.5899, allocations: 176.2 kB / 0.7225 GB, free: 17.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006303/0.5962, allocations: 4.829 MB / 0.7272 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009756/0.5971, allocations: 83.56 kB / 0.7273 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.5973, allocations: 53.59 kB / 0.7273 GB, free: 14.21 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 81 * 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 {(2,2,100.0%), (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.0005601/0.5978, allocations: 228 kB / 0.7275 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.5981, allocations: 114.9 kB / 0.7277 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/0.6021, allocations: 1.727 MB / 0.7293 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.6021, allocations: 9.375 kB / 0.7294 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6021, allocations: 2.906 kB / 0.7294 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.6021, allocations: 9.562 kB / 0.7294 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.6067, allocations: 2.021 MB / 0.7313 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.6067, allocations: 1.25 kB / 0.7313 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/0.6074, allocations: 164.2 kB / 0.7315 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007981/0.6082, allocations: 243.3 kB / 0.7317 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.141e-05/0.6083, allocations: 37.39 kB / 0.7318 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005946/0.6143, allocations: 4.783 MB / 0.7364 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6143, allocations: 0.7812 kB / 0.7364 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/0.6179, allocations: 1.655 MB / 0.7381 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004478/0.6184, allocations: 175.7 kB / 0.7382 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.6185, allocations: 29.77 kB / 0.7382 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/0.6191, allocations: 45.56 kB / 0.7383 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.6192, allocations: 73.27 kB / 0.7384 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/0.6193, allocations: 46.41 kB / 0.7384 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006073/0.6199, allocations: 0.5304 MB / 0.7389 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6199, allocations: 0.9062 kB / 0.7389 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001379/0.6213, allocations: 0.5012 MB / 0.7394 GB, free: 9.336 MB / 0.6075 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%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00097/0.6223, allocations: 0.5949 MB / 0.74 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002391/0.6247, allocations: 1.186 MB / 0.7412 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6247, allocations: 0 / 0.7412 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.626, allocations: 0.8148 MB / 0.7419 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.6276, allocations: 363 kB / 0.7423 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.6314, allocations: 2.224 MB / 0.7445 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.6318, allocations: 0.4944 MB / 0.7449 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001229/0.633, allocations: 0.64 MB / 0.7456 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/0.6334, allocations: 151.5 kB / 0.7457 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of SimCode: time 8.41e-07/0.6334, allocations: 0 / 0.7457 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of Templates: time 0.0356/0.669, allocations: 21.94 MB / 0.7671 GB, free: 1.227 MB / 0.6075 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/jenkins/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: 6.624295257031918]