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.001463/0.001463, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001708/0.001708, allocations: 213.8 kB / 22.25 MB, free: 5.082 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.996 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.7983/0.7983, allocations: 100.3 MB / 412.7 MB, free: 3.652 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.002642/0.002642, allocations: 88.45 kB / 0.5638 GB, free: 35.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1262, allocations: 74.47 MB / 0.6365 GB, free: 7.273 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5828/0.709, allocations: 215.7 MB / 0.8472 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02357/0.7326, allocations: 17.62 MB / 0.8644 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001353/0.7339, allocations: 71.06 kB / 0.8644 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.7358, allocations: 0.6189 MB / 0.865 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005099/0.7409, allocations: 1.801 MB / 0.8668 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004886/0.7458, allocations: 1.706 MB / 0.8685 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002931/0.7487, allocations: 1.732 MB / 0.8702 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005646/0.7493, allocations: 187.3 kB / 0.8703 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.7521, allocations: 1.252 MB / 0.8716 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.7534, allocations: 0.6449 MB / 0.8722 GB, free: 396 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.7537, allocations: 93.41 kB / 0.8723 GB, free: 396 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007948/0.7617, allocations: 3.556 MB / 0.8758 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004618/0.7621, allocations: 254.9 kB / 0.876 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009934/0.7631, allocations: 0.6214 MB / 0.8766 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005678/0.7688, allocations: 2.398 MB / 0.8789 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7688, allocations: 0 / 0.8789 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.282e-06/0.7688, allocations: 3.938 kB / 0.8789 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.674e-05/0.7688, allocations: 4 kB / 0.879 GB, free: 9.648 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.00411/0.7729, allocations: 1.822 MB / 0.8807 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.773, allocations: 8.031 kB / 0.8807 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.7751, allocations: 298.8 kB / 0.881 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.7772, allocations: 0.8497 MB / 0.8819 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003231/0.7775, allocations: 269.9 kB / 0.8821 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.7777, allocations: 99.92 kB / 0.8822 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.7799, allocations: 1.013 MB / 0.8832 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.7799, allocations: 4 kB / 0.8832 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.263e-05/0.78, allocations: 39.94 kB / 0.8832 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.7801, allocations: 20 kB / 0.8833 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001881/0.7819, allocations: 0.7924 MB / 0.884 GB, free: 4.301 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.005903/0.7878, allocations: 3.837 MB / 0.8878 GB, free: 188 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.7899, allocations: 0.8209 MB / 0.8886 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008572/0.7908, allocations: 403.3 kB / 0.889 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004105/0.7912, allocations: 108.5 kB / 0.8891 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.7912, allocations: 42.03 kB / 0.8891 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 2.374e-06/0.7913, allocations: 0 / 0.8891 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005619/0.7969, allocations: 1.702 MB / 0.8908 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.7969, allocations: 60.06 kB / 0.8908 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.7981, allocations: 0.7995 MB / 0.8916 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/0.7982, allocations: 41.7 kB / 0.8916 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004609/0.7987, allocations: 0.5244 MB / 0.8922 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.799, allocations: 285.5 kB / 0.8924 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/0.7993, allocations: 154.6 kB / 0.8926 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7994, allocations: 337.9 kB / 0.8929 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/0.8002, allocations: 313.8 kB / 0.8932 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/0.8011, allocations: 391.1 kB / 0.8936 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.8027, allocations: 0.6979 MB / 0.8943 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.8027, allocations: 0 / 0.8943 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003465/0.8062, allocations: 1.237 MB / 0.8955 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.8062, allocations: 6.188 kB / 0.8955 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.8062, allocations: 0 / 0.8955 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009186/0.8071, allocations: 258.4 kB / 0.8957 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.8081, allocations: 199.7 kB / 0.8959 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006864/0.815, allocations: 4.934 MB / 0.9007 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007932/0.8158, allocations: 91.42 kB / 0.9008 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.816, allocations: 55.97 kB / 0.9009 GB, free: 2.293 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 (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 {(3,1,88.9%), (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.0005042/0.8165, allocations: 225.7 kB / 0.9011 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/0.8168, allocations: 107.3 kB / 0.9012 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/0.8214, allocations: 1.817 MB / 0.903 GB, free: 124 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.8214, allocations: 12 kB / 0.903 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.8214, allocations: 0 / 0.903 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.8214, allocations: 5.297 kB / 0.903 GB, free: 108 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005762/0.8272, allocations: 2.395 MB / 0.9053 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.8272, allocations: 4 kB / 0.9053 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009892/0.8282, allocations: 187.8 kB / 0.9055 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008225/0.829, allocations: 254.4 kB / 0.9057 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.474e-05/0.8291, allocations: 44.78 kB / 0.9058 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006636/0.8357, allocations: 4.923 MB / 0.9106 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.8357, allocations: 144 / 0.9106 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/0.84, allocations: 1.728 MB / 0.9123 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004873/0.8405, allocations: 183 kB / 0.9125 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001757/0.8407, allocations: 20 kB / 0.9125 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005861/0.8413, allocations: 39.97 kB / 0.9125 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.8414, allocations: 80.45 kB / 0.9126 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.8415, allocations: 51.98 kB / 0.9126 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008333/0.8424, allocations: 0.5604 MB / 0.9132 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8424, allocations: 0 / 0.9132 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001514/0.8439, allocations: 482.8 kB / 0.9136 GB, free: 4.699 MB / 0.6544 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%), (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.001092/0.845, allocations: 0.5659 MB / 0.9142 GB, free: 4.129 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002884/0.8479, allocations: 1.197 MB / 0.9154 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.8479, allocations: 0 / 0.9154 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.8497, allocations: 0.8902 MB / 0.9162 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.851, allocations: 264.5 kB / 0.9165 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.8556, allocations: 2.372 MB / 0.9188 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008229/0.8564, allocations: 1.08 MB / 0.9199 GB, free: 14.18 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001399/0.8578, allocations: 0.6431 MB / 0.9205 GB, free: 13.54 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004419/0.8583, allocations: 147.3 kB / 0.9206 GB, free: 13.39 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/0.8583, allocations: 0 / 0.9206 GB, free: 13.39 MB / 0.67 GB Notification: Performance of Templates: time 0.03898/0.8972, allocations: 20.35 MB / 0.9405 GB, free: 9.16 MB / 0.6856 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 -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/jenkins/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: 7.181880157906562]