Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001232/0.001232, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00133/0.00133, allocations: 219.9 kB / 23.01 MB, free: 4.609 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.682/0.682, allocations: 94.57 MB / 407.8 MB, free: 9.191 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/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_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_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.002366/0.002366, allocations: 90.03 kB / 0.5562 GB, free: 38.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1068, allocations: 73.06 MB / 0.6275 GB, free: 16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5115/0.6183, allocations: 236.7 MB / 0.8586 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02791/0.6462, allocations: 22.55 MB / 0.8807 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/0.6481, allocations: 87.19 kB / 0.8807 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.6506, allocations: 0.8026 MB / 0.8815 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005977/0.6565, allocations: 2.103 MB / 0.8836 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006008/0.6625, allocations: 2.209 MB / 0.8857 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003475/0.666, allocations: 2.255 MB / 0.8879 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006035/0.6666, allocations: 261.8 kB / 0.8882 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/0.6695, allocations: 1.471 MB / 0.8896 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.6709, allocations: 0.8475 MB / 0.8905 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003559/0.6713, allocations: 136 kB / 0.8906 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008859/0.6801, allocations: 4.235 MB / 0.8947 GB, free: 13.06 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0005087/0.6806, allocations: 342.5 kB / 0.895 GB, free: 12.73 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.6819, allocations: 0.8275 MB / 0.8959 GB, free: 11.89 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.00716/0.6891, allocations: 3.056 MB / 0.8988 GB, free: 8.828 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.6891, allocations: 0 / 0.8988 GB, free: 8.828 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6891, allocations: 0 / 0.8988 GB, free: 8.828 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 6.419e-05/0.6892, allocations: 0 / 0.8988 GB, free: 8.828 MB / 0.6388 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.005248/0.6944, allocations: 2.314 MB / 0.9011 GB, free: 6.473 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.6945, allocations: 15.97 kB / 0.9011 GB, free: 6.457 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003111/0.6976, allocations: 430.4 kB / 0.9015 GB, free: 6.035 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/0.7, allocations: 1.035 MB / 0.9025 GB, free: 4.949 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005177/0.7006, allocations: 0.4944 MB / 0.903 GB, free: 4.367 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/0.7008, allocations: 128 kB / 0.9031 GB, free: 4.242 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003139/0.7039, allocations: 1.454 MB / 0.9046 GB, free: 2.738 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.704, allocations: 3.984 kB / 0.9046 GB, free: 2.734 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.7041, allocations: 52 kB / 0.9046 GB, free: 2.684 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/0.7041, allocations: 32 kB / 0.9046 GB, free: 2.652 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.7069, allocations: 1.192 MB / 0.9058 GB, free: 1.453 MB / 0.6388 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.008068/0.715, allocations: 5.156 MB / 0.9108 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.7179, allocations: 1.251 MB / 0.9121 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/0.7194, allocations: 0.6737 MB / 0.9127 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004894/0.7199, allocations: 152.8 kB / 0.9129 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.72, allocations: 43.56 kB / 0.9129 GB, free: 9.797 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=113): time 3.116e-06/0.72, allocations: 3.938 kB / 0.9129 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of matching and sorting (n=113): time 0.008679/0.7287, allocations: 2.747 MB / 0.9156 GB, free: 7.023 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.7287, allocations: 68.41 kB / 0.9157 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.7299, allocations: 0.9057 MB / 0.9165 GB, free: 6.027 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-05/0.73, allocations: 45.7 kB / 0.9166 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005159/0.7305, allocations: 0.6429 MB / 0.9172 GB, free: 5.328 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003565/0.7309, allocations: 404.4 kB / 0.9176 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/0.7312, allocations: 206.9 kB / 0.9178 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.7314, allocations: 341.9 kB / 0.9181 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.7326, allocations: 0.4944 MB / 0.9186 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.7339, allocations: 0.5801 MB / 0.9192 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.7363, allocations: 1.062 MB / 0.9202 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7363, allocations: 0 / 0.9202 GB, free: 2.215 MB / 0.6544 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005231/0.7415, allocations: 1.909 MB / 0.9221 GB, free: 292 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.7415, allocations: 8 kB / 0.9221 GB, free: 284 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7415, allocations: 5.438 kB / 0.9221 GB, free: 280 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.7428, allocations: 429.3 kB / 0.9225 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.7443, allocations: 283.7 kB / 0.9228 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00963/0.7539, allocations: 7.033 MB / 0.9296 GB, free: 8.078 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.755, allocations: 131.3 kB / 0.9298 GB, free: 7.949 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.7552, allocations: 72.72 kB / 0.9298 GB, free: 7.879 MB / 0.67 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 {(3,1,88.9%), (3,1,88.9%), (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.0005833/0.7558, allocations: 265.6 kB / 0.9301 GB, free: 7.609 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/0.7561, allocations: 135.1 kB / 0.9302 GB, free: 7.477 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006602/0.7627, allocations: 2.711 MB / 0.9329 GB, free: 4.738 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.7627, allocations: 12 kB / 0.9329 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.7627, allocations: 0 / 0.9329 GB, free: 4.727 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.7627, allocations: 9.109 kB / 0.9329 GB, free: 4.719 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007808/0.7705, allocations: 3.497 MB / 0.9363 GB, free: 1.148 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.7705, allocations: 0 / 0.9363 GB, free: 1.148 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.7721, allocations: 295.8 kB / 0.9366 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.7733, allocations: 423.3 kB / 0.937 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.7734, allocations: 51.91 kB / 0.937 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009552/0.783, allocations: 7.005 MB / 0.9439 GB, free: 8.914 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.783, allocations: 8 kB / 0.9439 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006452/0.7894, allocations: 2.603 MB / 0.9464 GB, free: 6.266 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006087/0.79, allocations: 254.6 kB / 0.9467 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.7902, allocations: 24 kB / 0.9467 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/0.7911, allocations: 71.94 kB / 0.9468 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/0.7913, allocations: 108.7 kB / 0.9469 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.7914, allocations: 71.95 kB / 0.9469 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008499/0.7923, allocations: 0.6273 MB / 0.9475 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/0.7923, allocations: 0 / 0.9475 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001754/0.794, allocations: 0.6118 MB / 0.9481 GB, free: 4.5 MB / 0.6856 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%), (3,1,88.9%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/0.7953, allocations: 0.6676 MB / 0.9488 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004388/0.7997, allocations: 1.827 MB / 0.9506 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.7997, allocations: 4.125 kB / 0.9506 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002908/0.8026, allocations: 1.34 MB / 0.9519 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.8042, allocations: 301.6 kB / 0.9522 GB, free: 276 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006118/0.8103, allocations: 3.15 MB / 0.9553 GB, free: 13.07 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/0.8112, allocations: 1.206 MB / 0.9564 GB, free: 11.83 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/0.812, allocations: 243.2 kB / 0.9567 GB, free: 11.6 MB / 0.7013 GB Notification: Performance of SimCode: time 1.072e-06/0.812, allocations: 3.938 kB / 0.9567 GB, free: 11.59 MB / 0.7013 GB Notification: Performance of Templates: time 0.05493/0.8669, allocations: 47.61 MB / 1.003 GB, free: 11.98 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 11.973396240966395]