Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.001681/0.001681, allocations: 74.27 kB / 19.75 MB, free: 2.047 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.002031/0.002031, allocations: 155.5 kB / 23 MB, free: 4.941 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.368/1.368, allocations: 177.2 MB / 203.4 MB, free: 9.289 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.7103/0.7103, allocations: 79.61 MB / 339.4 MB, free: 11.55 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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") [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.002599/0.002599, allocations: 94.3 kB / 0.4924 GB, free: 26.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1111, allocations: 74.59 MB / 0.5652 GB, free: 6.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4653/0.5763, allocations: 175.8 MB / 0.7369 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01191/0.5883, allocations: 13.46 MB / 0.75 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008566/0.5891, allocations: 60.97 kB / 0.7501 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.5902, allocations: 463 kB / 0.7505 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.5932, allocations: 1.375 MB / 0.7519 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.5961, allocations: 1.401 MB / 0.7533 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.5974, allocations: 1.379 MB / 0.7546 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.5977, allocations: 170.1 kB / 0.7548 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.5996, allocations: 1.391 MB / 0.7561 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.6, allocations: 460.8 kB / 0.7566 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.403e-05/0.6001, allocations: 77.59 kB / 0.7566 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003575/0.6037, allocations: 2.44 MB / 0.759 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.6038, allocations: 203.1 kB / 0.7592 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.6042, allocations: 415.7 kB / 0.7596 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.6065, allocations: 1.892 MB / 0.7615 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6065, allocations: 0.8438 kB / 0.7615 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6065, allocations: 0 / 0.7615 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.6065, allocations: 4 kB / 0.7615 GB, free: 2.426 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002415/0.6089, allocations: 1.502 MB / 0.7629 GB, free: 17.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.6089, allocations: 11.31 kB / 0.7629 GB, free: 17.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/0.6106, allocations: 256 kB / 0.7632 GB, free: 17.39 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.6118, allocations: 0.701 MB / 0.7639 GB, free: 17.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002789/0.6121, allocations: 288.9 kB / 0.7641 GB, free: 16.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.6122, allocations: 75.83 kB / 0.7642 GB, free: 16.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.6135, allocations: 0.7979 MB / 0.765 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.6136, allocations: 0 / 0.765 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.6136, allocations: 29.19 kB / 0.765 GB, free: 16.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.6136, allocations: 16.31 kB / 0.765 GB, free: 16.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.615, allocations: 0.6832 MB / 0.7657 GB, free: 16.16 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.003085/0.6181, allocations: 1.841 MB / 0.7675 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.6194, allocations: 0.5571 MB / 0.768 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.62, allocations: 296.9 kB / 0.7683 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/0.6203, allocations: 72.17 kB / 0.7684 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.6203, allocations: 46.16 kB / 0.7684 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.094e-06/0.6203, allocations: 0 / 0.7684 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.004933/0.6252, allocations: 1.468 MB / 0.7699 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.6253, allocations: 60.59 kB / 0.7699 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007234/0.626, allocations: 0.621 MB / 0.7705 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/0.6261, allocations: 35.95 kB / 0.7706 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/0.6264, allocations: 456.3 kB / 0.771 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.6266, allocations: 208.5 kB / 0.7712 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.6268, allocations: 110.5 kB / 0.7713 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.6269, allocations: 329.5 kB / 0.7716 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/0.6275, allocations: 224.5 kB / 0.7718 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.6281, allocations: 296.4 kB / 0.7721 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.6292, allocations: 0.5086 MB / 0.7726 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.6292, allocations: 3.094 kB / 0.7726 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002373/0.6316, allocations: 0.9227 MB / 0.7735 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.6316, allocations: 7.625 kB / 0.7735 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6316, allocations: 4.062 kB / 0.7735 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007705/0.6324, allocations: 217.5 kB / 0.7737 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.6329, allocations: 118.7 kB / 0.7739 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00598/0.6389, allocations: 4.661 MB / 0.7784 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/0.6395, allocations: 72.92 kB / 0.7785 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.6395, allocations: 41.53 kB / 0.7785 GB, free: 8.297 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 (57): * Single equations (assignments): 54 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003967/0.6399, allocations: 201 kB / 0.7787 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.6401, allocations: 86.19 kB / 0.7788 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/0.6432, allocations: 1.294 MB / 0.7801 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.6432, allocations: 10.5 kB / 0.7801 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.6432, allocations: 2.188 kB / 0.7801 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.6433, allocations: 3.984 kB / 0.7801 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003758/0.647, allocations: 1.623 MB / 0.7817 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.647, allocations: 3.938 kB / 0.7817 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.6475, allocations: 106.7 kB / 0.7818 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007232/0.6482, allocations: 216.1 kB / 0.782 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.6483, allocations: 27.33 kB / 0.782 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005863/0.6542, allocations: 4.658 MB / 0.7865 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6542, allocations: 0 / 0.7865 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003186/0.6574, allocations: 1.329 MB / 0.7878 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/0.6577, allocations: 130 kB / 0.788 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6578, allocations: 22.11 kB / 0.788 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.6583, allocations: 40.89 kB / 0.788 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.6585, allocations: 57.22 kB / 0.7881 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-05/0.6585, allocations: 36.89 kB / 0.7881 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005713/0.6591, allocations: 446 kB / 0.7885 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6591, allocations: 0 / 0.7885 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001062/0.6602, allocations: 356.6 kB / 0.7889 GB, free: 0.7461 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * 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 (51): * Single equations (assignments): 48 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008588/0.661, allocations: 466.9 kB / 0.7893 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002115/0.6631, allocations: 0.9583 MB / 0.7903 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6631, allocations: 0 / 0.7903 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.6645, allocations: 0.7106 MB / 0.791 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/0.6654, allocations: 190.5 kB / 0.7911 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.6687, allocations: 1.831 MB / 0.7929 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.6692, allocations: 417.5 kB / 0.7933 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008316/0.67, allocations: 441.6 kB / 0.7937 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.6703, allocations: 98.78 kB / 0.7938 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of SimCode: time 9.71e-07/0.6703, allocations: 4 kB / 0.7938 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of Templates: time 0.02793/0.6982, allocations: 15.44 MB / 0.8089 GB, free: 15.83 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.159623168408871]