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.001618/0.001618, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001845/0.001845, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.793 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.756/0.756, allocations: 100.9 MB / 413.3 MB, free: 2.848 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.002426/0.002426, allocations: 90.3 kB / 0.5646 GB, free: 35.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1197, allocations: 74.61 MB / 0.6374 GB, free: 5.965 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6307/0.7504, allocations: 271.4 MB / 0.9025 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.05702/0.8075, allocations: 34.57 MB / 0.9363 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003377/0.8108, allocations: 146.6 kB / 0.9364 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005307/0.8161, allocations: 1.241 MB / 0.9376 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.8296, allocations: 3.434 MB / 0.941 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01232/0.8419, allocations: 3.448 MB / 0.9443 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006279/0.8482, allocations: 3.815 MB / 0.9481 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.8495, allocations: 0.4946 MB / 0.9485 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005121/0.8546, allocations: 2.465 MB / 0.9509 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.8575, allocations: 1.356 MB / 0.9523 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008674/0.8584, allocations: 232 kB / 0.9525 GB, free: 7.082 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01342/0.8718, allocations: 6.474 MB / 0.9588 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009275/0.8727, allocations: 0.5796 MB / 0.9594 GB, free: 20 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002106/0.8748, allocations: 1.135 MB / 0.9605 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01142/0.8862, allocations: 5.009 MB / 0.9654 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8862, allocations: 0 / 0.9654 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8862, allocations: 0 / 0.9654 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001111/0.8864, allocations: 3.938 kB / 0.9654 GB, free: 9.848 MB / 0.7169 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.008473/0.8948, allocations: 3.693 MB / 0.969 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.8949, allocations: 9.469 kB / 0.969 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/0.8995, allocations: 0.642 MB / 0.9696 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004019/0.9035, allocations: 1.69 MB / 0.9713 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005901/0.9041, allocations: 0.6048 MB / 0.9719 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004255/0.9045, allocations: 212 kB / 0.9721 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004617/0.9091, allocations: 2.28 MB / 0.9743 GB, free: 384 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.026e-05/0.9092, allocations: 11.92 kB / 0.9743 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/0.9094, allocations: 83.94 kB / 0.9744 GB, free: 288 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.648e-05/0.9095, allocations: 76.05 kB / 0.9745 GB, free: 208 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004807/0.9143, allocations: 1.956 MB / 0.9764 GB, free: 14.23 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.01221/0.9265, allocations: 5.357 MB / 0.9816 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004899/0.9314, allocations: 1.853 MB / 0.9834 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/0.9338, allocations: 0.9465 MB / 0.9843 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008548/0.9347, allocations: 221.8 kB / 0.9845 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.9347, allocations: 48.56 kB / 0.9846 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=174): time 4.779e-06/0.9347, allocations: 4 kB / 0.9846 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=176): time 0.01814/0.9529, allocations: 6.058 MB / 0.9905 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.9529, allocations: 73.41 kB / 0.9906 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.9552, allocations: 1.417 MB / 0.992 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002903/0.9555, allocations: 57.7 kB / 0.992 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.9568, allocations: 1.084 MB / 0.9931 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001495/0.9583, allocations: 0.6274 MB / 0.9937 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007146/0.959, allocations: 319.5 kB / 0.994 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9592, allocations: 305.1 kB / 0.9943 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.9607, allocations: 0.6598 MB / 0.9949 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.9625, allocations: 0.8137 MB / 0.9957 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/0.9658, allocations: 1.527 MB / 0.9972 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.9658, allocations: 0 / 0.9972 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006336/0.9722, allocations: 2.538 MB / 0.9997 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.9722, allocations: 8.094 kB / 0.9997 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.9722, allocations: 4 kB / 0.9997 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.974, allocations: 0.5293 MB / 1 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.9756, allocations: 369.7 kB / 1.001 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.9888, allocations: 9.328 MB / 1.01 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.9903, allocations: 92.06 kB / 1.01 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003907/0.9907, allocations: 124 kB / 1.01 GB, free: 11.05 MB / 0.7637 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 {(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.0009932/0.9917, allocations: 381.5 kB / 1.01 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006227/0.9923, allocations: 230.5 kB / 1.01 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008783/1.001, allocations: 3.887 MB / 1.014 GB, free: 6.535 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.001, allocations: 16 kB / 1.014 GB, free: 6.52 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/1.001, allocations: 8 kB / 1.014 GB, free: 6.512 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.157e-05/1.001, allocations: 15.89 kB / 1.014 GB, free: 6.496 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/1.012, allocations: 4.401 MB / 1.019 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.012, allocations: 4 kB / 1.019 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.013, allocations: 355.5 kB / 1.019 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/1.015, allocations: 0.5428 MB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.015, allocations: 79.94 kB / 1.02 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/1.028, allocations: 9.317 MB / 1.029 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.028, allocations: 4.031 kB / 1.029 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008728/1.037, allocations: 3.622 MB / 1.032 GB, free: 3.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.038, allocations: 366.2 kB / 1.033 GB, free: 3.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002674/1.038, allocations: 32 kB / 1.033 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.039, allocations: 83.92 kB / 1.033 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/1.04, allocations: 169.6 kB / 1.033 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002048/1.04, allocations: 120.1 kB / 1.033 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001356/1.041, allocations: 0.9457 MB / 1.034 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/1.041, allocations: 4 kB / 1.034 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002507/1.044, allocations: 0.8854 MB / 1.035 GB, free: 0.9023 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%), (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.001898/1.046, allocations: 1.037 MB / 1.036 GB, free: 15.87 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005356/1.051, allocations: 2.461 MB / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.051, allocations: 4.062 kB / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003346/1.054, allocations: 1.717 MB / 1.04 GB, free: 11.57 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/1.057, allocations: 0.5262 MB / 1.04 GB, free: 11.06 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009377/1.066, allocations: 4.933 MB / 1.045 GB, free: 6.062 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/1.067, allocations: 1.03 MB / 1.046 GB, free: 5 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003118/1.07, allocations: 1.435 MB / 1.048 GB, free: 3.582 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009248/1.071, allocations: 315.2 kB / 1.048 GB, free: 3.273 MB / 0.795 GB Notification: Performance of SimCode: time 9.92e-07/1.071, allocations: 4 kB / 1.048 GB, free: 3.27 MB / 0.795 GB Notification: Performance of Templates: time 0.3562/1.428, allocations: 46 MB / 1.093 GB, free: 301.4 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/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.366657579317689]