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.001514/0.001514, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00177/0.00177, allocations: 216.6 kB / 22.99 MB, free: 4.945 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.412/1.412, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.741/0.741, allocations: 94.63 MB / 407.8 MB, free: 8.926 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.002557/0.002557, allocations: 84.98 kB / 0.5562 GB, free: 38.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1128, allocations: 73.06 MB / 0.6275 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5223/0.6352, allocations: 205.8 MB / 0.8285 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02596/0.6611, allocations: 20.31 MB / 0.8483 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.6627, allocations: 90.12 kB / 0.8484 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.665, allocations: 0.7032 MB / 0.8491 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005826/0.6708, allocations: 2.086 MB / 0.8511 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00561/0.6765, allocations: 2.19 MB / 0.8533 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002817/0.6793, allocations: 2.254 MB / 0.8555 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004731/0.6797, allocations: 249.4 kB / 0.8557 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002577/0.6823, allocations: 1.469 MB / 0.8572 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009043/0.6832, allocations: 0.7706 MB / 0.8579 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.6834, allocations: 134 kB / 0.858 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00706/0.6904, allocations: 3.935 MB / 0.8619 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003679/0.6908, allocations: 348.8 kB / 0.8622 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008624/0.6917, allocations: 0.6723 MB / 0.8629 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005176/0.6969, allocations: 3.024 MB / 0.8658 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6969, allocations: 3.938 kB / 0.8658 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6969, allocations: 0 / 0.8658 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.6969, allocations: 0 / 0.8658 GB, free: 4.75 MB / 0.6075 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.004539/0.7014, allocations: 2.321 MB / 0.8681 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.7015, allocations: 8.031 kB / 0.8681 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/0.7045, allocations: 430.5 kB / 0.8685 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.7068, allocations: 1.032 MB / 0.8695 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005121/0.7073, allocations: 0.5021 MB / 0.87 GB, free: 292 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/0.7076, allocations: 124 kB / 0.8701 GB, free: 168 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.7105, allocations: 1.454 MB / 0.8715 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.7106, allocations: 3.938 kB / 0.8715 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.7107, allocations: 51.94 kB / 0.8716 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.7107, allocations: 36 kB / 0.8716 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.7135, allocations: 1.184 MB / 0.8728 GB, free: 13.38 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.00667/0.7201, allocations: 3.473 MB / 0.8762 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.7232, allocations: 1.255 MB / 0.8774 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.7248, allocations: 0.666 MB / 0.8781 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004492/0.7252, allocations: 144.9 kB / 0.8782 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.7252, allocations: 47.55 kB / 0.8782 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 3.176e-06/0.7252, allocations: 4 kB / 0.8782 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.008887/0.7341, allocations: 2.735 MB / 0.8809 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.7342, allocations: 68.39 kB / 0.881 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.7353, allocations: 0.8431 MB / 0.8818 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.644e-05/0.7354, allocations: 45.7 kB / 0.8818 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005322/0.7359, allocations: 0.6464 MB / 0.8825 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003615/0.7363, allocations: 412.4 kB / 0.8829 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000353/0.7367, allocations: 202.9 kB / 0.8831 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.7368, allocations: 345.9 kB / 0.8834 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.7381, allocations: 0.4905 MB / 0.8839 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.7394, allocations: 0.5918 MB / 0.8845 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.7419, allocations: 1.051 MB / 0.8855 GB, free: 208 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.7419, allocations: 4 kB / 0.8855 GB, free: 204 kB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005478/0.7474, allocations: 1.913 MB / 0.8873 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7474, allocations: 8 kB / 0.8874 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7474, allocations: 0 / 0.8874 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.7488, allocations: 421.2 kB / 0.8878 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.7503, allocations: 296.5 kB / 0.888 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.7604, allocations: 6.873 MB / 0.8948 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.7614, allocations: 123.4 kB / 0.8949 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.7616, allocations: 71.97 kB / 0.8949 GB, free: 6.074 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 {(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.0005643/0.7622, allocations: 271.5 kB / 0.8952 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.7625, allocations: 131.2 kB / 0.8953 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006736/0.7692, allocations: 2.722 MB / 0.898 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.7692, allocations: 12 kB / 0.898 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.7692, allocations: 4 kB / 0.898 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.7692, allocations: 7.969 kB / 0.898 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007953/0.7772, allocations: 3.176 MB / 0.9011 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.7772, allocations: 5 kB / 0.9011 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.7788, allocations: 291.8 kB / 0.9014 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.7801, allocations: 419.4 kB / 0.9018 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.7802, allocations: 47.97 kB / 0.9018 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.7903, allocations: 6.878 MB / 0.9086 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.7903, allocations: 4.344 kB / 0.9086 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006754/0.7971, allocations: 2.598 MB / 0.9111 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006/0.7977, allocations: 234.8 kB / 0.9113 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.7978, allocations: 35.92 kB / 0.9114 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/0.7986, allocations: 72.02 kB / 0.9114 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.7988, allocations: 108.7 kB / 0.9115 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.799, allocations: 67.97 kB / 0.9116 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008053/0.7998, allocations: 0.5785 MB / 0.9122 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7998, allocations: 0 / 0.9122 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001653/0.8014, allocations: 0.6273 MB / 0.9128 GB, free: 3.25 MB / 0.6544 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.001179/0.8026, allocations: 0.6702 MB / 0.9134 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00435/0.807, allocations: 1.838 MB / 0.9152 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.807, allocations: 128 / 0.9152 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002901/0.8099, allocations: 1.328 MB / 0.9165 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.8112, allocations: 284.8 kB / 0.9168 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005843/0.817, allocations: 3.144 MB / 0.9199 GB, free: 11.83 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/0.8177, allocations: 0.6208 MB / 0.9205 GB, free: 11.18 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008174/0.8185, allocations: 235.2 kB / 0.9207 GB, free: 10.95 MB / 0.67 GB Notification: Performance of SimCode: time 1.142e-06/0.8185, allocations: 3.938 kB / 0.9207 GB, free: 10.95 MB / 0.67 GB Notification: Performance of Templates: time 0.0559/0.8744, allocations: 47.85 MB / 0.9674 GB, free: 11.09 MB / 0.7169 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: 12.067916586995125]