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.001534/0.001534, allocations: 81.7 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.001618/0.001618, allocations: 157.3 kB / 23 MB, free: 4.961 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.366/1.366, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.726/0.726, allocations: 79.61 MB / 339.4 MB, free: 11 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.002523/0.002523, allocations: 83.97 kB / 0.4924 GB, free: 26.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1202, allocations: 74.58 MB / 0.5652 GB, free: 6.02 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4894/0.6095, allocations: 187.2 MB / 0.748 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.6235, allocations: 15.84 MB / 0.7635 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009255/0.6244, allocations: 75.62 kB / 0.7636 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.6258, allocations: 0.54 MB / 0.7641 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003842/0.6296, allocations: 1.793 MB / 0.7658 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003648/0.6332, allocations: 1.686 MB / 0.7675 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.6349, allocations: 1.718 MB / 0.7692 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.6351, allocations: 183.5 kB / 0.7693 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.637, allocations: 1.248 MB / 0.7705 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006008/0.6376, allocations: 0.5793 MB / 0.7711 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.6377, allocations: 91.47 kB / 0.7712 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005176/0.6429, allocations: 3.336 MB / 0.7745 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.6431, allocations: 248.1 kB / 0.7747 GB, free: 348 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004595/0.6436, allocations: 0.4967 MB / 0.7752 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003747/0.6473, allocations: 2.37 MB / 0.7775 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6473, allocations: 3.469 kB / 0.7775 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6473, allocations: 0 / 0.7775 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.357e-05/0.6473, allocations: 0 / 0.7775 GB, free: 15.32 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.003261/0.6506, allocations: 1.817 MB / 0.7793 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.6506, allocations: 8.719 kB / 0.7793 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.6526, allocations: 305.1 kB / 0.7796 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.6543, allocations: 0.8463 MB / 0.7804 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.6547, allocations: 301.8 kB / 0.7807 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.6548, allocations: 91.06 kB / 0.7808 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.6566, allocations: 0.9872 MB / 0.7817 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.6566, allocations: 0 / 0.7817 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.53e-05/0.6567, allocations: 37.03 kB / 0.7818 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.6567, allocations: 22.06 kB / 0.7818 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.6584, allocations: 0.8237 MB / 0.7826 GB, free: 12.31 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.004329/0.6627, allocations: 2.515 MB / 0.7851 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.6647, allocations: 0.8117 MB / 0.7858 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007133/0.6654, allocations: 381.1 kB / 0.7862 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003657/0.6658, allocations: 114.2 kB / 0.7863 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.6658, allocations: 41.44 kB / 0.7864 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.726e-06/0.6658, allocations: 0 / 0.7864 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005478/0.6713, allocations: 1.724 MB / 0.788 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.6714, allocations: 68.92 kB / 0.7881 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.6726, allocations: 0.7294 MB / 0.7888 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.547e-05/0.6727, allocations: 36.08 kB / 0.7889 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.6733, allocations: 0.5237 MB / 0.7894 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.6736, allocations: 300.2 kB / 0.7897 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003341/0.674, allocations: 152.2 kB / 0.7898 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.6742, allocations: 332.3 kB / 0.7901 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/0.6748, allocations: 301.7 kB / 0.7904 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007827/0.6756, allocations: 372.9 kB / 0.7908 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.6769, allocations: 0.6541 MB / 0.7914 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6769, allocations: 0 / 0.7914 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002708/0.6796, allocations: 1.138 MB / 0.7925 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6797, allocations: 7.719 kB / 0.7925 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.6797, allocations: 3.625 kB / 0.7925 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000808/0.6805, allocations: 232.5 kB / 0.7927 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.6812, allocations: 177.2 kB / 0.7929 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006042/0.6872, allocations: 4.793 MB / 0.7976 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007038/0.6879, allocations: 77.12 kB / 0.7977 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.688, allocations: 48.83 kB / 0.7977 GB, free: 1.516 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.000425/0.6885, allocations: 224.6 kB / 0.7979 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.6887, allocations: 112.9 kB / 0.798 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003764/0.6925, allocations: 1.743 MB / 0.7997 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.6925, allocations: 11.81 kB / 0.7997 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6925, allocations: 5.75 kB / 0.7998 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.6925, allocations: 5.359 kB / 0.7998 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/0.697, allocations: 2.039 MB / 0.8017 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.697, allocations: 4 kB / 0.8018 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/0.6977, allocations: 165.2 kB / 0.8019 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007628/0.6985, allocations: 238.4 kB / 0.8021 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.698e-05/0.6986, allocations: 40.83 kB / 0.8022 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006146/0.7047, allocations: 4.777 MB / 0.8068 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.7047, allocations: 8.016 kB / 0.8068 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.7085, allocations: 1.662 MB / 0.8085 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/0.7089, allocations: 179.1 kB / 0.8086 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.709, allocations: 23.89 kB / 0.8087 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.7096, allocations: 43.95 kB / 0.8087 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.7097, allocations: 76.88 kB / 0.8088 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.7098, allocations: 51.97 kB / 0.8088 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007296/0.7105, allocations: 0.5077 MB / 0.8093 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.7105, allocations: 0 / 0.8093 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00141/0.7119, allocations: 486.7 kB / 0.8098 GB, free: 5.816 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.001071/0.713, allocations: 0.5675 MB / 0.8103 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002435/0.7154, allocations: 1.138 MB / 0.8115 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.7154, allocations: 0 / 0.8115 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.7169, allocations: 0.8212 MB / 0.8123 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.718, allocations: 247.9 kB / 0.8125 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/0.7224, allocations: 2.352 MB / 0.8148 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.7229, allocations: 498.9 kB / 0.8153 GB, free: 136 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001283/0.7242, allocations: 0.6305 MB / 0.8159 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.7246, allocations: 143.6 kB / 0.816 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of SimCode: time 4.01e-07/0.7246, allocations: 0 / 0.816 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of Templates: time 0.03551/0.7601, allocations: 19.63 MB / 0.8352 GB, free: 11.97 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 ida -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.471226777997799]