Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0006625/0.0006625, 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.0007527/0.0007527, allocations: 174.3 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.8316/0.8316, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.4808/0.4808, allocations: 80.18 MB / 340.1 MB, free: 7.562 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/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_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_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.4936 GB, free: 6.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.594e-05, allocations: 3.812 kB / 0.4936 GB, free: 6.336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.4314/0.4315, allocations: 210 MB / 0.6986 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.4438, allocations: 16.97 MB / 0.7152 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.4453, allocations: 90.41 kB / 0.7153 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.4469, allocations: 0.7342 MB / 0.716 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.4513, allocations: 2.239 MB / 0.7182 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004132/0.4555, allocations: 2.225 MB / 0.7204 GB, free: 2.363 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.002377/0.4578, allocations: 2.541 MB / 0.7229 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.4582, allocations: 259.2 kB / 0.7231 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.4609, allocations: 1.914 MB / 0.725 GB, free: 352 kB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006655/0.4616, allocations: 0.6511 MB / 0.7256 GB, free: 188 kB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.4618, allocations: 134.4 kB / 0.7257 GB, free: 188 kB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005247/0.467, allocations: 3.945 MB / 0.7296 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.4674, allocations: 350.7 kB / 0.7299 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006758/0.468, allocations: 0.569 MB / 0.7305 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005518/0.4736, allocations: 3.199 MB / 0.7336 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4736, allocations: 0 / 0.7336 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4736, allocations: 0 / 0.7336 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.459e-05/0.4736, allocations: 7.625 kB / 0.7336 GB, free: 12.79 MB / 0.5573 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.002892/0.4765, allocations: 2.31 MB / 0.7359 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4765, allocations: 16 kB / 0.7359 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.4781, allocations: 438.6 kB / 0.7363 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.4796, allocations: 1.054 MB / 0.7373 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003374/0.4799, allocations: 0.549 MB / 0.7379 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.4801, allocations: 127.2 kB / 0.738 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.4818, allocations: 1.428 MB / 0.7394 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.4819, allocations: 7.688 kB / 0.7394 GB, free: 8.734 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.953e-05/0.4819, allocations: 51.5 kB / 0.7394 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.482, allocations: 31.22 kB / 0.7395 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.4836, allocations: 1.275 MB / 0.7407 GB, free: 8.102 MB / 0.5573 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.004102/0.4878, allocations: 3.502 MB / 0.7441 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001953/0.4897, allocations: 1.242 MB / 0.7453 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007931/0.4905, allocations: 0.6326 MB / 0.746 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.4908, allocations: 144.7 kB / 0.7461 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.4908, allocations: 43.56 kB / 0.7461 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=113): time 3.737e-06/0.4908, allocations: 0 / 0.7461 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of matching and sorting (n=113): time 0.005013/0.4958, allocations: 2.826 MB / 0.7489 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.4959, allocations: 64.41 kB / 0.749 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/0.4967, allocations: 0.8725 MB / 0.7498 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/0.4967, allocations: 45.7 kB / 0.7499 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/0.4971, allocations: 0.6685 MB / 0.7505 GB, free: 16 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.4973, allocations: 404.6 kB / 0.7509 GB, free: 15.62 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.4975, allocations: 202.9 kB / 0.7511 GB, free: 15.41 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.651e-05/0.4976, allocations: 357.7 kB / 0.7514 GB, free: 15.06 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006267/0.4983, allocations: 462.3 kB / 0.7519 GB, free: 14.61 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009102/0.4992, allocations: 0.5584 MB / 0.7524 GB, free: 14.03 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.5005, allocations: 1.013 MB / 0.7534 GB, free: 13.01 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5005, allocations: 0 / 0.7534 GB, free: 13.01 MB / 0.573 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002602/0.5031, allocations: 1.759 MB / 0.7551 GB, free: 11.24 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.5031, allocations: 7.938 kB / 0.7551 GB, free: 11.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.5031, allocations: 8.125 kB / 0.7551 GB, free: 11.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.5038, allocations: 378.4 kB / 0.7555 GB, free: 10.85 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005371/0.5044, allocations: 246.1 kB / 0.7557 GB, free: 10.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005623/0.51, allocations: 6.875 MB / 0.7625 GB, free: 3.371 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007674/0.5108, allocations: 127.4 kB / 0.7626 GB, free: 3.246 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5109, allocations: 67.97 kB / 0.7626 GB, free: 3.18 MB / 0.573 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.0004628/0.5113, allocations: 267.4 kB / 0.7629 GB, free: 2.922 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.5115, allocations: 151.1 kB / 0.763 GB, free: 2.773 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/0.5148, allocations: 2.541 MB / 0.7655 GB, free: 236 kB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.5148, allocations: 12 kB / 0.7655 GB, free: 224 kB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.5148, allocations: 4 kB / 0.7655 GB, free: 220 kB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.5148, allocations: 3.984 kB / 0.7655 GB, free: 216 kB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00417/0.519, allocations: 2.912 MB / 0.7684 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.519, allocations: 4 kB / 0.7684 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/0.5196, allocations: 242.2 kB / 0.7686 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006536/0.5202, allocations: 381.6 kB / 0.769 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/0.5203, allocations: 51.97 kB / 0.769 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005281/0.5256, allocations: 6.778 MB / 0.7756 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5256, allocations: 0 / 0.7756 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003569/0.5291, allocations: 2.496 MB / 0.7781 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.5296, allocations: 234.7 kB / 0.7783 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-05/0.5297, allocations: 27.95 kB / 0.7783 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.5301, allocations: 71.94 kB / 0.7784 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.5303, allocations: 107.4 kB / 0.7785 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.083e-05/0.5303, allocations: 67.97 kB / 0.7786 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00052/0.5309, allocations: 0.595 MB / 0.7792 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5309, allocations: 0 / 0.7792 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001288/0.5322, allocations: 0.643 MB / 0.7798 GB, free: 1.199 MB / 0.5886 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.0009803/0.5331, allocations: 0.7193 MB / 0.7805 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002352/0.5355, allocations: 1.782 MB / 0.7822 GB, free: 14.72 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5355, allocations: 3.938 kB / 0.7822 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.5367, allocations: 1.21 MB / 0.7834 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.5379, allocations: 442 kB / 0.7838 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/0.5415, allocations: 2.904 MB / 0.7867 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.542, allocations: 0.629 MB / 0.7873 GB, free: 9.445 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/0.5427, allocations: 240.3 kB / 0.7875 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of SimCode: time 8.22e-07/0.5427, allocations: 3.938 kB / 0.7875 GB, free: 9.207 MB / 0.6042 GB Notification: Performance of Templates: time 0.03713/0.5799, allocations: 49.26 MB / 0.8356 GB, free: 7.98 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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: 8.067460011690855]