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.001569/0.001569, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.001694/0.001694, allocations: 156.7 kB / 23.01 MB, free: 4.961 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.378/1.378, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.7359/0.7359, allocations: 79.62 MB / 339.4 MB, free: 10.98 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.002505/0.002505, allocations: 87.12 kB / 0.4924 GB, free: 26.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1112, allocations: 74.6 MB / 0.5652 GB, free: 5.984 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5121/0.6233, allocations: 205.8 MB / 0.7662 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02307/0.6464, allocations: 20.29 MB / 0.786 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.6479, allocations: 87.41 kB / 0.7861 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.6498, allocations: 0.7065 MB / 0.7868 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005217/0.655, allocations: 2.092 MB / 0.7888 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005637/0.6606, allocations: 2.183 MB / 0.791 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002805/0.6634, allocations: 2.227 MB / 0.7931 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/0.6639, allocations: 251.8 kB / 0.7934 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.6665, allocations: 1.475 MB / 0.7948 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.6675, allocations: 0.7555 MB / 0.7956 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.6677, allocations: 129.7 kB / 0.7957 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007187/0.6749, allocations: 3.934 MB / 0.7995 GB, free: 224 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.6753, allocations: 344.8 kB / 0.7998 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008792/0.6762, allocations: 0.6659 MB / 0.8005 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006114/0.6823, allocations: 3.013 MB / 0.8034 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.6823, allocations: 0 / 0.8034 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6823, allocations: 0 / 0.8034 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.887e-05/0.6824, allocations: 3.938 kB / 0.8034 GB, free: 13.71 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.004442/0.6868, allocations: 2.303 MB / 0.8057 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.6868, allocations: 14 kB / 0.8057 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.6901, allocations: 441.1 kB / 0.8061 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.6926, allocations: 1.024 MB / 0.8071 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000549/0.6931, allocations: 0.5499 MB / 0.8077 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.6934, allocations: 134.8 kB / 0.8078 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.6964, allocations: 1.416 MB / 0.8092 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.6964, allocations: 0 / 0.8092 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.6966, allocations: 48 kB / 0.8092 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.6966, allocations: 36 kB / 0.8093 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003151/0.6997, allocations: 1.271 MB / 0.8105 GB, free: 7.582 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.006686/0.7064, allocations: 3.278 MB / 0.8137 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/0.7096, allocations: 1.253 MB / 0.8149 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.711, allocations: 0.6313 MB / 0.8155 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004765/0.7115, allocations: 148.9 kB / 0.8157 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.7116, allocations: 47.5 kB / 0.8157 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 2.915e-06/0.7116, allocations: 0 / 0.8157 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.009851/0.7214, allocations: 2.81 MB / 0.8185 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.7215, allocations: 68.34 kB / 0.8185 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.7227, allocations: 0.847 MB / 0.8194 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.7228, allocations: 45.7 kB / 0.8194 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/0.7234, allocations: 0.6541 MB / 0.82 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.7238, allocations: 412.4 kB / 0.8204 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003568/0.7241, allocations: 202.9 kB / 0.8206 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.7243, allocations: 349.9 kB / 0.821 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.7255, allocations: 462.3 kB / 0.8214 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.7267, allocations: 0.5437 MB / 0.8219 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.7291, allocations: 0.9906 MB / 0.8229 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7291, allocations: 2.625 kB / 0.8229 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004968/0.7341, allocations: 1.744 MB / 0.8246 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.7341, allocations: 11.98 kB / 0.8246 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.7341, allocations: 0 / 0.8246 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.7356, allocations: 381.7 kB / 0.825 GB, free: 8.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.7367, allocations: 242.1 kB / 0.8252 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.7468, allocations: 6.781 MB / 0.8318 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.7479, allocations: 127.4 kB / 0.832 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.7481, allocations: 71.97 kB / 0.832 GB, free: 1.043 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.0005802/0.7487, allocations: 260 kB / 0.8323 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/0.749, allocations: 135.1 kB / 0.8324 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006299/0.7553, allocations: 2.539 MB / 0.8349 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.7554, allocations: 12 kB / 0.8349 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.7554, allocations: 4 kB / 0.8349 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.7554, allocations: 7.984 kB / 0.8349 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007297/0.7627, allocations: 2.909 MB / 0.8377 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.7627, allocations: 4 kB / 0.8378 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.7639, allocations: 234 kB / 0.838 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/0.7651, allocations: 387.5 kB / 0.8383 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001218/0.7652, allocations: 47.97 kB / 0.8384 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009948/0.7752, allocations: 6.788 MB / 0.845 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7752, allocations: 0 / 0.845 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006509/0.7817, allocations: 2.494 MB / 0.8475 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006251/0.7823, allocations: 241.4 kB / 0.8477 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.7825, allocations: 24 kB / 0.8477 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009208/0.7834, allocations: 79.86 kB / 0.8478 GB, free: 472 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.7837, allocations: 100.8 kB / 0.8479 GB, free: 372 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.7838, allocations: 63.97 kB / 0.8479 GB, free: 308 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009212/0.7847, allocations: 0.5825 MB / 0.8485 GB, free: 15.71 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7847, allocations: 4 kB / 0.8485 GB, free: 15.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001952/0.7867, allocations: 0.6141 MB / 0.8491 GB, free: 15.09 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.001415/0.7881, allocations: 0.6821 MB / 0.8498 GB, free: 14.42 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004124/0.7922, allocations: 1.701 MB / 0.8514 GB, free: 12.68 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7922, allocations: 0 / 0.8514 GB, free: 12.68 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002516/0.7947, allocations: 1.21 MB / 0.8526 GB, free: 11.44 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.7963, allocations: 290.1 kB / 0.8529 GB, free: 11.17 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006158/0.8025, allocations: 3.085 MB / 0.8559 GB, free: 8.047 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/0.8032, allocations: 0.6208 MB / 0.8565 GB, free: 7.387 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001887/0.8051, allocations: 0.8331 MB / 0.8573 GB, free: 6.574 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000581/0.8057, allocations: 188.4 kB / 0.8575 GB, free: 6.391 MB / 0.67 GB Notification: Performance of SimCode: time 9.31e-07/0.8057, allocations: 0 / 0.8575 GB, free: 6.391 MB / 0.67 GB Notification: Performance of Templates: time 0.04649/0.8522, allocations: 25.14 MB / 0.8821 GB, free: 13.55 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 ida -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.849911783938296]