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.001494/0.001494, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.001648/0.001648, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.353/1.353, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.7408/0.7408, allocations: 79.62 MB / 339.4 MB, free: 10.97 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.002547/0.002547, allocations: 87.31 kB / 0.4924 GB, free: 26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1219, allocations: 74.58 MB / 0.5652 GB, free: 5.977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4985/0.6204, allocations: 187.2 MB / 0.748 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01461/0.635, allocations: 15.84 MB / 0.7635 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.6361, allocations: 74.62 kB / 0.7636 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.6375, allocations: 0.5431 MB / 0.7641 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004313/0.6418, allocations: 1.792 MB / 0.7658 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003955/0.6458, allocations: 1.683 MB / 0.7675 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.6476, allocations: 1.719 MB / 0.7692 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/0.6479, allocations: 182 kB / 0.7693 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.6501, allocations: 1.256 MB / 0.7706 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006266/0.6507, allocations: 0.5784 MB / 0.7711 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.6508, allocations: 93.41 kB / 0.7712 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005485/0.6563, allocations: 3.333 MB / 0.7745 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.6567, allocations: 250.3 kB / 0.7747 GB, free: 344 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.6579, allocations: 0.4995 MB / 0.7752 GB, free: 80 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006055/0.6639, allocations: 2.373 MB / 0.7775 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.6639, allocations: 0 / 0.7775 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6639, allocations: 0 / 0.7775 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.664, allocations: 0 / 0.7775 GB, free: 15.32 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.003492/0.6675, allocations: 1.82 MB / 0.7793 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.6675, allocations: 11.5 kB / 0.7793 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.6695, allocations: 309.3 kB / 0.7796 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.6713, allocations: 0.8382 MB / 0.7804 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003057/0.6716, allocations: 298.6 kB / 0.7807 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.6717, allocations: 96.19 kB / 0.7808 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001853/0.6736, allocations: 0.9905 MB / 0.7818 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.6736, allocations: 6.469 kB / 0.7818 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.966e-05/0.6737, allocations: 33.19 kB / 0.7818 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.6737, allocations: 22.81 kB / 0.7818 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.6755, allocations: 0.8348 MB / 0.7826 GB, free: 12.3 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.004522/0.68, allocations: 2.519 MB / 0.7851 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/0.6819, allocations: 0.8109 MB / 0.7859 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007421/0.6827, allocations: 391.2 kB / 0.7863 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/0.683, allocations: 109.5 kB / 0.7864 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.6831, allocations: 43.97 kB / 0.7864 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.475e-06/0.6831, allocations: 0 / 0.7864 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.00557/0.6886, allocations: 1.742 MB / 0.7881 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.6887, allocations: 64.58 kB / 0.7882 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009625/0.6896, allocations: 0.7294 MB / 0.7889 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.989e-05/0.6897, allocations: 41.2 kB / 0.7889 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.6902, allocations: 0.5235 MB / 0.7894 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.6904, allocations: 294.1 kB / 0.7897 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.6907, allocations: 152.9 kB / 0.7899 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6908, allocations: 340.6 kB / 0.7902 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.6915, allocations: 296.6 kB / 0.7905 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.6922, allocations: 370.7 kB / 0.7908 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.6936, allocations: 0.6638 MB / 0.7915 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6936, allocations: 0 / 0.7915 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002773/0.6964, allocations: 1.148 MB / 0.7926 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6964, allocations: 6.656 kB / 0.7926 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.6964, allocations: 3.938 kB / 0.7926 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008013/0.6972, allocations: 235.7 kB / 0.7928 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.6979, allocations: 180.4 kB / 0.793 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006129/0.7041, allocations: 4.781 MB / 0.7977 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008879/0.7049, allocations: 78.69 kB / 0.7977 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.7051, allocations: 59.64 kB / 0.7978 GB, free: 1.469 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.0004323/0.7055, allocations: 219.3 kB / 0.798 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/0.7057, allocations: 110.2 kB / 0.7981 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/0.7095, allocations: 1.727 MB / 0.7998 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.7095, allocations: 12.75 kB / 0.7998 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7095, allocations: 2.594 kB / 0.7998 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.7095, allocations: 3.984 kB / 0.7998 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004421/0.7139, allocations: 2.02 MB / 0.8018 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.7139, allocations: 4 kB / 0.8018 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008105/0.7148, allocations: 173.2 kB / 0.802 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007556/0.7155, allocations: 238.3 kB / 0.8022 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/0.7156, allocations: 40.84 kB / 0.8022 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00603/0.7216, allocations: 4.781 MB / 0.8069 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7216, allocations: 3.094 kB / 0.8069 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00384/0.7255, allocations: 1.667 MB / 0.8085 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004405/0.7259, allocations: 171.1 kB / 0.8087 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.726, allocations: 23.94 kB / 0.8087 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005466/0.7266, allocations: 39.97 kB / 0.8087 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.7267, allocations: 72.52 kB / 0.8088 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.635e-05/0.7268, allocations: 59.08 kB / 0.8089 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006945/0.7275, allocations: 0.5077 MB / 0.8094 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7275, allocations: 0 / 0.8094 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001385/0.7289, allocations: 494.7 kB / 0.8098 GB, free: 5.75 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.001005/0.7299, allocations: 0.5646 MB / 0.8104 GB, free: 5.188 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002418/0.7323, allocations: 1.139 MB / 0.8115 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7323, allocations: 0 / 0.8115 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.7338, allocations: 0.8114 MB / 0.8123 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.7349, allocations: 243 kB / 0.8125 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/0.7392, allocations: 2.35 MB / 0.8148 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.7397, allocations: 498.9 kB / 0.8153 GB, free: 44 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001414/0.7412, allocations: 0.6354 MB / 0.8159 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.7416, allocations: 148.4 kB / 0.8161 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.7416, allocations: 0 / 0.8161 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.03636/0.778, allocations: 19.43 MB / 0.835 GB, free: 12.08 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 ida -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.490123640047386]