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.001517/0.001517, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001574/0.001574, allocations: 166.1 kB / 22.46 MB, free: 5.375 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.9931/0.9931, allocations: 116 MB / 375.2 MB, free: 7.523 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5537 GB, free: 13.64 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.424e-05, allocations: 2.281 kB / 0.5538 GB, free: 13.64 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6526/0.6526, allocations: 277.5 MB / 0.8248 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04627/0.6989, allocations: 29.85 MB / 0.8539 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.7019, allocations: 162.4 kB / 0.8541 GB, free: 11.82 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004221/0.7061, allocations: 1.283 MB / 0.8553 GB, free: 10.53 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.7174, allocations: 3.721 MB / 0.859 GB, free: 6.789 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.7289, allocations: 3.552 MB / 0.8624 GB, free: 3.23 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007198/0.7361, allocations: 4.412 MB / 0.8667 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.7375, allocations: 0.5027 MB / 0.8672 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007805/0.7453, allocations: 3.269 MB / 0.8704 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/0.748, allocations: 1.196 MB / 0.8716 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008192/0.7488, allocations: 232 kB / 0.8718 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0156/0.7644, allocations: 6.497 MB / 0.8781 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.7659, allocations: 0.593 MB / 0.8787 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002752/0.7686, allocations: 0.9935 MB / 0.8797 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01496/0.7836, allocations: 5.347 MB / 0.8849 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.7836, allocations: 0 / 0.8849 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7836, allocations: 0 / 0.8849 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001299/0.7837, allocations: 0 / 0.8849 GB, free: 12.07 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.009372/0.7931, allocations: 3.771 MB / 0.8886 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.7932, allocations: 8.031 kB / 0.8886 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005188/0.7983, allocations: 0.6615 MB / 0.8893 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005437/0.8038, allocations: 1.782 MB / 0.891 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00084/0.8046, allocations: 0.6087 MB / 0.8916 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009139/0.8055, allocations: 212 kB / 0.8918 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006324/0.8119, allocations: 2.324 MB / 0.8941 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.152e-05/0.8119, allocations: 0 / 0.8941 GB, free: 2.344 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/0.8121, allocations: 91.98 kB / 0.8942 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-05/0.8122, allocations: 72.05 kB / 0.8942 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004759/0.817, allocations: 1.979 MB / 0.8962 GB, free: 188 kB / 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.01164/0.8286, allocations: 5.858 MB / 0.9019 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004782/0.8334, allocations: 1.848 MB / 0.9037 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/0.8356, allocations: 0.9364 MB / 0.9046 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007654/0.8364, allocations: 217.8 kB / 0.9048 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.8365, allocations: 54.44 kB / 0.9049 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 4.017e-06/0.8365, allocations: 0 / 0.9049 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.01918/0.8556, allocations: 6.158 MB / 0.9109 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.8557, allocations: 69.41 kB / 0.9109 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.858, allocations: 1.53 MB / 0.9124 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/0.8583, allocations: 57.7 kB / 0.9125 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000946/0.8592, allocations: 1.147 MB / 0.9136 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006149/0.8598, allocations: 0.6156 MB / 0.9142 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005927/0.8604, allocations: 335.4 kB / 0.9145 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.8605, allocations: 301.1 kB / 0.9148 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.8622, allocations: 0.6714 MB / 0.9155 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.864, allocations: 0.8453 MB / 0.9163 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003698/0.8677, allocations: 1.558 MB / 0.9178 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.8677, allocations: 4 kB / 0.9178 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.007/0.8747, allocations: 2.597 MB / 0.9204 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.8747, allocations: 4 kB / 0.9204 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.8747, allocations: 6.188 kB / 0.9204 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/0.8767, allocations: 0.5247 MB / 0.9209 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.8784, allocations: 383.5 kB / 0.9212 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01422/0.8926, allocations: 9.366 MB / 0.9304 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.8944, allocations: 91.86 kB / 0.9305 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002844/0.8947, allocations: 124 kB / 0.9306 GB, free: 12.03 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (173): * Single equations (assignments): 168 * 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 {(2,2,100.0%), (2,17,100.0%), (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.0009789/0.8957, allocations: 397.6 kB / 0.931 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006643/0.8963, allocations: 242.6 kB / 0.9312 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00934/0.9057, allocations: 3.876 MB / 0.935 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.9057, allocations: 20 kB / 0.935 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.856e-05/0.9057, allocations: 11.94 kB / 0.935 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.9057, allocations: 15.89 kB / 0.935 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/0.9168, allocations: 4.422 MB / 0.9394 GB, free: 2.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.9168, allocations: 4.031 kB / 0.9394 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.9185, allocations: 347.5 kB / 0.9397 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001949/0.9204, allocations: 0.5349 MB / 0.9402 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002357/0.9207, allocations: 75.95 kB / 0.9403 GB, free: 1.973 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/0.9349, allocations: 9.31 MB / 0.9494 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.9349, allocations: 4.031 kB / 0.9494 GB, free: 8.145 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009572/0.9444, allocations: 3.642 MB / 0.9529 GB, free: 4.449 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.9455, allocations: 362.2 kB / 0.9533 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/0.9459, allocations: 44 kB / 0.9533 GB, free: 4.051 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.9472, allocations: 87.92 kB / 0.9534 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003934/0.9476, allocations: 169.6 kB / 0.9536 GB, free: 3.801 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002281/0.9478, allocations: 115.9 kB / 0.9537 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001502/0.9493, allocations: 1.016 MB / 0.9547 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9493, allocations: 0 / 0.9547 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002743/0.952, allocations: 0.9284 MB / 0.9556 GB, free: 1.723 MB / 0.7637 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%), (2,2,100.0%), (2,2,100.0%), (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.002085/0.9541, allocations: 1.08 MB / 0.9566 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005795/0.9599, allocations: 2.508 MB / 0.9591 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.9599, allocations: 4 kB / 0.9591 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003516/0.9634, allocations: 1.714 MB / 0.9608 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003731/0.9672, allocations: 0.7731 MB / 0.9615 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009428/0.9766, allocations: 4.698 MB / 0.9661 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/0.9778, allocations: 1.077 MB / 0.9672 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003179/0.9809, allocations: 1.448 MB / 0.9686 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.982, allocations: 320.3 kB / 0.9689 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of SimCode: time 1.323e-06/0.982, allocations: 0 / 0.9689 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of Templates: time 0.341/1.323, allocations: 47.63 MB / 1.015 GB, free: 338 MB / 0.8106 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/jenkins/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: 9.016339167952538]