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.001398/0.001398, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001686/0.001686, allocations: 223.6 kB / 23.01 MB, free: 4.609 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.7303/0.7303, allocations: 100.3 MB / 413.5 MB, free: 3.684 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.00244/0.00244, allocations: 83.33 kB / 0.5645 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1181, allocations: 74.46 MB / 0.6372 GB, free: 7.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5161/0.6342, allocations: 236.6 MB / 0.8683 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02755/0.6617, allocations: 22.54 MB / 0.8903 GB, free: 14.78 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.6634, allocations: 91.12 kB / 0.8904 GB, free: 14.69 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.6657, allocations: 0.803 MB / 0.8912 GB, free: 13.89 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.005822/0.6716, allocations: 2.108 MB / 0.8932 GB, free: 11.77 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.005753/0.6773, allocations: 2.202 MB / 0.8954 GB, free: 9.562 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.003479/0.6808, allocations: 2.255 MB / 0.8976 GB, free: 7.297 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006461/0.6814, allocations: 261.8 kB / 0.8978 GB, free: 7.016 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.6843, allocations: 1.471 MB / 0.8993 GB, free: 5.539 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.6857, allocations: 0.8475 MB / 0.9001 GB, free: 4.688 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.0003461/0.686, allocations: 136 kB / 0.9002 GB, free: 4.555 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008431/0.6945, allocations: 4.23 MB / 0.9044 GB, free: 328 kB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0004956/0.695, allocations: 346.6 kB / 0.9047 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.6961, allocations: 0.8274 MB / 0.9055 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006615/0.7027, allocations: 3.052 MB / 0.9085 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.7027, allocations: 0 / 0.9085 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.268e-06/0.7027, allocations: 7.938 kB / 0.9085 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.756e-05/0.7028, allocations: 0 / 0.9085 GB, free: 12.08 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.005278/0.7081, allocations: 2.321 MB / 0.9108 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.7081, allocations: 8.031 kB / 0.9108 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/0.7112, allocations: 430.5 kB / 0.9112 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.7136, allocations: 1.035 MB / 0.9122 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005243/0.7142, allocations: 0.4982 MB / 0.9127 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002662/0.7144, allocations: 128 kB / 0.9128 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.7176, allocations: 1.45 MB / 0.9142 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/0.7177, allocations: 11.94 kB / 0.9142 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.7178, allocations: 48 kB / 0.9143 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.7178, allocations: 32 kB / 0.9143 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002807/0.7206, allocations: 1.192 MB / 0.9155 GB, free: 4.699 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.008098/0.7287, allocations: 5.152 MB / 0.9205 GB, free: 15.17 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/0.7317, allocations: 1.267 MB / 0.9217 GB, free: 13.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.7332, allocations: 0.6622 MB / 0.9224 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004856/0.7337, allocations: 160.8 kB / 0.9225 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.7337, allocations: 43.56 kB / 0.9226 GB, free: 13.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=113): time 2.735e-06/0.7337, allocations: 4 kB / 0.9226 GB, free: 13.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=113): time 0.008638/0.7423, allocations: 2.739 MB / 0.9253 GB, free: 10.26 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.7424, allocations: 64.41 kB / 0.9253 GB, free: 10.18 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.7437, allocations: 0.9135 MB / 0.9262 GB, free: 9.258 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.7438, allocations: 41.7 kB / 0.9263 GB, free: 9.211 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000509/0.7443, allocations: 0.6429 MB / 0.9269 GB, free: 8.562 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.7447, allocations: 408.4 kB / 0.9273 GB, free: 8.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.745, allocations: 206.9 kB / 0.9275 GB, free: 7.953 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7452, allocations: 341.9 kB / 0.9278 GB, free: 7.613 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.7463, allocations: 0.4905 MB / 0.9283 GB, free: 7.121 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.7476, allocations: 0.5918 MB / 0.9289 GB, free: 6.516 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002429/0.7501, allocations: 1.047 MB / 0.9299 GB, free: 5.453 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7501, allocations: 0 / 0.9299 GB, free: 5.453 MB / 0.67 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00526/0.7553, allocations: 1.92 MB / 0.9317 GB, free: 3.516 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.7553, allocations: 4 kB / 0.9318 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7553, allocations: 3.938 kB / 0.9318 GB, free: 3.508 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.7567, allocations: 415 kB / 0.9322 GB, free: 3.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.7581, allocations: 299.7 kB / 0.9324 GB, free: 2.797 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009733/0.7679, allocations: 7.021 MB / 0.9393 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7689, allocations: 131.3 kB / 0.9394 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/0.7691, allocations: 77.53 kB / 0.9395 GB, free: 11.12 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.000569/0.7696, allocations: 263.8 kB / 0.9397 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.77, allocations: 139.2 kB / 0.9399 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006568/0.7765, allocations: 2.709 MB / 0.9425 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.7765, allocations: 15.94 kB / 0.9425 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.7765, allocations: 4 kB / 0.9425 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.7766, allocations: 7.969 kB / 0.9426 GB, free: 7.965 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007809/0.7844, allocations: 3.501 MB / 0.946 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7844, allocations: 0 / 0.946 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.7859, allocations: 295.8 kB / 0.9463 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.7871, allocations: 423 kB / 0.9467 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.7872, allocations: 51.91 kB / 0.9467 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009645/0.7969, allocations: 7.009 MB / 0.9535 GB, free: 12.15 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7969, allocations: 4.031 kB / 0.9536 GB, free: 12.15 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006528/0.8034, allocations: 2.6 MB / 0.9561 GB, free: 9.512 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005896/0.804, allocations: 242.6 kB / 0.9563 GB, free: 9.273 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000237/0.8043, allocations: 27.98 kB / 0.9563 GB, free: 9.246 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008439/0.8051, allocations: 67.94 kB / 0.9564 GB, free: 9.18 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.8053, allocations: 116.6 kB / 0.9565 GB, free: 9.066 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.8054, allocations: 67.97 kB / 0.9566 GB, free: 9 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0008988/0.8063, allocations: 0.6312 MB / 0.9572 GB, free: 8.363 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1e-07/0.8063, allocations: 0 / 0.9572 GB, free: 8.363 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.001703/0.808, allocations: 0.6079 MB / 0.9578 GB, free: 7.754 MB / 0.7013 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.00128/0.8093, allocations: 0.6864 MB / 0.9585 GB, free: 7.062 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.00425/0.8136, allocations: 1.831 MB / 0.9603 GB, free: 5.18 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.8136, allocations: 0 / 0.9603 GB, free: 5.18 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.002846/0.8164, allocations: 1.336 MB / 0.9616 GB, free: 3.793 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.8179, allocations: 313.7 kB / 0.9619 GB, free: 3.508 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.824, allocations: 3.148 MB / 0.9649 GB, free: 308 kB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009642/0.825, allocations: 1.206 MB / 0.9661 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008232/0.8258, allocations: 243.2 kB / 0.9663 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of SimCode: time 6.71e-07/0.8258, allocations: 0 / 0.9663 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.05748/0.8833, allocations: 47.6 MB / 1.013 GB, free: 15.21 MB / 0.7638 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/jenkins1/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: 11.952457637991756]