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.001924/0.001924, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002249/0.002249, allocations: 162.4 kB / 23.01 MB, free: 4.949 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.7708/0.7708, allocations: 74.91 MB / 334.7 MB, free: 15.52 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.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: 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.002786/0.002786, allocations: 83.12 kB / 496.4 MB, free: 29.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1452, allocations: 73.03 MB / 0.5561 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.6169/0.7621, allocations: 187.2 MB / 0.7389 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01727/0.7794, allocations: 15.85 MB / 0.7544 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00157/0.781, allocations: 75.44 kB / 0.7544 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.7827, allocations: 0.5453 MB / 0.755 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004931/0.7876, allocations: 1.79 MB / 0.7567 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004697/0.7923, allocations: 1.676 MB / 0.7584 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002763/0.7951, allocations: 1.728 MB / 0.76 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/0.7956, allocations: 180.5 kB / 0.7602 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.7985, allocations: 1.259 MB / 0.7614 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009591/0.7995, allocations: 0.5754 MB / 0.762 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.7997, allocations: 93.5 kB / 0.7621 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006763/0.8064, allocations: 3.336 MB / 0.7654 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004245/0.8068, allocations: 255 kB / 0.7656 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008183/0.8077, allocations: 0.4957 MB / 0.7661 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006288/0.8139, allocations: 2.373 MB / 0.7684 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.814, allocations: 0 / 0.7684 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.384e-06/0.814, allocations: 0.9375 kB / 0.7684 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.822e-05/0.814, allocations: 2.5 kB / 0.7684 GB, free: 1.922 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.004188/0.8182, allocations: 1.827 MB / 0.7702 GB, free: 16.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.8182, allocations: 8.875 kB / 0.7702 GB, free: 16.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.8204, allocations: 306 kB / 0.7705 GB, free: 16.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001883/0.8223, allocations: 0.8385 MB / 0.7713 GB, free: 16.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002943/0.8226, allocations: 276.9 kB / 0.7716 GB, free: 16.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.8228, allocations: 95.38 kB / 0.7717 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.8246, allocations: 1.011 MB / 0.7727 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.8247, allocations: 0.9375 kB / 0.7727 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.301e-05/0.8248, allocations: 36.66 kB / 0.7727 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.8248, allocations: 20.34 kB / 0.7727 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.8266, allocations: 0.7882 MB / 0.7735 GB, free: 15.3 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.005354/0.8319, allocations: 2.612 MB / 0.776 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.8339, allocations: 0.8077 MB / 0.7768 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007984/0.8347, allocations: 407.8 kB / 0.7772 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003699/0.8351, allocations: 100.8 kB / 0.7773 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.8351, allocations: 48.95 kB / 0.7773 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.076e-06/0.8351, allocations: 2.844 kB / 0.7774 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005481/0.8406, allocations: 1.693 MB / 0.779 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.8407, allocations: 60.25 kB / 0.7791 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.8417, allocations: 0.7298 MB / 0.7798 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.8419, allocations: 41.05 kB / 0.7798 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/0.8423, allocations: 0.5327 MB / 0.7803 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003296/0.8426, allocations: 286.2 kB / 0.7806 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.8429, allocations: 160.8 kB / 0.7808 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.8431, allocations: 332.5 kB / 0.7811 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007583/0.8438, allocations: 310 kB / 0.7814 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008082/0.8447, allocations: 389.2 kB / 0.7817 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.8462, allocations: 0.6833 MB / 0.7824 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.8462, allocations: 2.188 kB / 0.7824 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003362/0.8495, allocations: 1.223 MB / 0.7836 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.8496, allocations: 13.11 kB / 0.7836 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.8496, allocations: 2.312 kB / 0.7836 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009211/0.8505, allocations: 244.3 kB / 0.7839 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.8516, allocations: 203.2 kB / 0.7841 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006754/0.8584, allocations: 4.833 MB / 0.7888 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009089/0.8593, allocations: 79.34 kB / 0.7888 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.8594, allocations: 53.45 kB / 0.7889 GB, free: 5.051 MB / 0.6075 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.0005745/0.86, allocations: 225.9 kB / 0.7891 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.8603, allocations: 113.6 kB / 0.7892 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004616/0.8649, allocations: 1.818 MB / 0.791 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.8649, allocations: 8.406 kB / 0.791 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8649, allocations: 3.5 kB / 0.791 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.865, allocations: 7.078 kB / 0.791 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.8703, allocations: 2.17 MB / 0.7931 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.8703, allocations: 2.719 kB / 0.7931 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.8714, allocations: 199.8 kB / 0.7933 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008816/0.8723, allocations: 250.6 kB / 0.7936 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001243/0.8724, allocations: 32.58 kB / 0.7936 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006723/0.8791, allocations: 4.829 MB / 0.7983 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.8791, allocations: 6.531 kB / 0.7983 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004704/0.8838, allocations: 1.727 MB / 0.8 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/0.8844, allocations: 183 kB / 0.8002 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.8846, allocations: 16 kB / 0.8002 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006661/0.8853, allocations: 47.95 kB / 0.8002 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/0.8855, allocations: 76.81 kB / 0.8003 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.8856, allocations: 55.38 kB / 0.8004 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000825/0.8864, allocations: 0.5077 MB / 0.8009 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.8864, allocations: 0 / 0.8009 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001612/0.888, allocations: 490.7 kB / 0.8013 GB, free: 11.21 MB / 0.6231 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%), (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.001247/0.8893, allocations: 0.5698 MB / 0.8019 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003122/0.8924, allocations: 1.2 MB / 0.8031 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.8924, allocations: 0 / 0.8031 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.8945, allocations: 0.8899 MB / 0.8039 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.896, allocations: 237.8 kB / 0.8042 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005224/0.9012, allocations: 2.366 MB / 0.8065 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006684/0.9019, allocations: 0.5017 MB / 0.807 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00157/0.9035, allocations: 0.6234 MB / 0.8076 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.9039, allocations: 148.4 kB / 0.8077 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of SimCode: time 1.062e-06/0.9039, allocations: 0 / 0.8077 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of Templates: time 0.03969/0.9436, allocations: 19.62 MB / 0.8269 GB, free: 1.254 MB / 0.6387 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 -s ida -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/jenkins1/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: 7.180416541988961]