Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.001324/0.001324, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001445/0.001445, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.394/1.394, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 179] 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.7389/0.7389, 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.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.4929 GB, free: 25.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.679e-05, allocations: 6.281 kB / 0.4929 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.2242/0.2242, allocations: 191.3 MB / 0.6797 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.2411, allocations: 12.49 MB / 0.6919 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.2421, allocations: 75.31 kB / 0.6919 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.2438, allocations: 0.5699 MB / 0.6925 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005415/0.2492, allocations: 1.915 MB / 0.6944 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.2693/0.5185, allocations: 1.696 MB / 0.696 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002597/0.5211, allocations: 1.961 MB / 0.6979 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004051/0.5215, allocations: 187.9 kB / 0.6981 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002954/0.5245, allocations: 1.591 MB / 0.6997 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007234/0.5252, allocations: 0.4983 MB / 0.7002 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.5253, allocations: 94.31 kB / 0.7002 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005339/0.5307, allocations: 3.334 MB / 0.7035 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.5309, allocations: 257.3 kB / 0.7037 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005726/0.5315, allocations: 433.9 kB / 0.7042 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00379/0.5353, allocations: 2.512 MB / 0.7066 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5353, allocations: 2.016 kB / 0.7066 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5353, allocations: 1 kB / 0.7066 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.5353, allocations: 0 / 0.7066 GB, free: 6.027 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.003511/0.5388, allocations: 1.84 MB / 0.7084 GB, free: 21.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.5389, allocations: 10.56 kB / 0.7084 GB, free: 21.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.541, allocations: 312.3 kB / 0.7087 GB, free: 21.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.5428, allocations: 0.8579 MB / 0.7096 GB, free: 20.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002993/0.5431, allocations: 303.3 kB / 0.7098 GB, free: 20.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.5433, allocations: 97.44 kB / 0.7099 GB, free: 20.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.5453, allocations: 1.005 MB / 0.7109 GB, free: 20.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.5454, allocations: 1.969 kB / 0.7109 GB, free: 20.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-05/0.5454, allocations: 36.73 kB / 0.711 GB, free: 20.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.5455, allocations: 23.42 kB / 0.711 GB, free: 20.33 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.5475, allocations: 0.8278 MB / 0.7118 GB, free: 20.32 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.005251/0.5527, allocations: 2.724 MB / 0.7144 GB, free: 19.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/0.555, allocations: 0.8095 MB / 0.7152 GB, free: 19.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007966/0.5558, allocations: 382 kB / 0.7156 GB, free: 19.22 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003785/0.5562, allocations: 108.4 kB / 0.7157 GB, free: 19.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.5562, allocations: 39.16 kB / 0.7157 GB, free: 19.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.455e-06/0.5562, allocations: 0.9062 kB / 0.7157 GB, free: 19.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.006/0.5622, allocations: 1.735 MB / 0.7174 GB, free: 19.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.5623, allocations: 64.16 kB / 0.7175 GB, free: 18.99 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.5634, allocations: 0.7669 MB / 0.7182 GB, free: 18.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.5635, allocations: 40.36 kB / 0.7183 GB, free: 18.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/0.5639, allocations: 0.5426 MB / 0.7188 GB, free: 18.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/0.5641, allocations: 289.8 kB / 0.7191 GB, free: 18.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.5643, allocations: 157.2 kB / 0.7192 GB, free: 18.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5645, allocations: 335.5 kB / 0.7196 GB, free: 18.07 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006893/0.5652, allocations: 292.5 kB / 0.7198 GB, free: 18.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/0.5659, allocations: 386.1 kB / 0.7202 GB, free: 18.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.5674, allocations: 0.6732 MB / 0.7209 GB, free: 17.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5674, allocations: 4.688 kB / 0.7209 GB, free: 17.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003019/0.5704, allocations: 1.161 MB / 0.722 GB, free: 17.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.5705, allocations: 6.781 kB / 0.722 GB, free: 17.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.5705, allocations: 2.312 kB / 0.722 GB, free: 17.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008539/0.5713, allocations: 230.2 kB / 0.7222 GB, free: 17.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/0.5721, allocations: 179.5 kB / 0.7224 GB, free: 17.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006265/0.5783, allocations: 4.836 MB / 0.7271 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008672/0.5792, allocations: 79.64 kB / 0.7272 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.5794, allocations: 54.62 kB / 0.7273 GB, free: 14.18 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.0005511/0.5799, allocations: 227 kB / 0.7275 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/0.5803, allocations: 115.2 kB / 0.7276 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/0.5843, allocations: 1.743 MB / 0.7293 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.5843, allocations: 8.562 kB / 0.7293 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.5843, allocations: 2.156 kB / 0.7293 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.5843, allocations: 13.53 kB / 0.7293 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/0.5892, allocations: 2.044 MB / 0.7313 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.5892, allocations: 1.75 kB / 0.7313 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.5899, allocations: 164.9 kB / 0.7315 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007996/0.5907, allocations: 236.1 kB / 0.7317 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.932e-05/0.5908, allocations: 34.88 kB / 0.7317 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006012/0.5969, allocations: 4.784 MB / 0.7364 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5969, allocations: 3.844 kB / 0.7364 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/0.6005, allocations: 1.659 MB / 0.738 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/0.601, allocations: 184 kB / 0.7382 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/0.6013, allocations: 23.09 kB / 0.7382 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/0.602, allocations: 46.17 kB / 0.7383 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/0.6021, allocations: 74.59 kB / 0.7383 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.104e-05/0.6022, allocations: 49.09 kB / 0.7384 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007597/0.603, allocations: 0.528 MB / 0.7389 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.603, allocations: 0 / 0.7389 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001599/0.6046, allocations: 0.5021 MB / 0.7394 GB, free: 9.285 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (78): * Single equations (assignments): 75 * 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.001221/0.6058, allocations: 0.5899 MB / 0.74 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.6083, allocations: 1.18 MB / 0.7411 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.6083, allocations: 3.375 kB / 0.7411 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001358/0.6097, allocations: 0.8151 MB / 0.7419 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/0.6115, allocations: 363.7 kB / 0.7423 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004048/0.6155, allocations: 2.232 MB / 0.7444 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.616, allocations: 0.4987 MB / 0.7449 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001249/0.6172, allocations: 0.6424 MB / 0.7455 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.6177, allocations: 146.8 kB / 0.7457 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.6177, allocations: 0 / 0.7457 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of Templates: time 0.03788/0.6555, allocations: 22.14 MB / 0.7673 GB, free: 1.098 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.589091252535582]