Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 225.6 MB / 249.9 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5715/0.5715, allocations: 94.58 MB / 399.6 MB, free: 15.92 MB / 334.1 MB [Timeout remaining time 89] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 83.86 kB / 0.5452 GB, free: 12.24 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3287, allocations: 71.84 MB / 0.6154 GB, free: 4.113 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6167/0.9455, allocations: 309.1 MB / 0.9172 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03051/0.976, allocations: 38.19 MB / 0.9545 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.9783, allocations: 106 kB / 0.9546 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003289/0.9816, allocations: 1.412 MB / 0.956 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008396/0.99, allocations: 3.421 MB / 0.9593 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00834/0.9983, allocations: 3.458 MB / 0.9627 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004899/1.003, allocations: 3.829 MB / 0.9664 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/1.004, allocations: 0.5277 MB / 0.9669 GB, free: 16.96 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/1.009, allocations: 2.41 MB / 0.9693 GB, free: 16.67 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002753/1.012, allocations: 1.499 MB / 0.9707 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008421/1.012, allocations: 231.5 kB / 0.971 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01299/1.025, allocations: 6.799 MB / 0.9776 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/1.026, allocations: 0.5868 MB / 0.9782 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002567/1.029, allocations: 1.406 MB / 0.9796 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/1.04, allocations: 5.054 MB / 0.9845 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.04, allocations: 3.984 kB / 0.9845 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.402e-06/1.04, allocations: 0 / 0.9845 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001287/1.04, allocations: 0 / 0.9845 GB, free: 13.36 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.00832/1.049, allocations: 3.781 MB / 0.9882 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/1.049, allocations: 12.78 kB / 0.9882 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/1.053, allocations: 0.6228 MB / 0.9888 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003765/1.057, allocations: 1.825 MB / 0.9906 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004627/1.057, allocations: 406.5 kB / 0.991 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004892/1.058, allocations: 216.6 kB / 0.9912 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004721/1.062, allocations: 2.322 MB / 0.9934 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.212e-05/1.063, allocations: 0 / 0.9934 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/1.063, allocations: 82.38 kB / 0.9935 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/1.063, allocations: 80.03 kB / 0.9936 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/1.067, allocations: 1.877 MB / 0.9954 GB, free: 7.445 MB / 0.7012 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.01311/1.08, allocations: 9.292 MB / 1.005 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004459/1.085, allocations: 1.863 MB / 1.006 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002256/1.087, allocations: 0.9855 MB / 1.007 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002073/1.089, allocations: 2.613 MB / 1.01 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/1.089, allocations: 52.56 kB / 1.01 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 3.417e-06/1.089, allocations: 0 / 1.01 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.01727/1.106, allocations: 6.673 MB / 1.016 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/1.106, allocations: 73.41 kB / 1.016 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/1.109, allocations: 1.556 MB / 1.018 GB, free: 476 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/1.109, allocations: 53.7 kB / 1.018 GB, free: 416 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000982/1.11, allocations: 1.095 MB / 1.019 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000559/1.11, allocations: 0.6182 MB / 1.02 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005866/1.111, allocations: 323.5 kB / 1.02 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.111, allocations: 305.1 kB / 1.02 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/1.113, allocations: 0.7066 MB / 1.021 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/1.114, allocations: 0.845 MB / 1.022 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003474/1.118, allocations: 1.581 MB / 1.023 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.118, allocations: 0 / 1.023 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007153/1.125, allocations: 2.719 MB / 1.026 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/1.125, allocations: 4 kB / 1.026 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.125, allocations: 4 kB / 1.026 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/1.127, allocations: 0.5701 MB / 1.027 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/1.129, allocations: 426.5 kB / 1.027 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/1.143, allocations: 10.14 MB / 1.037 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/1.144, allocations: 83.97 kB / 1.037 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/1.145, allocations: 124 kB / 1.037 GB, free: 12.25 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,1,88.9%), (2,17,100.0%), (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.000964/1.146, allocations: 391.1 kB / 1.037 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005847/1.146, allocations: 230.5 kB / 1.038 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009325/1.156, allocations: 4.066 MB / 1.042 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/1.156, allocations: 16 kB / 1.042 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/1.156, allocations: 12 kB / 1.042 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/1.156, allocations: 7.969 kB / 1.042 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/1.167, allocations: 5.287 MB / 1.047 GB, free: 2.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.167, allocations: 4 kB / 1.047 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/1.169, allocations: 411.7 kB / 1.047 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/1.171, allocations: 0.5686 MB / 1.048 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/1.171, allocations: 79.94 kB / 1.048 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01321/1.184, allocations: 10.13 MB / 1.058 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.184, allocations: 0 / 1.058 GB, free: 6.406 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009397/1.194, allocations: 3.761 MB / 1.061 GB, free: 2.613 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.195, allocations: 447.3 kB / 1.062 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004846/1.195, allocations: 40 kB / 1.062 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.197, allocations: 87.92 kB / 1.062 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/1.197, allocations: 156.4 kB / 1.062 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/1.197, allocations: 119.9 kB / 1.062 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001816/1.199, allocations: 1.047 MB / 1.063 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.199, allocations: 0 / 1.063 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003223/1.202, allocations: 0.8855 MB / 1.064 GB, free: 15.81 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002213/1.204, allocations: 1.055 MB / 1.065 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006303/1.211, allocations: 2.596 MB / 1.068 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.211, allocations: 4.312 kB / 1.068 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003946/1.215, allocations: 1.84 MB / 1.07 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/1.217, allocations: 0.568 MB / 1.07 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009926/1.227, allocations: 5.012 MB / 1.075 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/1.229, allocations: 1.589 MB / 1.077 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/1.231, allocations: 399.1 kB / 1.077 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of SimCode: time 1.083e-06/1.231, allocations: 0 / 1.077 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of Templates: time 0.0997/1.33, allocations: 89.18 MB / 1.164 GB, free: 9.609 MB / 0.8731 GB [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches