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.001719/0.001719, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002137/0.002137, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.519/1.519, 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.7801/0.7801, allocations: 100.3 MB / 412.7 MB, free: 3.645 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.00251/0.00251, allocations: 85.42 kB / 0.5638 GB, free: 35.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1183, allocations: 74.47 MB / 0.6365 GB, free: 7.129 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.569/0.6873, allocations: 236.7 MB / 0.8676 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02914/0.7164, allocations: 22.55 MB / 0.8896 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.7181, allocations: 91.12 kB / 0.8897 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.7202, allocations: 0.7991 MB / 0.8905 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005576/0.7258, allocations: 2.111 MB / 0.8925 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005694/0.7315, allocations: 2.198 MB / 0.8947 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003428/0.7349, allocations: 2.255 MB / 0.8969 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005221/0.7354, allocations: 257.8 kB / 0.8971 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.7383, allocations: 1.479 MB / 0.8986 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.7395, allocations: 0.8513 MB / 0.8994 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.7397, allocations: 132 kB / 0.8995 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008587/0.7483, allocations: 4.236 MB / 0.9037 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004296/0.7487, allocations: 342.5 kB / 0.904 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.7498, allocations: 0.8275 MB / 0.9048 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006304/0.7561, allocations: 3.052 MB / 0.9078 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7561, allocations: 0 / 0.9078 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.402e-06/0.7561, allocations: 0 / 0.9078 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.365e-05/0.7562, allocations: 0 / 0.9078 GB, free: 11.96 MB / 0.6544 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.005312/0.7615, allocations: 2.329 MB / 0.9101 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.7616, allocations: 13.47 kB / 0.9101 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003095/0.7646, allocations: 430.4 kB / 0.9105 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/0.7672, allocations: 1.032 MB / 0.9115 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005465/0.7677, allocations: 0.4982 MB / 0.912 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.7679, allocations: 135.9 kB / 0.9121 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/0.7711, allocations: 1.446 MB / 0.9135 GB, free: 5.855 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.954e-05/0.7712, allocations: 3.938 kB / 0.9135 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.7713, allocations: 52 kB / 0.9136 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.7713, allocations: 28 kB / 0.9136 GB, free: 5.773 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002815/0.7741, allocations: 1.192 MB / 0.9148 GB, free: 4.574 MB / 0.6544 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.007995/0.7821, allocations: 5.156 MB / 0.9198 GB, free: 15.04 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.7852, allocations: 1.259 MB / 0.921 GB, free: 13.78 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/0.7867, allocations: 0.6661 MB / 0.9217 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004949/0.7872, allocations: 156.8 kB / 0.9218 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/0.7873, allocations: 43.56 kB / 0.9219 GB, free: 12.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=113): time 2.925e-06/0.7873, allocations: 0 / 0.9219 GB, free: 12.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=113): time 0.008938/0.7962, allocations: 2.743 MB / 0.9245 GB, free: 10.13 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.7963, allocations: 64.41 kB / 0.9246 GB, free: 10.06 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.7975, allocations: 0.9095 MB / 0.9255 GB, free: 9.137 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.7976, allocations: 45.7 kB / 0.9255 GB, free: 9.086 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000567/0.7982, allocations: 0.6429 MB / 0.9262 GB, free: 8.438 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.7986, allocations: 412.4 kB / 0.9266 GB, free: 8.031 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/0.799, allocations: 206.9 kB / 0.9268 GB, free: 7.824 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.7991, allocations: 345.9 kB / 0.9271 GB, free: 7.48 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.8004, allocations: 0.4944 MB / 0.9276 GB, free: 6.984 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.8016, allocations: 0.5801 MB / 0.9281 GB, free: 6.391 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002506/0.8042, allocations: 1.055 MB / 0.9292 GB, free: 5.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8042, allocations: 0 / 0.9292 GB, free: 5.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00543/0.8096, allocations: 1.917 MB / 0.931 GB, free: 3.383 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.8096, allocations: 8 kB / 0.931 GB, free: 3.375 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.8096, allocations: 0 / 0.931 GB, free: 3.375 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.8111, allocations: 412.2 kB / 0.9314 GB, free: 2.961 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.8127, allocations: 303.3 kB / 0.9317 GB, free: 2.668 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/0.8228, allocations: 7.02 MB / 0.9386 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.8239, allocations: 127.3 kB / 0.9387 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.8241, allocations: 71.91 kB / 0.9388 GB, free: 11 MB / 0.6856 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.0005424/0.8246, allocations: 267.8 kB / 0.939 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/0.8249, allocations: 139.1 kB / 0.9392 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006904/0.8318, allocations: 2.708 MB / 0.9418 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.8318, allocations: 15.98 kB / 0.9418 GB, free: 7.855 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.8318, allocations: 7.984 kB / 0.9418 GB, free: 7.848 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.8318, allocations: 3.984 kB / 0.9418 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008074/0.8399, allocations: 3.498 MB / 0.9452 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.8399, allocations: 4 kB / 0.9453 GB, free: 4.266 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/0.8415, allocations: 291.8 kB / 0.9455 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.8428, allocations: 424.2 kB / 0.9459 GB, free: 3.555 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.843, allocations: 55.89 kB / 0.946 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/0.8532, allocations: 7.013 MB / 0.9528 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8532, allocations: 0 / 0.9528 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006852/0.8601, allocations: 2.6 MB / 0.9554 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006179/0.8607, allocations: 250.5 kB / 0.9556 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.8609, allocations: 32 kB / 0.9556 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008252/0.8617, allocations: 67.94 kB / 0.9557 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/0.8619, allocations: 108.7 kB / 0.9558 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/0.862, allocations: 67.97 kB / 0.9559 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008669/0.8629, allocations: 0.6273 MB / 0.9565 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8629, allocations: 4 kB / 0.9565 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001753/0.8647, allocations: 0.6157 MB / 0.9571 GB, free: 7.621 MB / 0.7012 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.001287/0.866, allocations: 0.6714 MB / 0.9578 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004626/0.8706, allocations: 1.835 MB / 0.9595 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.8706, allocations: 0 / 0.9595 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003048/0.8736, allocations: 1.328 MB / 0.9608 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.8753, allocations: 312.4 kB / 0.9611 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006166/0.8815, allocations: 3.103 MB / 0.9642 GB, free: 236 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009242/0.8824, allocations: 1.21 MB / 0.9654 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001811/0.8842, allocations: 0.8451 MB / 0.9662 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005618/0.8848, allocations: 195.3 kB / 0.9664 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of SimCode: time 1.453e-06/0.8848, allocations: 0 / 0.9664 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of Templates: time 0.04952/0.9343, allocations: 26.24 MB / 0.992 GB, free: 3.871 MB / 0.7325 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.373211726080626]