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.001367/0.001367, allocations: 79.59 kB / 19.18 MB, free: 2.516 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.001784/0.001784, allocations: 165.2 kB / 22.46 MB, free: 5.375 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.494/1.494, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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 1.038/1.038, allocations: 116.1 MB / 375.2 MB, free: 7.504 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5537 GB, free: 13.79 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.263e-05, allocations: 2.281 kB / 0.5537 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5982/0.5983, allocations: 210 MB / 0.7588 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02169/0.62, allocations: 17 MB / 0.7754 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.6226, allocations: 99.19 kB / 0.7755 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003002/0.6256, allocations: 0.7281 MB / 0.7762 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00846/0.634, allocations: 2.245 MB / 0.7784 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.007622/0.6417, allocations: 2.243 MB / 0.7806 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00407/0.6457, allocations: 2.561 MB / 0.7831 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007748/0.6465, allocations: 253.6 kB / 0.7834 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.6511, allocations: 1.924 MB / 0.7852 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.6525, allocations: 0.6591 MB / 0.7859 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003249/0.6529, allocations: 132.7 kB / 0.786 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008443/0.6613, allocations: 3.939 MB / 0.7898 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005112/0.6618, allocations: 348.5 kB / 0.7902 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001221/0.663, allocations: 0.5791 MB / 0.7907 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00707/0.6701, allocations: 3.229 MB / 0.7939 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6701, allocations: 0 / 0.7939 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6701, allocations: 0 / 0.7939 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001/0.6702, allocations: 0 / 0.7939 GB, free: 5.926 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.006158/0.6764, allocations: 2.341 MB / 0.7962 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6764, allocations: 14.3 kB / 0.7962 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.6799, allocations: 444.5 kB / 0.7966 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002948/0.6829, allocations: 1.069 MB / 0.7977 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006688/0.6836, allocations: 0.5446 MB / 0.7982 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004371/0.684, allocations: 131.9 kB / 0.7983 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/0.6883, allocations: 1.423 MB / 0.7997 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/0.6883, allocations: 6.531 kB / 0.7997 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.6885, allocations: 51.98 kB / 0.7998 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.6886, allocations: 32 kB / 0.7998 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003765/0.6923, allocations: 1.27 MB / 0.801 GB, free: 15.4 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.00854/0.7009, allocations: 3.49 MB / 0.8044 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003598/0.7045, allocations: 1.264 MB / 0.8057 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.7061, allocations: 0.6313 MB / 0.8063 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.7067, allocations: 150.8 kB / 0.8064 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.7068, allocations: 47.5 kB / 0.8065 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 3.406e-06/0.7068, allocations: 0 / 0.8065 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.01079/0.7176, allocations: 2.806 MB / 0.8092 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.7176, allocations: 64.34 kB / 0.8093 GB, free: 6.898 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.719, allocations: 0.9012 MB / 0.8102 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.7192, allocations: 45.7 kB / 0.8102 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006149/0.7198, allocations: 0.6661 MB / 0.8109 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004828/0.7203, allocations: 416.4 kB / 0.8113 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004548/0.7208, allocations: 210.9 kB / 0.8115 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.7209, allocations: 341.9 kB / 0.8118 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.7223, allocations: 467.1 kB / 0.8122 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.7238, allocations: 0.5536 MB / 0.8128 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.7264, allocations: 1.014 MB / 0.8138 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.7264, allocations: 4 kB / 0.8138 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005408/0.7318, allocations: 1.761 MB / 0.8155 GB, free: 492 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.7319, allocations: 10.34 kB / 0.8155 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.7319, allocations: 0 / 0.8155 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.7335, allocations: 391.5 kB / 0.8159 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.7349, allocations: 242.1 kB / 0.8161 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.7462, allocations: 6.866 MB / 0.8228 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.7475, allocations: 123.3 kB / 0.8229 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/0.7478, allocations: 75.97 kB / 0.823 GB, free: 8.41 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (114): * Single equations (assignments): 110 * 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 {(2,2,100.0%), (2,2,100.0%), (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.0007469/0.7486, allocations: 261.7 kB / 0.8232 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004842/0.7491, allocations: 147.1 kB / 0.8234 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006895/0.756, allocations: 2.538 MB / 0.8259 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.756, allocations: 12 kB / 0.8259 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.756, allocations: 4 kB / 0.8259 GB, free: 5.461 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.756, allocations: 7.984 kB / 0.8259 GB, free: 5.453 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008144/0.7641, allocations: 2.913 MB / 0.8287 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.7642, allocations: 7.984 kB / 0.8287 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.7654, allocations: 230.1 kB / 0.829 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001415/0.7668, allocations: 383.2 kB / 0.8293 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.7669, allocations: 51.97 kB / 0.8294 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/0.7778, allocations: 6.789 MB / 0.836 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.7778, allocations: 3.938 kB / 0.836 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007422/0.7852, allocations: 2.483 MB / 0.8384 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007795/0.786, allocations: 238.7 kB / 0.8387 GB, free: 7.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.7864, allocations: 31.98 kB / 0.8387 GB, free: 7.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.7874, allocations: 70.38 kB / 0.8388 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002802/0.7877, allocations: 104.8 kB / 0.8389 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/0.7879, allocations: 63.97 kB / 0.8389 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001087/0.789, allocations: 0.6154 MB / 0.8395 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.789, allocations: 0 / 0.8395 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002421/0.7914, allocations: 0.6494 MB / 0.8402 GB, free: 6.395 MB / 0.6544 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%), (2,2,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.001844/0.7933, allocations: 0.7081 MB / 0.8408 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004957/0.7982, allocations: 1.772 MB / 0.8426 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.7982, allocations: 128 / 0.8426 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0027/0.8009, allocations: 1.206 MB / 0.8438 GB, free: 2.648 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/0.8036, allocations: 427.2 kB / 0.8442 GB, free: 2.238 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/0.8101, allocations: 2.917 MB / 0.847 GB, free: 15.29 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007362/0.8108, allocations: 0.6334 MB / 0.8476 GB, free: 14.61 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002031/0.8129, allocations: 0.8407 MB / 0.8485 GB, free: 13.79 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/0.8135, allocations: 192.4 kB / 0.8486 GB, free: 13.61 MB / 0.67 GB Notification: Performance of SimCode: time 8.11e-07/0.8135, allocations: 0 / 0.8486 GB, free: 13.61 MB / 0.67 GB Notification: Performance of Templates: time 0.05396/0.8675, allocations: 28.35 MB / 0.8763 GB, free: 1.719 MB / 0.6856 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.715903352946043]