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.0007797/0.0007797, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007917/0.0007917, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8548/0.8548, allocations: 177.1 MB / 203.5 MB, free: 5.406 MB / 186.7 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.6238/0.6238, allocations: 116 MB / 376 MB, free: 4.152 MB / 346.7 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.402e-06/1.402e-06, allocations: 0 / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.624e-05, allocations: 6.219 kB / 0.5545 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4108/0.4108, allocations: 210 MB / 0.7596 GB, free: 9.516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.424, allocations: 16.99 MB / 0.7762 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.4252, allocations: 99.06 kB / 0.7763 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.4267, allocations: 0.7249 MB / 0.777 GB, free: 9.742 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003535/0.4302, allocations: 2.253 MB / 0.7792 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.4341, allocations: 2.241 MB / 0.7813 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.4356, allocations: 2.565 MB / 0.7839 GB, free: 2.656 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000301/0.4359, allocations: 253.8 kB / 0.7841 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.4377, allocations: 1.924 MB / 0.786 GB, free: 464 kB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005038/0.4382, allocations: 0.6541 MB / 0.7866 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.4383, allocations: 132 kB / 0.7867 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004331/0.4427, allocations: 3.946 MB / 0.7906 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.4429, allocations: 356.4 kB / 0.7909 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.4432, allocations: 0.5727 MB / 0.7915 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.446, allocations: 3.221 MB / 0.7946 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.446, allocations: 4 kB / 0.7946 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.446, allocations: 0 / 0.7946 GB, free: 7.559 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.446, allocations: 0 / 0.7946 GB, free: 7.559 MB / 0.6355 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.002617/0.4486, allocations: 2.337 MB / 0.7969 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4487, allocations: 12.03 kB / 0.7969 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.4501, allocations: 450.4 kB / 0.7974 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.4514, allocations: 1.066 MB / 0.7984 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.4517, allocations: 0.5563 MB / 0.7989 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.4518, allocations: 135.9 kB / 0.7991 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.4534, allocations: 1.424 MB / 0.8005 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.4534, allocations: 0 / 0.8005 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.4535, allocations: 52 kB / 0.8005 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.4535, allocations: 28 kB / 0.8005 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.4555, allocations: 1.274 MB / 0.8018 GB, free: 15.98 MB / 0.6511 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.004333/0.4598, allocations: 3.491 MB / 0.8052 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.4616, allocations: 1.261 MB / 0.8064 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/0.4624, allocations: 0.6332 MB / 0.807 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.4627, allocations: 144.8 kB / 0.8072 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.4627, allocations: 43.56 kB / 0.8072 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=113): time 2.995e-06/0.4627, allocations: 0 / 0.8072 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=113): time 0.004751/0.4674, allocations: 2.809 MB / 0.81 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.4675, allocations: 68.41 kB / 0.81 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.4683, allocations: 0.8973 MB / 0.8109 GB, free: 6.504 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.366e-05/0.4683, allocations: 45.7 kB / 0.811 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.4687, allocations: 0.6661 MB / 0.8116 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.4689, allocations: 408.4 kB / 0.812 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.4691, allocations: 210.9 kB / 0.8122 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.4692, allocations: 345.9 kB / 0.8125 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006333/0.4698, allocations: 466.3 kB / 0.813 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/0.4705, allocations: 0.5622 MB / 0.8135 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.4718, allocations: 1.014 MB / 0.8145 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4718, allocations: 0 / 0.8145 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002538/0.4744, allocations: 1.757 MB / 0.8162 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4744, allocations: 7.984 kB / 0.8162 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.4744, allocations: 4 kB / 0.8162 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000733/0.4751, allocations: 385.4 kB / 0.8166 GB, free: 0.5781 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.4757, allocations: 251.6 kB / 0.8168 GB, free: 340 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005348/0.481, allocations: 6.863 MB / 0.8235 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006219/0.4816, allocations: 127.4 kB / 0.8237 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.4817, allocations: 75.97 kB / 0.8237 GB, free: 8.859 MB / 0.6667 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.0004706/0.4822, allocations: 267.2 kB / 0.824 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.4824, allocations: 139.1 kB / 0.8241 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003228/0.4857, allocations: 2.536 MB / 0.8266 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.4857, allocations: 12 kB / 0.8266 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/0.4857, allocations: 4 kB / 0.8266 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.4857, allocations: 3.984 kB / 0.8266 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/0.4896, allocations: 2.908 MB / 0.8295 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4896, allocations: 7.938 kB / 0.8295 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.4901, allocations: 235.9 kB / 0.8297 GB, free: 2.668 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006518/0.4908, allocations: 395.3 kB / 0.8301 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-05/0.4909, allocations: 47.97 kB / 0.8301 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005038/0.4959, allocations: 6.774 MB / 0.8367 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4959, allocations: 0 / 0.8367 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/0.4995, allocations: 2.493 MB / 0.8392 GB, free: 8.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004173/0.4999, allocations: 234.7 kB / 0.8394 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5, allocations: 28.25 kB / 0.8394 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.5004, allocations: 75.92 kB / 0.8395 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.5006, allocations: 108.8 kB / 0.8396 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/0.5007, allocations: 68.02 kB / 0.8397 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005407/0.5012, allocations: 0.6037 MB / 0.8403 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7e-08/0.5012, allocations: 0 / 0.8403 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00134/0.5025, allocations: 0.6546 MB / 0.8409 GB, free: 6.727 MB / 0.6823 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.0008965/0.5034, allocations: 0.7044 MB / 0.8416 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002589/0.506, allocations: 1.776 MB / 0.8433 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.506, allocations: 0 / 0.8433 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.5072, allocations: 1.207 MB / 0.8445 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.5083, allocations: 429.9 kB / 0.8449 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.5121, allocations: 2.96 MB / 0.8478 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.5125, allocations: 0.6334 MB / 0.8484 GB, free: 14.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/0.513, allocations: 240.3 kB / 0.8486 GB, free: 14.62 MB / 0.698 GB Notification: Performance of SimCode: time 1.262e-06/0.513, allocations: 0 / 0.8486 GB, free: 14.62 MB / 0.698 GB Notification: Performance of Templates: time 0.04244/0.5555, allocations: 49.58 MB / 0.8971 GB, free: 13.06 MB / 0.7448 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: 9.629396094940603]