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.001596/0.001596, 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.00175/0.00175, allocations: 213.8 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.797 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.7959/0.7959, allocations: 100.9 MB / 413.3 MB, free: 2.855 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.002496/0.002496, allocations: 87.72 kB / 0.5646 GB, free: 35.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.123, allocations: 74.62 MB / 0.6374 GB, free: 5.961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5527/0.6756, allocations: 205.8 MB / 0.8384 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02802/0.7036, allocations: 20.3 MB / 0.8582 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.7053, allocations: 85.84 kB / 0.8583 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002273/0.7076, allocations: 0.7033 MB / 0.859 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006062/0.7137, allocations: 2.091 MB / 0.861 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005862/0.7195, allocations: 2.182 MB / 0.8632 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002995/0.7225, allocations: 2.222 MB / 0.8653 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005865/0.7231, allocations: 256 kB / 0.8656 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002781/0.7259, allocations: 1.471 MB / 0.867 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.7274, allocations: 0.7565 MB / 0.8678 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.7277, allocations: 131.1 kB / 0.8679 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008221/0.7359, allocations: 3.935 MB / 0.8717 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006233/0.7366, allocations: 346.5 kB / 0.8721 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.738, allocations: 0.6606 MB / 0.8727 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007056/0.745, allocations: 3.021 MB / 0.8757 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.745, allocations: 0 / 0.8757 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.413e-06/0.745, allocations: 0 / 0.8757 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.702e-05/0.7451, allocations: 7.938 kB / 0.8757 GB, free: 6.047 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.00553/0.7506, allocations: 2.302 MB / 0.8779 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.7507, allocations: 13.47 kB / 0.8779 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/0.7541, allocations: 430.5 kB / 0.8783 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.7568, allocations: 1.024 MB / 0.8793 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005689/0.7574, allocations: 0.5524 MB / 0.8799 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.7577, allocations: 135.9 kB / 0.88 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/0.7608, allocations: 1.407 MB / 0.8814 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.7608, allocations: 0 / 0.8814 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.7609, allocations: 54.25 kB / 0.8814 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.761, allocations: 28 kB / 0.8815 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00308/0.764, allocations: 1.274 MB / 0.8827 GB, free: 14.59 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.006832/0.7709, allocations: 3.286 MB / 0.8859 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003253/0.7741, allocations: 1.245 MB / 0.8871 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.7757, allocations: 0.6348 MB / 0.8877 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005289/0.7762, allocations: 148.9 kB / 0.8879 GB, free: 9.195 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.7762, allocations: 47.5 kB / 0.8879 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=113): time 3.126e-06/0.7762, allocations: 0 / 0.8879 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of matching and sorting (n=113): time 0.009928/0.7862, allocations: 2.809 MB / 0.8907 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.7862, allocations: 72.34 kB / 0.8907 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.7875, allocations: 0.8509 MB / 0.8916 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.7876, allocations: 45.7 kB / 0.8916 GB, free: 5.312 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/0.7882, allocations: 0.6424 MB / 0.8922 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.7886, allocations: 408.4 kB / 0.8926 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003691/0.789, allocations: 210.9 kB / 0.8928 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7892, allocations: 341.9 kB / 0.8932 GB, free: 3.711 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.7903, allocations: 462.3 kB / 0.8936 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.7916, allocations: 0.545 MB / 0.8941 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.7941, allocations: 0.9921 MB / 0.8951 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/0.7941, allocations: 0 / 0.8951 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005024/0.7991, allocations: 1.745 MB / 0.8968 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.7992, allocations: 4.781 kB / 0.8968 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7992, allocations: 4 kB / 0.8968 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.8005, allocations: 384 kB / 0.8972 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.8016, allocations: 243.7 kB / 0.8974 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.8119, allocations: 6.789 MB / 0.904 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.813, allocations: 123.3 kB / 0.9042 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.8132, allocations: 76.84 kB / 0.9042 GB, free: 7.902 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.0007313/0.814, allocations: 265.7 kB / 0.9045 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005286/0.8145, allocations: 131.2 kB / 0.9046 GB, free: 7.504 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006458/0.821, allocations: 2.537 MB / 0.9071 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.821, allocations: 12 kB / 0.9071 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.821, allocations: 4 kB / 0.9071 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.821, allocations: 7.969 kB / 0.9071 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007099/0.8281, allocations: 2.907 MB / 0.91 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8281, allocations: 0 / 0.91 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.8292, allocations: 239.9 kB / 0.9102 GB, free: 1.723 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.8304, allocations: 379 kB / 0.9105 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.8305, allocations: 51.95 kB / 0.9106 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009702/0.8402, allocations: 6.785 MB / 0.9172 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.8402, allocations: 4.031 kB / 0.9172 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006395/0.8466, allocations: 2.493 MB / 0.9197 GB, free: 7.559 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006147/0.8473, allocations: 234.7 kB / 0.9199 GB, free: 7.328 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.8475, allocations: 31.95 kB / 0.9199 GB, free: 7.297 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008599/0.8483, allocations: 67.88 kB / 0.92 GB, free: 7.23 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.8486, allocations: 108.8 kB / 0.9201 GB, free: 7.121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.8487, allocations: 71.97 kB / 0.9201 GB, free: 7.051 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008267/0.8495, allocations: 0.5785 MB / 0.9207 GB, free: 6.465 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.8495, allocations: 0 / 0.9207 GB, free: 6.465 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001656/0.8512, allocations: 0.6157 MB / 0.9213 GB, free: 5.848 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.001328/0.8525, allocations: 0.6757 MB / 0.922 GB, free: 5.168 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003955/0.8565, allocations: 1.71 MB / 0.9236 GB, free: 3.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/0.8565, allocations: 0 / 0.9236 GB, free: 3.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/0.859, allocations: 1.207 MB / 0.9248 GB, free: 2.148 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.8605, allocations: 288.1 kB / 0.9251 GB, free: 1.887 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006113/0.8666, allocations: 3.099 MB / 0.9281 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/0.8673, allocations: 0.6169 MB / 0.9287 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001843/0.8692, allocations: 0.8362 MB / 0.9295 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005614/0.8697, allocations: 183.3 kB / 0.9297 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of SimCode: time 1.562e-06/0.8697, allocations: 0 / 0.9297 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of Templates: time 0.04731/0.9171, allocations: 27.16 MB / 0.9562 GB, free: 2.18 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 -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/jenkins/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: 7.017474601045251]