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.001213/0.001213, allocations: 76.14 kB / 19.76 MB, free: 2.012 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.001342/0.001342, allocations: 160.3 kB / 23.01 MB, free: 4.965 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.361/1.361, allocations: 177.2 MB / 203.4 MB, free: 9.266 MB / 190.1 MB " [Timeout remaining time 179] 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.7362/0.7362, allocations: 79.61 MB / 339.4 MB, free: 11.53 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.002594/0.002594, allocations: 89.83 kB / 0.4924 GB, free: 26.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1217, allocations: 74.59 MB / 0.5652 GB, free: 6.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5116/0.6333, allocations: 187.1 MB / 0.7479 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0147/0.648, allocations: 15.8 MB / 0.7633 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.6492, allocations: 74.41 kB / 0.7634 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.6509, allocations: 0.5474 MB / 0.7639 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.6551, allocations: 1.796 MB / 0.7657 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003605/0.6587, allocations: 1.679 MB / 0.7673 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.6604, allocations: 1.713 MB / 0.769 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.6608, allocations: 182.7 kB / 0.7691 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.6634, allocations: 1.556 MB / 0.7707 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006483/0.6641, allocations: 0.5718 MB / 0.7712 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.6642, allocations: 93.03 kB / 0.7713 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005128/0.6693, allocations: 3.341 MB / 0.7746 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.6696, allocations: 245.3 kB / 0.7748 GB, free: 384 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006734/0.6703, allocations: 0.5024 MB / 0.7753 GB, free: 116 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005164/0.6755, allocations: 2.371 MB / 0.7776 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6755, allocations: 0 / 0.7776 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6755, allocations: 0 / 0.7776 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.6755, allocations: 0 / 0.7776 GB, free: 15.36 MB / 0.6075 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.003194/0.6787, allocations: 1.818 MB / 0.7794 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.6787, allocations: 12.66 kB / 0.7794 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.6805, allocations: 301.5 kB / 0.7797 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.6822, allocations: 0.8372 MB / 0.7805 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.6825, allocations: 310.5 kB / 0.7808 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.6826, allocations: 92.91 kB / 0.7809 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.6843, allocations: 0.986 MB / 0.7818 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.6843, allocations: 0 / 0.7818 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/0.6844, allocations: 35.16 kB / 0.7819 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.6844, allocations: 20.88 kB / 0.7819 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.6861, allocations: 0.8294 MB / 0.7827 GB, free: 12.26 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.004064/0.6901, allocations: 2.51 MB / 0.7852 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.6919, allocations: 0.8136 MB / 0.786 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/0.6925, allocations: 379.3 kB / 0.7863 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003143/0.6929, allocations: 110.8 kB / 0.7864 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.6929, allocations: 37.56 kB / 0.7865 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.084e-06/0.6929, allocations: 0 / 0.7865 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.004845/0.6977, allocations: 1.73 MB / 0.7881 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.6978, allocations: 60.59 kB / 0.7882 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000841/0.6986, allocations: 0.7339 MB / 0.7889 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.807e-05/0.6987, allocations: 41.17 kB / 0.789 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.6991, allocations: 0.5245 MB / 0.7895 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002484/0.6993, allocations: 290.6 kB / 0.7898 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.6996, allocations: 152.3 kB / 0.7899 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.6997, allocations: 336.3 kB / 0.7902 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006001/0.7003, allocations: 292 kB / 0.7905 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007006/0.701, allocations: 370.3 kB / 0.7909 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.7023, allocations: 0.6593 MB / 0.7915 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7023, allocations: 0 / 0.7915 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002488/0.7048, allocations: 1.143 MB / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.7048, allocations: 5.188 kB / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.7048, allocations: 3.938 kB / 0.7926 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007191/0.7055, allocations: 235.7 kB / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/0.7063, allocations: 179.2 kB / 0.793 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005744/0.712, allocations: 4.79 MB / 0.7977 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006929/0.7127, allocations: 78.06 kB / 0.7978 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.7128, allocations: 57.03 kB / 0.7978 GB, free: 1.469 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 {(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.0004768/0.7133, allocations: 221.3 kB / 0.798 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.7136, allocations: 110 kB / 0.7981 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003834/0.7175, allocations: 1.741 MB / 0.7998 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.7175, allocations: 13.06 kB / 0.7998 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.7175, allocations: 2.625 kB / 0.7999 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.7175, allocations: 3.984 kB / 0.7999 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004558/0.722, allocations: 2.039 MB / 0.8018 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.7221, allocations: 4 kB / 0.8019 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007361/0.7228, allocations: 165.2 kB / 0.802 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007239/0.7235, allocations: 243.2 kB / 0.8022 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-05/0.7236, allocations: 31.98 kB / 0.8023 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005963/0.7296, allocations: 4.782 MB / 0.8069 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.7296, allocations: 4.031 kB / 0.8069 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003731/0.7333, allocations: 1.67 MB / 0.8086 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/0.7337, allocations: 179.1 kB / 0.8087 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.7339, allocations: 23.89 kB / 0.8088 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/0.7344, allocations: 39.97 kB / 0.8088 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.7346, allocations: 76.86 kB / 0.8089 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.745e-05/0.7347, allocations: 51.98 kB / 0.8089 GB, free: 6.773 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007389/0.7354, allocations: 0.5116 MB / 0.8094 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7354, allocations: 0 / 0.8094 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001521/0.737, allocations: 482.8 kB / 0.8099 GB, free: 5.777 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%), (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.001203/0.7382, allocations: 0.5719 MB / 0.8104 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002371/0.7405, allocations: 1.134 MB / 0.8116 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.7405, allocations: 3.938 kB / 0.8116 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.7419, allocations: 0.8143 MB / 0.8124 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.743, allocations: 255.6 kB / 0.8126 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.7474, allocations: 2.354 MB / 0.8149 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.7479, allocations: 498.9 kB / 0.8154 GB, free: 88 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001299/0.7492, allocations: 0.6342 MB / 0.816 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.7497, allocations: 140.4 kB / 0.8161 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of SimCode: time 8.02e-07/0.7497, allocations: 0 / 0.8161 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of Templates: time 0.03419/0.7838, allocations: 19.64 MB / 0.8353 GB, free: 11.95 MB / 0.6544 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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/jenkins1/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: 6.465022571384907]