Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.001298/0.001298, allocations: 76.53 kB / 19.76 MB, free: 2.059 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.001411/0.001411, allocations: 157.6 kB / 23 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.364/1.364, allocations: 177.2 MB / 203.4 MB, free: 9.258 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.7102/0.7102, allocations: 79.6 MB / 339.4 MB, free: 11.52 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [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.00256/0.00256, allocations: 90.48 kB / 0.4923 GB, free: 26.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1088, allocations: 74.59 MB / 0.5652 GB, free: 6.148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4692/0.578, allocations: 187 MB / 0.7478 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.5921, allocations: 15.81 MB / 0.7633 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.5931, allocations: 71.44 kB / 0.7633 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.5946, allocations: 0.5478 MB / 0.7639 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003825/0.5984, allocations: 1.791 MB / 0.7656 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003517/0.6019, allocations: 1.679 MB / 0.7673 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001705/0.6036, allocations: 1.719 MB / 0.769 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.6039, allocations: 184.5 kB / 0.7691 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002443/0.6064, allocations: 1.56 MB / 0.7707 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006718/0.6071, allocations: 0.5751 MB / 0.7712 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.6072, allocations: 95.53 kB / 0.7713 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004646/0.6119, allocations: 3.327 MB / 0.7746 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.6121, allocations: 254.3 kB / 0.7748 GB, free: 376 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.6126, allocations: 0.4978 MB / 0.7753 GB, free: 108 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003582/0.6162, allocations: 2.373 MB / 0.7776 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.6162, allocations: 0 / 0.7776 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6162, allocations: 0 / 0.7776 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.4e-05/0.6162, allocations: 4.75 kB / 0.7776 GB, free: 15.35 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003555/0.6197, allocations: 1.825 MB / 0.7794 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.6198, allocations: 8.938 kB / 0.7794 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.6218, allocations: 302 kB / 0.7797 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.6234, allocations: 0.836 MB / 0.7805 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002932/0.6237, allocations: 308.5 kB / 0.7808 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.6239, allocations: 95.39 kB / 0.7809 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/0.6257, allocations: 0.9867 MB / 0.7818 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.6257, allocations: 3.188 kB / 0.7818 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.28e-05/0.6258, allocations: 36.66 kB / 0.7819 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.6258, allocations: 23.03 kB / 0.7819 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.6276, allocations: 0.8272 MB / 0.7827 GB, free: 12.24 MB / 0.6075 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.004209/0.6318, allocations: 2.526 MB / 0.7852 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.6337, allocations: 0.8136 MB / 0.786 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007454/0.6345, allocations: 388.1 kB / 0.7863 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003341/0.6348, allocations: 112.9 kB / 0.7865 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.6348, allocations: 38.72 kB / 0.7865 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.305e-06/0.6348, allocations: 4 kB / 0.7865 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005475/0.6403, allocations: 1.736 MB / 0.7882 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.6404, allocations: 60.59 kB / 0.7882 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008619/0.6412, allocations: 0.7321 MB / 0.789 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.797e-05/0.6413, allocations: 42.58 kB / 0.789 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.6417, allocations: 0.5251 MB / 0.7895 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.6419, allocations: 291.1 kB / 0.7898 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/0.6422, allocations: 156.9 kB / 0.7899 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.6424, allocations: 332.5 kB / 0.7903 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007062/0.6431, allocations: 297.5 kB / 0.7905 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.6438, allocations: 372.2 kB / 0.7909 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.6452, allocations: 0.6649 MB / 0.7915 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6452, allocations: 3.938 kB / 0.7916 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002817/0.648, allocations: 1.149 MB / 0.7927 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.6481, allocations: 8.156 kB / 0.7927 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.6481, allocations: 4.062 kB / 0.7927 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008088/0.6489, allocations: 230.8 kB / 0.7929 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007189/0.6496, allocations: 183.6 kB / 0.7931 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006068/0.6557, allocations: 4.779 MB / 0.7977 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.6562, allocations: 83 kB / 0.7978 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.6563, allocations: 59.92 kB / 0.7979 GB, free: 1.402 MB / 0.6075 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004273/0.6568, allocations: 225.4 kB / 0.7981 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.657, allocations: 112.6 kB / 0.7982 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/0.6608, allocations: 1.723 MB / 0.7999 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.6609, allocations: 11.84 kB / 0.7999 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6609, allocations: 2.75 kB / 0.7999 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.6609, allocations: 7.922 kB / 0.7999 GB, free: 224 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004495/0.6654, allocations: 2.021 MB / 0.8019 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6654, allocations: 4 kB / 0.8019 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007576/0.6661, allocations: 162.2 kB / 0.802 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000764/0.6669, allocations: 245.5 kB / 0.8023 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.991e-05/0.667, allocations: 31.97 kB / 0.8023 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006145/0.6731, allocations: 4.777 MB / 0.807 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6731, allocations: 8.172 kB / 0.807 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003851/0.677, allocations: 1.664 MB / 0.8086 GB, free: 7.051 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003761/0.6774, allocations: 175.1 kB / 0.8088 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.6775, allocations: 23.94 kB / 0.8088 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.6781, allocations: 39.97 kB / 0.8088 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.6782, allocations: 79.7 kB / 0.8089 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-05/0.6783, allocations: 43.98 kB / 0.809 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006886/0.679, allocations: 0.5116 MB / 0.8094 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.679, allocations: 0 / 0.8094 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00129/0.6803, allocations: 490.7 kB / 0.8099 GB, free: 5.695 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,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.001103/0.6814, allocations: 0.5623 MB / 0.8105 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002408/0.6838, allocations: 1.147 MB / 0.8116 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6838, allocations: 7.156 kB / 0.8116 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/0.6853, allocations: 0.8082 MB / 0.8124 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6864, allocations: 240.9 kB / 0.8126 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004353/0.6908, allocations: 2.348 MB / 0.8149 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.6913, allocations: 0.4911 MB / 0.8154 GB, free: 16 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001266/0.6926, allocations: 0.6314 MB / 0.816 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/0.693, allocations: 152.3 kB / 0.8161 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.693, allocations: 0 / 0.8161 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of Templates: time 0.03506/0.7281, allocations: 19.43 MB / 0.8351 GB, free: 12.09 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -s gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.328076632227749]