Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.002032/0.002032, allocations: 113 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.002579/0.002579, allocations: 209 kB / 22.25 MB, free: 5.086 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.805/0.805, allocations: 100.3 MB / 412.7 MB, free: 3.656 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_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.002663/0.002663, allocations: 84 kB / 0.5638 GB, free: 35.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1287, allocations: 74.46 MB / 0.6365 GB, free: 7.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5583/0.687, allocations: 215.8 MB / 0.8472 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02314/0.7102, allocations: 17.61 MB / 0.8644 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.7116, allocations: 77.66 kB / 0.8644 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001782/0.7134, allocations: 0.6079 MB / 0.865 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005483/0.7189, allocations: 1.804 MB / 0.8668 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0049/0.7238, allocations: 1.702 MB / 0.8684 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002888/0.7267, allocations: 1.732 MB / 0.8701 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005935/0.7273, allocations: 185.2 kB / 0.8703 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.7304, allocations: 1.255 MB / 0.8715 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.7314, allocations: 0.6412 MB / 0.8722 GB, free: 380 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.7315, allocations: 94.62 kB / 0.8723 GB, free: 380 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007471/0.739, allocations: 3.562 MB / 0.8757 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.7393, allocations: 254.9 kB / 0.876 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007964/0.7401, allocations: 0.6253 MB / 0.8766 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004894/0.745, allocations: 2.398 MB / 0.8789 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.745, allocations: 0 / 0.8789 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.643e-06/0.745, allocations: 0 / 0.8789 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.663e-05/0.7451, allocations: 0 / 0.8789 GB, free: 9.621 MB / 0.6231 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.00375/0.7488, allocations: 1.822 MB / 0.8807 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.7488, allocations: 8.031 kB / 0.8807 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.7509, allocations: 300.2 kB / 0.881 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.7528, allocations: 0.8535 MB / 0.8818 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003061/0.7531, allocations: 277.9 kB / 0.8821 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.7532, allocations: 95.94 kB / 0.8822 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.7554, allocations: 1.009 MB / 0.8832 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.7554, allocations: 0 / 0.8832 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.7555, allocations: 36 kB / 0.8832 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.7556, allocations: 27.98 kB / 0.8832 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.7574, allocations: 0.7807 MB / 0.884 GB, free: 4.281 MB / 0.6231 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.005754/0.7631, allocations: 3.829 MB / 0.8877 GB, free: 176 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.7652, allocations: 0.817 MB / 0.8885 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008407/0.766, allocations: 395.3 kB / 0.8889 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000394/0.7664, allocations: 108.5 kB / 0.889 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.7665, allocations: 39.22 kB / 0.8891 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 2.935e-06/0.7665, allocations: 4 kB / 0.8891 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005656/0.7721, allocations: 1.69 MB / 0.8907 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.7722, allocations: 60.06 kB / 0.8908 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.7734, allocations: 0.8072 MB / 0.8916 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.527e-05/0.7735, allocations: 37.7 kB / 0.8916 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004897/0.774, allocations: 0.5167 MB / 0.8921 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.7743, allocations: 285.5 kB / 0.8924 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/0.7746, allocations: 158.6 kB / 0.8925 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.7748, allocations: 333.9 kB / 0.8928 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007582/0.7755, allocations: 313.8 kB / 0.8931 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008724/0.7764, allocations: 387.1 kB / 0.8935 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.7779, allocations: 0.6823 MB / 0.8942 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.778, allocations: 0 / 0.8942 GB, free: 9.457 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003347/0.7813, allocations: 1.237 MB / 0.8954 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.7813, allocations: 8.062 kB / 0.8954 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.7813, allocations: 7.938 kB / 0.8954 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009274/0.7823, allocations: 250.3 kB / 0.8956 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.7833, allocations: 199.7 kB / 0.8958 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006683/0.79, allocations: 4.926 MB / 0.9006 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008397/0.7908, allocations: 99.41 kB / 0.9007 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.7909, allocations: 55.98 kB / 0.9008 GB, free: 2.324 MB / 0.6387 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.0004865/0.7914, allocations: 221.7 kB / 0.901 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.7917, allocations: 107.3 kB / 0.9011 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004469/0.7961, allocations: 1.83 MB / 0.9029 GB, free: 144 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.7961, allocations: 8 kB / 0.9029 GB, free: 136 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.7962, allocations: 4.875 kB / 0.9029 GB, free: 132 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.7962, allocations: 3.984 kB / 0.9029 GB, free: 128 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005376/0.8015, allocations: 2.403 MB / 0.9053 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.8015, allocations: 0 / 0.9053 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.8026, allocations: 199.9 kB / 0.9054 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000828/0.8034, allocations: 258.7 kB / 0.9057 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.919e-05/0.8035, allocations: 31.92 kB / 0.9057 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006714/0.8102, allocations: 4.929 MB / 0.9105 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.8102, allocations: 64 / 0.9105 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004522/0.8147, allocations: 1.733 MB / 0.9122 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/0.8153, allocations: 183 kB / 0.9124 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.8155, allocations: 27.98 kB / 0.9124 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006328/0.8161, allocations: 39.97 kB / 0.9125 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.8163, allocations: 68.88 kB / 0.9125 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.8164, allocations: 51.97 kB / 0.9126 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008731/0.8172, allocations: 0.5604 MB / 0.9131 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8172, allocations: 0 / 0.9131 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001508/0.8187, allocations: 490.8 kB / 0.9136 GB, free: 4.695 MB / 0.6544 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.00122/0.82, allocations: 0.5615 MB / 0.9141 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002936/0.8229, allocations: 1.196 MB / 0.9153 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8229, allocations: 0 / 0.9153 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/0.8248, allocations: 0.8962 MB / 0.9162 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.8262, allocations: 268.3 kB / 0.9164 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/0.831, allocations: 2.385 MB / 0.9188 GB, free: 15.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008428/0.8318, allocations: 1.08 MB / 0.9198 GB, free: 14.16 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001456/0.8333, allocations: 0.6303 MB / 0.9204 GB, free: 13.53 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.8337, allocations: 143.3 kB / 0.9206 GB, free: 13.39 MB / 0.67 GB Notification: Performance of SimCode: time 6.32e-07/0.8337, allocations: 0 / 0.9206 GB, free: 13.39 MB / 0.67 GB Notification: Performance of Templates: time 0.04105/0.8748, allocations: 20.51 MB / 0.9406 GB, free: 8.988 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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.146681601181626]