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.0008653/0.0008653, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009873/0.0009873, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8617/0.8617, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 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.6089/0.6089, allocations: 116 MB / 376 MB, free: 4.18 MB / 346.7 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.082e-06/1.082e-06, allocations: 0 / 0.5545 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/1.994e-05, allocations: 6.281 kB / 0.5545 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.4453/0.4453, allocations: 277.5 MB / 0.8255 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02269/0.468, allocations: 29.84 MB / 0.8546 GB, free: 9.938 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.4697, allocations: 166.4 kB / 0.8548 GB, free: 9.773 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.472, allocations: 1.283 MB / 0.8561 GB, free: 8.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005935/0.478, allocations: 3.717 MB / 0.8597 GB, free: 4.742 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006126/0.4841, allocations: 3.546 MB / 0.8632 GB, free: 1.188 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003975/0.4881, allocations: 4.416 MB / 0.8675 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006136/0.4887, allocations: 0.5026 MB / 0.868 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.4922, allocations: 3.269 MB / 0.8711 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009763/0.4932, allocations: 1.192 MB / 0.8723 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.4934, allocations: 232 kB / 0.8725 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008063/0.5015, allocations: 6.493 MB / 0.8789 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.5018, allocations: 0.6028 MB / 0.8795 GB, free: 388 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0006985/0.5025, allocations: 0.9935 MB / 0.8804 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005729/0.5082, allocations: 5.35 MB / 0.8857 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5082, allocations: 0 / 0.8857 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5082, allocations: 0 / 0.8857 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.56e-05/0.5083, allocations: 0 / 0.8857 GB, free: 10.02 MB / 0.7292 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.004228/0.5125, allocations: 3.767 MB / 0.8893 GB, free: 6.191 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.5125, allocations: 8.031 kB / 0.8893 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.5146, allocations: 0.6576 MB / 0.89 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.5166, allocations: 1.79 MB / 0.8917 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/0.5169, allocations: 0.6048 MB / 0.8923 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.5171, allocations: 212 kB / 0.8925 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.5199, allocations: 2.32 MB / 0.8948 GB, free: 308 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.5199, allocations: 3.938 kB / 0.8948 GB, free: 304 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/0.5201, allocations: 83.98 kB / 0.8949 GB, free: 220 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.283e-05/0.5201, allocations: 84.03 kB / 0.895 GB, free: 132 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.5225, allocations: 1.975 MB / 0.8969 GB, free: 14.14 MB / 0.7448 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.005912/0.5284, allocations: 5.854 MB / 0.9026 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.5308, allocations: 1.855 MB / 0.9044 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.5319, allocations: 0.9325 MB / 0.9053 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000358/0.5323, allocations: 221.8 kB / 0.9055 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.5323, allocations: 52.56 kB / 0.9056 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=174): time 3.226e-06/0.5323, allocations: 0 / 0.9056 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of matching and sorting (n=176): time 0.009174/0.5415, allocations: 6.151 MB / 0.9116 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5415, allocations: 77.41 kB / 0.9117 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.5427, allocations: 1.527 MB / 0.9132 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.167e-05/0.5428, allocations: 57.7 kB / 0.9132 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005227/0.5433, allocations: 1.151 MB / 0.9143 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.5436, allocations: 0.6196 MB / 0.9149 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.5439, allocations: 327.5 kB / 0.9153 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003135/0.5442, allocations: 301.1 kB / 0.9155 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008496/0.5451, allocations: 0.6676 MB / 0.9162 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009337/0.546, allocations: 0.8491 MB / 0.917 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.5479, allocations: 1.558 MB / 0.9185 GB, free: 7.613 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.5479, allocations: 0 / 0.9185 GB, free: 7.613 MB / 0.7605 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.003434/0.5513, allocations: 2.592 MB / 0.9211 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.5513, allocations: 8 kB / 0.9211 GB, free: 4.988 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.5514, allocations: 4 kB / 0.9211 GB, free: 4.984 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000989/0.5523, allocations: 0.5312 MB / 0.9216 GB, free: 4.438 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007481/0.5531, allocations: 379.5 kB / 0.922 GB, free: 4.066 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007317/0.5604, allocations: 9.365 MB / 0.9311 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/0.5611, allocations: 87.92 kB / 0.9312 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.5612, allocations: 124.5 kB / 0.9313 GB, free: 9.984 MB / 0.7761 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.0006112/0.5618, allocations: 402.1 kB / 0.9317 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.5621, allocations: 242.4 kB / 0.9319 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004571/0.5667, allocations: 3.885 MB / 0.9357 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.5667, allocations: 20 kB / 0.9357 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.5667, allocations: 11.94 kB / 0.9358 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.5667, allocations: 7.969 kB / 0.9358 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005969/0.5727, allocations: 4.422 MB / 0.9401 GB, free: 0.8984 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.5727, allocations: 4 kB / 0.9401 GB, free: 0.8945 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007486/0.5734, allocations: 351.5 kB / 0.9404 GB, free: 0.5508 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000918/0.5744, allocations: 0.5377 MB / 0.9409 GB, free: 0 / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005072/0.5749, allocations: 76.94 kB / 0.941 GB, free: 309 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007248/0.5821, allocations: 9.305 MB / 0.9501 GB, free: 302.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5821, allocations: 2.125 kB / 0.9501 GB, free: 302.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00524/0.5874, allocations: 3.641 MB / 0.9537 GB, free: 301.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/0.588, allocations: 367.4 kB / 0.954 GB, free: 301.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.5881, allocations: 46.39 kB / 0.9541 GB, free: 301.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/0.5887, allocations: 86.86 kB / 0.9541 GB, free: 301.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002746/0.589, allocations: 168.5 kB / 0.9543 GB, free: 301.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.5891, allocations: 111.4 kB / 0.9544 GB, free: 301.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0009358/0.5901, allocations: 1.015 MB / 0.9554 GB, free: 300.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.5901, allocations: 2.125 kB / 0.9554 GB, free: 300.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001832/0.5919, allocations: 0.9309 MB / 0.9563 GB, free: 300.6 MB / 0.7761 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.001264/0.5932, allocations: 1.077 MB / 0.9574 GB, free: 300.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003553/0.5967, allocations: 2.505 MB / 0.9598 GB, free: 299.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5967, allocations: 4.688 kB / 0.9598 GB, free: 299.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.00242/0.5991, allocations: 1.72 MB / 0.9615 GB, free: 298.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.6013, allocations: 0.772 MB / 0.9622 GB, free: 298.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005782/0.6071, allocations: 4.767 MB / 0.9669 GB, free: 296 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009648/0.608, allocations: 1.07 MB / 0.9679 GB, free: 295.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008161/0.6089, allocations: 403.2 kB / 0.9683 GB, free: 295.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.032e-06/0.6089, allocations: 0 / 0.9683 GB, free: 295.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.05292/0.6618, allocations: 93.46 MB / 1.06 GB, free: 213.3 MB / 0.7761 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: 12.361347519792616]