Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.001555/0.001555, allocations: 77.7 kB / 19.76 MB, free: 2.027 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.001684/0.001684, allocations: 160.9 kB / 23.01 MB, free: 4.949 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.371/1.371, allocations: 177.2 MB / 203.4 MB, free: 9.246 MB / 190.1 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.7127/0.7127, allocations: 79.61 MB / 339.4 MB, free: 11.5 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_serial,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|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,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|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") [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.002495/0.002495, allocations: 91.91 kB / 0.4924 GB, free: 26.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1125, allocations: 74.58 MB / 0.5652 GB, free: 6.129 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4967/0.6091, allocations: 205.6 MB / 0.766 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02197/0.6311, allocations: 20.24 MB / 0.7858 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.6324, allocations: 86.56 kB / 0.7858 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.6341, allocations: 0.7119 MB / 0.7865 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.6388, allocations: 2.094 MB / 0.7886 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005106/0.6439, allocations: 2.175 MB / 0.7907 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002389/0.6463, allocations: 2.232 MB / 0.7929 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004285/0.6467, allocations: 256.1 kB / 0.7931 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002877/0.6496, allocations: 1.87 MB / 0.795 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008628/0.6504, allocations: 0.7664 MB / 0.7957 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.6506, allocations: 129.1 kB / 0.7958 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006949/0.6575, allocations: 3.931 MB / 0.7997 GB, free: 284 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003886/0.6579, allocations: 341.7 kB / 0.8 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007973/0.6587, allocations: 0.6685 MB / 0.8006 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004894/0.6636, allocations: 3.012 MB / 0.8036 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6636, allocations: 0 / 0.8036 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6636, allocations: 0 / 0.8036 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.286e-05/0.6636, allocations: 0 / 0.8036 GB, free: 13.77 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.00413/0.6678, allocations: 2.31 MB / 0.8058 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.6678, allocations: 9.031 kB / 0.8059 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.6706, allocations: 445.6 kB / 0.8063 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.6726, allocations: 1.025 MB / 0.8073 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005033/0.6731, allocations: 0.5511 MB / 0.8078 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.6734, allocations: 132 kB / 0.8079 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.6761, allocations: 1.412 MB / 0.8093 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.6761, allocations: 0 / 0.8093 GB, free: 8.965 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.6762, allocations: 55.98 kB / 0.8094 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.6762, allocations: 28 kB / 0.8094 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.6791, allocations: 1.272 MB / 0.8106 GB, free: 7.609 MB / 0.6231 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.006031/0.6851, allocations: 3.28 MB / 0.8138 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.6881, allocations: 1.246 MB / 0.8151 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.6894, allocations: 0.6313 MB / 0.8157 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004544/0.6899, allocations: 148.9 kB / 0.8158 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.6899, allocations: 43.56 kB / 0.8159 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 3.497e-06/0.6899, allocations: 0 / 0.8159 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.009003/0.6989, allocations: 2.814 MB / 0.8186 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.699, allocations: 72.33 kB / 0.8187 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.7001, allocations: 0.847 MB / 0.8195 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.653e-05/0.7002, allocations: 45.7 kB / 0.8196 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005167/0.7007, allocations: 0.6502 MB / 0.8202 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.7011, allocations: 412.4 kB / 0.8206 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003578/0.7014, allocations: 206.9 kB / 0.8208 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7016, allocations: 341.9 kB / 0.8211 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.7027, allocations: 476.8 kB / 0.8216 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.7038, allocations: 0.5372 MB / 0.8221 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.706, allocations: 0.9933 MB / 0.8231 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.706, allocations: 4 kB / 0.8231 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00449/0.7105, allocations: 1.744 MB / 0.8248 GB, free: 9.039 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7105, allocations: 4 kB / 0.8248 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.7105, allocations: 0 / 0.8248 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.7117, allocations: 385.8 kB / 0.8251 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.7127, allocations: 242 kB / 0.8254 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009096/0.7218, allocations: 6.782 MB / 0.832 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009648/0.7228, allocations: 127.4 kB / 0.8321 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.7229, allocations: 71.97 kB / 0.8322 GB, free: 1.07 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,2,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005234/0.7235, allocations: 260.2 kB / 0.8324 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.7238, allocations: 135.1 kB / 0.8326 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005835/0.7296, allocations: 2.534 MB / 0.835 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.7296, allocations: 12.88 kB / 0.835 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.7296, allocations: 4 kB / 0.835 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.7296, allocations: 7.969 kB / 0.8351 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006475/0.7361, allocations: 2.916 MB / 0.8379 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.7361, allocations: 0 / 0.8379 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.7372, allocations: 234 kB / 0.8381 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.7384, allocations: 387.6 kB / 0.8385 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.7385, allocations: 50.5 kB / 0.8385 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009142/0.7476, allocations: 6.797 MB / 0.8452 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7476, allocations: 2.531 kB / 0.8452 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006101/0.7537, allocations: 2.49 MB / 0.8476 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005864/0.7543, allocations: 230.8 kB / 0.8478 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/0.7545, allocations: 31.94 kB / 0.8479 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008045/0.7553, allocations: 75.86 kB / 0.8479 GB, free: 500 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.7555, allocations: 96.83 kB / 0.848 GB, free: 404 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.7556, allocations: 71.95 kB / 0.8481 GB, free: 332 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008084/0.7565, allocations: 0.5809 MB / 0.8487 GB, free: 15.74 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.7565, allocations: 4 kB / 0.8487 GB, free: 15.73 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001705/0.7582, allocations: 0.6156 MB / 0.8493 GB, free: 15.12 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00116/0.7593, allocations: 0.6803 MB / 0.8499 GB, free: 14.45 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003564/0.7629, allocations: 1.701 MB / 0.8516 GB, free: 12.71 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7629, allocations: 0 / 0.8516 GB, free: 12.71 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.7651, allocations: 1.207 MB / 0.8528 GB, free: 11.47 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.7663, allocations: 290.6 kB / 0.8531 GB, free: 11.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/0.7716, allocations: 3.087 MB / 0.8561 GB, free: 8.074 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/0.7722, allocations: 0.6208 MB / 0.8567 GB, free: 7.414 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001604/0.7738, allocations: 0.832 MB / 0.8575 GB, free: 6.602 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005049/0.7743, allocations: 188.4 kB / 0.8577 GB, free: 6.418 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.7743, allocations: 0 / 0.8577 GB, free: 6.418 MB / 0.67 GB Notification: Performance of Templates: time 0.04157/0.8159, allocations: 25.14 MB / 0.8822 GB, free: 13.57 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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: 6.777883701957762]