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.001281/0.001281, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001383/0.001383, allocations: 222.5 kB / 23.01 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.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.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.7192/0.7192, allocations: 100.3 MB / 413.5 MB, free: 3.727 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.002422/0.002422, allocations: 85 kB / 0.5645 GB, free: 35.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1123, allocations: 74.46 MB / 0.6372 GB, free: 7.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4778/0.59, allocations: 215.8 MB / 0.8479 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01963/0.6097, allocations: 17.6 MB / 0.8651 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.6107, allocations: 75.25 kB / 0.8652 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.6122, allocations: 0.6225 MB / 0.8658 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004219/0.6164, allocations: 1.797 MB / 0.8675 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003915/0.6203, allocations: 1.711 MB / 0.8692 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001984/0.6223, allocations: 1.721 MB / 0.8709 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.6226, allocations: 186.8 kB / 0.8711 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.6247, allocations: 1.255 MB / 0.8723 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006981/0.6254, allocations: 0.6451 MB / 0.8729 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.6255, allocations: 93.88 kB / 0.873 GB, free: 480 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006514/0.632, allocations: 3.558 MB / 0.8765 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.6322, allocations: 250.9 kB / 0.8767 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006274/0.6329, allocations: 0.6215 MB / 0.8773 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004093/0.637, allocations: 2.394 MB / 0.8797 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.637, allocations: 0 / 0.8797 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.447e-06/0.637, allocations: 3.984 kB / 0.8797 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.637, allocations: 0 / 0.8797 GB, free: 9.738 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.003352/0.6403, allocations: 1.83 MB / 0.8815 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.6404, allocations: 9.469 kB / 0.8815 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.6422, allocations: 306.8 kB / 0.8818 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.6439, allocations: 0.8419 MB / 0.8826 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.6441, allocations: 273.9 kB / 0.8828 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.6443, allocations: 99.94 kB / 0.8829 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.6461, allocations: 1.005 MB / 0.8839 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.6461, allocations: 0 / 0.8839 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/0.6462, allocations: 36 kB / 0.884 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.6462, allocations: 27.92 kB / 0.884 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.6478, allocations: 0.7846 MB / 0.8847 GB, free: 4.395 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.005222/0.6531, allocations: 3.833 MB / 0.8885 GB, free: 288 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.6549, allocations: 0.8092 MB / 0.8893 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007701/0.6557, allocations: 403.3 kB / 0.8897 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003389/0.656, allocations: 112.5 kB / 0.8898 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.656, allocations: 35.22 kB / 0.8898 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 1.904e-06/0.656, allocations: 0 / 0.8898 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.004986/0.661, allocations: 1.701 MB / 0.8915 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.6611, allocations: 64.06 kB / 0.8915 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009799/0.6621, allocations: 0.7995 MB / 0.8923 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.6621, allocations: 37.7 kB / 0.8923 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004117/0.6625, allocations: 0.5128 MB / 0.8928 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/0.6628, allocations: 289.5 kB / 0.8931 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.663, allocations: 158.6 kB / 0.8933 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.6632, allocations: 333.9 kB / 0.8936 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.6639, allocations: 313.8 kB / 0.8939 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007721/0.6646, allocations: 387.1 kB / 0.8943 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.6661, allocations: 0.6862 MB / 0.8949 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6661, allocations: 0 / 0.8949 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003017/0.6691, allocations: 1.233 MB / 0.8961 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6691, allocations: 6.188 kB / 0.8961 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6691, allocations: 0 / 0.8961 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008105/0.6699, allocations: 254.4 kB / 0.8964 GB, free: 8.047 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009134/0.6709, allocations: 199.8 kB / 0.8966 GB, free: 7.852 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00604/0.6769, allocations: 4.928 MB / 0.9014 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.6776, allocations: 95.42 kB / 0.9015 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.6777, allocations: 51.97 kB / 0.9015 GB, free: 2.445 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.0004041/0.6781, allocations: 221.7 kB / 0.9017 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.6782, allocations: 111.3 kB / 0.9018 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004081/0.6823, allocations: 1.825 MB / 0.9036 GB, free: 272 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.6823, allocations: 8 kB / 0.9036 GB, free: 264 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6823, allocations: 11.94 kB / 0.9036 GB, free: 252 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.6824, allocations: 3.984 kB / 0.9036 GB, free: 248 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004883/0.6872, allocations: 2.407 MB / 0.906 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.6872, allocations: 3.984 kB / 0.906 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009509/0.6882, allocations: 199.9 kB / 0.9062 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007515/0.6889, allocations: 254.3 kB / 0.9064 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-05/0.689, allocations: 35.92 kB / 0.9065 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005892/0.6949, allocations: 4.928 MB / 0.9113 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6949, allocations: 4.031 kB / 0.9113 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/0.6987, allocations: 1.725 MB / 0.913 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.699, allocations: 183 kB / 0.9131 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.6992, allocations: 19.98 kB / 0.9132 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.6997, allocations: 43.97 kB / 0.9132 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.6998, allocations: 72.88 kB / 0.9133 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-05/0.6999, allocations: 51.97 kB / 0.9133 GB, free: 5.859 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000715/0.7006, allocations: 0.5604 MB / 0.9139 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7006, allocations: 0 / 0.9139 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001207/0.7018, allocations: 486.7 kB / 0.9143 GB, free: 4.812 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.0009091/0.7028, allocations: 0.5578 MB / 0.9149 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002509/0.7053, allocations: 1.211 MB / 0.9161 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7053, allocations: 0 / 0.9161 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.7069, allocations: 0.8884 MB / 0.9169 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.708, allocations: 268.9 kB / 0.9172 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.7121, allocations: 2.417 MB / 0.9195 GB, free: 15.35 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/0.7128, allocations: 1.084 MB / 0.9206 GB, free: 14.23 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005443/0.7134, allocations: 183.3 kB / 0.9208 GB, free: 14.06 MB / 0.67 GB Notification: Performance of SimCode: time 6.32e-07/0.7134, allocations: 0 / 0.9208 GB, free: 14.06 MB / 0.67 GB Notification: Performance of Templates: time 0.0377/0.7511, allocations: 32.59 MB / 0.9526 GB, free: 13.46 MB / 0.7012 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/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: 10.896698191063479]