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.00131/0.00131, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001436/0.001436, allocations: 220.4 kB / 23 MB, free: 4.914 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.7848/0.7848, allocations: 100.9 MB / 414.1 MB, free: 2.891 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.00252/0.00252, allocations: 84.39 kB / 0.5653 GB, free: 35.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1286, allocations: 74.62 MB / 0.6382 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5494/0.6781, allocations: 205.8 MB / 0.8391 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02625/0.7043, allocations: 20.29 MB / 0.859 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.7062, allocations: 86.16 kB / 0.859 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.7084, allocations: 0.7075 MB / 0.8597 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006299/0.7147, allocations: 2.086 MB / 0.8618 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006099/0.7208, allocations: 2.184 MB / 0.8639 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003035/0.7238, allocations: 2.229 MB / 0.8661 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004783/0.7243, allocations: 253.9 kB / 0.8663 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.727, allocations: 1.468 MB / 0.8678 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009763/0.728, allocations: 0.7616 MB / 0.8685 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.7281, allocations: 130.9 kB / 0.8686 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007571/0.7357, allocations: 3.936 MB / 0.8725 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.7361, allocations: 338.6 kB / 0.8728 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008987/0.737, allocations: 0.6684 MB / 0.8734 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005941/0.743, allocations: 3.017 MB / 0.8764 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.743, allocations: 0 / 0.8764 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.423e-06/0.743, allocations: 0 / 0.8764 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.18e-05/0.743, allocations: 3.938 kB / 0.8764 GB, free: 6.098 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.004445/0.7475, allocations: 2.31 MB / 0.8786 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7475, allocations: 9.469 kB / 0.8787 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002949/0.7504, allocations: 434.5 kB / 0.8791 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.7526, allocations: 1.028 MB / 0.8801 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005257/0.7531, allocations: 0.5445 MB / 0.8806 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.7534, allocations: 132 kB / 0.8807 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.7562, allocations: 1.411 MB / 0.8821 GB, free: 0 / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.7562, allocations: 4.047 kB / 0.8821 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.7563, allocations: 48 kB / 0.8822 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.7563, allocations: 32 kB / 0.8822 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/0.7593, allocations: 1.274 MB / 0.8834 GB, free: 14.64 MB / 0.6387 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.006308/0.7656, allocations: 3.278 MB / 0.8866 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002987/0.7686, allocations: 1.249 MB / 0.8879 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.77, allocations: 0.6348 MB / 0.8885 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000488/0.7705, allocations: 148.9 kB / 0.8886 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/0.7706, allocations: 43.56 kB / 0.8887 GB, free: 9.191 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=113): time 3.266e-06/0.7706, allocations: 4 kB / 0.8887 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of matching and sorting (n=113): time 0.009319/0.7799, allocations: 2.809 MB / 0.8914 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.7799, allocations: 68.34 kB / 0.8915 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.7811, allocations: 0.847 MB / 0.8923 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.424e-05/0.7812, allocations: 45.7 kB / 0.8923 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005617/0.7818, allocations: 0.6503 MB / 0.893 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/0.7822, allocations: 408.4 kB / 0.8934 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.7825, allocations: 206.9 kB / 0.8936 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.7827, allocations: 345.9 kB / 0.8939 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.7838, allocations: 458.3 kB / 0.8943 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.785, allocations: 0.5489 MB / 0.8949 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/0.7873, allocations: 0.9921 MB / 0.8958 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7873, allocations: 0 / 0.8958 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004605/0.7919, allocations: 1.742 MB / 0.8975 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.7919, allocations: 12.06 kB / 0.8976 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7919, allocations: 0 / 0.8976 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.7932, allocations: 378.7 kB / 0.8979 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.7942, allocations: 243.7 kB / 0.8981 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009532/0.8038, allocations: 6.789 MB / 0.9048 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.8049, allocations: 132.5 kB / 0.9049 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.805, allocations: 72.03 kB / 0.905 GB, free: 7.949 MB / 0.6544 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.000542/0.8056, allocations: 255.8 kB / 0.9052 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003006/0.8059, allocations: 135.1 kB / 0.9053 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005895/0.8118, allocations: 2.538 MB / 0.9078 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.8118, allocations: 12 kB / 0.9078 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.8118, allocations: 4 kB / 0.9078 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.8118, allocations: 7.969 kB / 0.9078 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00671/0.8185, allocations: 2.907 MB / 0.9107 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.8185, allocations: 4.812 kB / 0.9107 GB, free: 2.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.8196, allocations: 235.7 kB / 0.9109 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/0.8207, allocations: 391.6 kB / 0.9113 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.8208, allocations: 43.97 kB / 0.9113 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00975/0.8306, allocations: 6.781 MB / 0.9179 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8306, allocations: 320 / 0.9179 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/0.837, allocations: 2.497 MB / 0.9204 GB, free: 7.605 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006639/0.8377, allocations: 234.7 kB / 0.9206 GB, free: 7.375 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.8379, allocations: 31.95 kB / 0.9206 GB, free: 7.344 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000863/0.8387, allocations: 71.88 kB / 0.9207 GB, free: 7.273 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.839, allocations: 108.8 kB / 0.9208 GB, free: 7.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.8391, allocations: 67.91 kB / 0.9209 GB, free: 7.098 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009026/0.84, allocations: 0.5824 MB / 0.9214 GB, free: 6.508 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/0.84, allocations: 0 / 0.9214 GB, free: 6.508 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001933/0.8419, allocations: 0.6118 MB / 0.922 GB, free: 5.895 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.001382/0.8433, allocations: 0.686 MB / 0.9227 GB, free: 5.207 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003845/0.8472, allocations: 1.702 MB / 0.9244 GB, free: 3.457 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8472, allocations: 0 / 0.9244 GB, free: 3.457 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00238/0.8495, allocations: 1.207 MB / 0.9256 GB, free: 2.195 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.851, allocations: 297.4 kB / 0.9258 GB, free: 1.922 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006546/0.8576, allocations: 3.136 MB / 0.9289 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009009/0.8585, allocations: 0.6208 MB / 0.9295 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008353/0.8593, allocations: 235.3 kB / 0.9297 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of SimCode: time 7.42e-07/0.8593, allocations: 0 / 0.9297 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of Templates: time 0.05846/0.9177, allocations: 47.75 MB / 0.9764 GB, free: 14.08 MB / 0.7325 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 -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: 12.777545897755772]