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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 193.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7937/0.7937, allocations: 94.59 MB / 400.9 MB, free: 15.21 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.002495/0.002495, allocations: 90.81 kB / 0.5472 GB, free: 42.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1164, allocations: 71.88 MB / 0.6174 GB, free: 8.09 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6881/0.8045, allocations: 310.3 MB / 0.9204 GB, free: 4.758 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.05668/0.8612, allocations: 38.43 MB / 0.9579 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003132/0.8643, allocations: 150.6 kB / 0.958 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004504/0.8688, allocations: 1.416 MB / 0.9594 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.8804, allocations: 3.443 MB / 0.9628 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01287/0.8932, allocations: 3.495 MB / 0.9662 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007893/0.9011, allocations: 3.85 MB / 0.97 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.9031, allocations: 0.5146 MB / 0.9705 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007001/0.9101, allocations: 2.472 MB / 0.9729 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003488/0.9136, allocations: 1.509 MB / 0.9743 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.9148, allocations: 232 kB / 0.9746 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01655/0.9313, allocations: 6.878 MB / 0.9813 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.9326, allocations: 0.5797 MB / 0.9819 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00303/0.9356, allocations: 1.406 MB / 0.9832 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01427/0.9499, allocations: 5.056 MB / 0.9882 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.9499, allocations: 0 / 0.9882 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.574e-06/0.9499, allocations: 0 / 0.9882 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001593/0.9501, allocations: 3.844 kB / 0.9882 GB, free: 15.05 MB / 0.7325 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.01005/0.9601, allocations: 3.705 MB / 0.9918 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.9602, allocations: 8.031 kB / 0.9918 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/0.9651, allocations: 0.6381 MB / 0.9924 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004644/0.9698, allocations: 1.687 MB / 0.9941 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005935/0.9704, allocations: 413.6 kB / 0.9945 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008716/0.9712, allocations: 215.9 kB / 0.9947 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006864/0.9781, allocations: 2.331 MB / 0.9969 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/0.9782, allocations: 4.438 kB / 0.9969 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/0.9785, allocations: 83.94 kB / 0.997 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.962e-05/0.9786, allocations: 76.05 kB / 0.9971 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005153/0.9837, allocations: 1.886 MB / 0.9989 GB, free: 3.711 MB / 0.7325 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.01522/0.9989, allocations: 8.738 MB / 1.007 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004836/1.004, allocations: 1.847 MB / 1.009 GB, free: 8.418 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002372/1.006, allocations: 0.9895 MB / 1.01 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008316/1.007, allocations: 225.8 kB / 1.01 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/1.007, allocations: 52.56 kB / 1.011 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=174): time 3.707e-06/1.007, allocations: 0 / 1.011 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of matching and sorting (n=176): time 0.01815/1.025, allocations: 6.077 MB / 1.016 GB, free: 1.027 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/1.025, allocations: 73.41 kB / 1.017 GB, free: 0.9453 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/1.028, allocations: 1.565 MB / 1.018 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002962/1.028, allocations: 49.7 kB / 1.018 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009834/1.029, allocations: 1.077 MB / 1.019 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000713/1.03, allocations: 0.6195 MB / 1.02 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007392/1.031, allocations: 327.5 kB / 1.02 GB, free: 13.25 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.031, allocations: 301.1 kB / 1.02 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/1.033, allocations: 0.6988 MB / 1.021 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/1.035, allocations: 0.8482 MB / 1.022 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/1.038, allocations: 1.581 MB / 1.023 GB, free: 9.773 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.038, allocations: 0 / 1.023 GB, free: 9.773 MB / 0.7637 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007585/1.046, allocations: 2.721 MB / 1.026 GB, free: 7.027 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.046, allocations: 4 kB / 1.026 GB, free: 7.023 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.046, allocations: 8.094 kB / 1.026 GB, free: 7.016 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/1.048, allocations: 0.5562 MB / 1.027 GB, free: 6.445 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/1.05, allocations: 431.4 kB / 1.027 GB, free: 6.023 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/1.065, allocations: 9.619 MB / 1.036 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/1.066, allocations: 87.97 kB / 1.037 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003338/1.067, allocations: 124 kB / 1.037 GB, free: 11.64 MB / 0.7794 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.0009791/1.068, allocations: 381.5 kB / 1.037 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000546/1.068, allocations: 230.5 kB / 1.037 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009884/1.078, allocations: 4.057 MB / 1.041 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/1.078, allocations: 19.94 kB / 1.041 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-05/1.078, allocations: 8 kB / 1.041 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.545e-05/1.078, allocations: 11.97 kB / 1.041 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/1.091, allocations: 5.18 MB / 1.046 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.091, allocations: 3.984 kB / 1.046 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/1.093, allocations: 411.7 kB / 1.047 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002017/1.095, allocations: 0.5752 MB / 1.047 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003446/1.096, allocations: 75.95 kB / 1.047 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3226/1.418, allocations: 9.603 MB / 1.057 GB, free: 318.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.418, allocations: 5.109 kB / 1.057 GB, free: 318.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00819/1.427, allocations: 3.763 MB / 1.06 GB, free: 317.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009479/1.428, allocations: 374.2 kB / 1.061 GB, free: 317.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/1.428, allocations: 36.8 kB / 1.061 GB, free: 317.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.429, allocations: 90.33 kB / 1.061 GB, free: 317.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000385/1.429, allocations: 161.1 kB / 1.061 GB, free: 317.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/1.43, allocations: 123.7 kB / 1.061 GB, free: 317.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001623/1.431, allocations: 1.05 MB / 1.062 GB, free: 317.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/1.431, allocations: 0 / 1.062 GB, free: 317.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003138/1.434, allocations: 0.8862 MB / 1.063 GB, free: 317.2 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.001931/1.436, allocations: 1.039 MB / 1.064 GB, free: 317 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00574/1.442, allocations: 2.593 MB / 1.067 GB, free: 315.9 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.442, allocations: 0.8125 kB / 1.067 GB, free: 315.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003609/1.446, allocations: 1.855 MB / 1.068 GB, free: 315 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/1.448, allocations: 0.578 MB / 1.069 GB, free: 314.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008393/1.457, allocations: 4.976 MB / 1.074 GB, free: 312.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008449/1.457, allocations: 1.588 MB / 1.075 GB, free: 311.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002706/1.46, allocations: 1.439 MB / 1.077 GB, free: 311.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008332/1.461, allocations: 321.1 kB / 1.077 GB, free: 311.4 MB / 0.7794 GB Notification: Performance of SimCode: time 9.41e-07/1.461, allocations: 0 / 1.077 GB, free: 311.4 MB / 0.7794 GB Notification: Performance of Templates: time 0.06027/1.521, allocations: 44.37 MB / 1.12 GB, free: 272.3 MB / 0.7794 GB " [Timeout remaining time 658] 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: 8.802368516102433]