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.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.001483/0.001483, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001629/0.001629, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.358/1.358, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] 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.7229/0.7229, allocations: 100.3 MB / 413.5 MB, free: 3.656 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.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: 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.002392/0.002392, allocations: 87.66 kB / 0.5645 GB, free: 35.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1088, allocations: 74.46 MB / 0.6372 GB, free: 7.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5705/0.6793, allocations: 310.3 MB / 0.9403 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04403/0.7233, allocations: 38.41 MB / 0.9778 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.7256, allocations: 150.6 kB / 0.9779 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003785/0.7294, allocations: 1.412 MB / 0.9793 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008696/0.7381, allocations: 3.451 MB / 0.9827 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.008644/0.7467, allocations: 3.494 MB / 0.9861 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005481/0.7522, allocations: 3.838 MB / 0.9899 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.7532, allocations: 0.5141 MB / 0.9904 GB, free: 7.938 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/0.7575, allocations: 2.469 MB / 0.9928 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.7598, allocations: 1.505 MB / 0.9942 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000526/0.7604, allocations: 235.9 kB / 0.9945 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.7734, allocations: 6.943 MB / 1.001 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0007244/0.7741, allocations: 0.5796 MB / 1.002 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.776, allocations: 1.406 MB / 1.003 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.009612/0.7856, allocations: 5.064 MB / 1.008 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7856, allocations: 0 / 1.008 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7856, allocations: 0 / 1.008 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.44e-05/0.7856, allocations: 0 / 1.008 GB, free: 5.688 MB / 0.7481 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.006871/0.7925, allocations: 3.716 MB / 1.012 GB, free: 1.914 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.7925, allocations: 12.03 kB / 1.012 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003893/0.7964, allocations: 0.6342 MB / 1.012 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/0.7996, allocations: 1.687 MB / 1.014 GB, free: 15.5 MB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005096/0.8001, allocations: 0.5507 MB / 1.015 GB, free: 14.86 MB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003239/0.8004, allocations: 219.9 kB / 1.015 GB, free: 14.64 MB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00413/0.8045, allocations: 2.323 MB / 1.017 GB, free: 12.22 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.8046, allocations: 0 / 1.017 GB, free: 12.22 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/0.8048, allocations: 87.94 kB / 1.017 GB, free: 12.13 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.1e-05/0.8048, allocations: 76.03 kB / 1.017 GB, free: 12.05 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00378/0.8086, allocations: 1.886 MB / 1.019 GB, free: 10.15 MB / 0.7638 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.01157/0.8202, allocations: 8.751 MB / 1.028 GB, free: 0.6953 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00405/0.8243, allocations: 1.853 MB / 1.029 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.8262, allocations: 0.9895 MB / 1.03 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/0.8269, allocations: 233.8 kB / 1.031 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.8269, allocations: 48.56 kB / 1.031 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=174): time 3.086e-06/0.8269, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=176): time 0.01503/0.842, allocations: 6.08 MB / 1.037 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.842, allocations: 69.41 kB / 1.037 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.8439, allocations: 1.557 MB / 1.038 GB, free: 5.762 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.8441, allocations: 53.7 kB / 1.038 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008633/0.8449, allocations: 1.081 MB / 1.039 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/0.8454, allocations: 0.6235 MB / 1.04 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005109/0.846, allocations: 319.6 kB / 1.04 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8461, allocations: 305.1 kB / 1.04 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.8476, allocations: 0.6949 MB / 1.041 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.8493, allocations: 0.8489 MB / 1.042 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/0.8525, allocations: 1.577 MB / 1.044 GB, free: 192 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8526, allocations: 1.125 kB / 1.044 GB, free: 192 kB / 0.7794 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00654/0.8591, allocations: 2.721 MB / 1.046 GB, free: 13.44 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.8591, allocations: 11.98 kB / 1.046 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.8591, allocations: 4 kB / 1.046 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.8608, allocations: 0.5687 MB / 1.047 GB, free: 12.85 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/0.8627, allocations: 427.3 kB / 1.047 GB, free: 12.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/0.8754, allocations: 9.635 MB / 1.057 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.8766, allocations: 79.94 kB / 1.057 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002178/0.8769, allocations: 123.9 kB / 1.057 GB, free: 2.039 MB / 0.795 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.0007635/0.8776, allocations: 377.6 kB / 1.057 GB, free: 1.66 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.878, allocations: 226.5 kB / 1.057 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2499/1.128, allocations: 4.059 MB / 1.061 GB, free: 324.9 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/1.128, allocations: 18.31 kB / 1.061 GB, free: 324.9 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/1.128, allocations: 9.609 kB / 1.061 GB, free: 324.9 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/1.128, allocations: 8.953 kB / 1.061 GB, free: 324.9 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/1.138, allocations: 5.172 MB / 1.066 GB, free: 323.6 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/1.138, allocations: 1.375 kB / 1.066 GB, free: 323.6 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/1.14, allocations: 410.5 kB / 1.067 GB, free: 323.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/1.141, allocations: 0.5674 MB / 1.067 GB, free: 323.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/1.142, allocations: 76.72 kB / 1.067 GB, free: 323.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/1.152, allocations: 9.614 MB / 1.077 GB, free: 315.8 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.152, allocations: 5.859 kB / 1.077 GB, free: 315.8 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007769/1.16, allocations: 3.755 MB / 1.08 GB, free: 314.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008446/1.16, allocations: 373.1 kB / 1.081 GB, free: 314.4 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002598/1.161, allocations: 39.28 kB / 1.081 GB, free: 314.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/1.162, allocations: 86.02 kB / 1.081 GB, free: 314.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002753/1.162, allocations: 167 kB / 1.081 GB, free: 314.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/1.162, allocations: 118.1 kB / 1.081 GB, free: 314.3 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.00122/1.163, allocations: 1.052 MB / 1.082 GB, free: 313.9 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/1.163, allocations: 3.969 kB / 1.082 GB, free: 313.9 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00214/1.166, allocations: 0.8916 MB / 1.083 GB, free: 313.8 MB / 0.795 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.001422/1.167, allocations: 1.043 MB / 1.084 GB, free: 313.6 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004438/1.171, allocations: 2.59 MB / 1.087 GB, free: 312.5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.171, allocations: 3.906 kB / 1.087 GB, free: 312.5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00284/1.174, allocations: 1.838 MB / 1.088 GB, free: 311.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/1.176, allocations: 0.5789 MB / 1.089 GB, free: 311.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00664/1.183, allocations: 5.018 MB / 1.094 GB, free: 308.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007153/1.184, allocations: 1.59 MB / 1.095 GB, free: 308.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.185, allocations: 400.7 kB / 1.096 GB, free: 308 MB / 0.795 GB Notification: Performance of SimCode: time 6.21e-07/1.185, allocations: 0 / 1.096 GB, free: 308 MB / 0.795 GB Notification: Performance of Templates: time 0.06104/1.246, allocations: 89.25 MB / 1.183 GB, free: 221.7 MB / 0.795 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 [Calling sys.exit(0), Time elapsed: 14.53956680605188]