Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.001501/0.001501, allocations: 110.5 kB / 19.69 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.001593/0.001593, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.7295/0.7295, allocations: 100.3 MB / 413.5 MB, free: 3.664 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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") [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.002355/0.002355, allocations: 81.14 kB / 0.5645 GB, free: 35.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1202, allocations: 74.46 MB / 0.6372 GB, free: 7.184 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.4954/0.6156, allocations: 203.1 MB / 0.8355 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.6313, allocations: 15.21 MB / 0.8504 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000853/0.6322, allocations: 67.22 kB / 0.8504 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.6335, allocations: 0.5164 MB / 0.851 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003132/0.6366, allocations: 1.385 MB / 0.8523 GB, free: 408 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003469/0.6401, allocations: 1.491 MB / 0.8538 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001556/0.6416, allocations: 1.407 MB / 0.8551 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.6419, allocations: 172.4 kB / 0.8553 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001941/0.6439, allocations: 1.149 MB / 0.8564 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.6444, allocations: 0.5072 MB / 0.8569 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.717e-05/0.6445, allocations: 76.44 kB / 0.857 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004527/0.6491, allocations: 2.713 MB / 0.8596 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000197/0.6493, allocations: 205.9 kB / 0.8598 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004445/0.6497, allocations: 0.5055 MB / 0.8603 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002848/0.6525, allocations: 1.991 MB / 0.8623 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.6525, allocations: 0 / 0.8623 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6525, allocations: 2.781 kB / 0.8623 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.6526, allocations: 0 / 0.8623 GB, free: 10.33 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.0026/0.6552, allocations: 1.531 MB / 0.8638 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.6552, allocations: 15.84 kB / 0.8638 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.6568, allocations: 246.2 kB / 0.864 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.6581, allocations: 0.7082 MB / 0.8647 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002616/0.6583, allocations: 260.6 kB / 0.865 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.6584, allocations: 80.33 kB / 0.865 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.6599, allocations: 0.8307 MB / 0.8658 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.6599, allocations: 0 / 0.8658 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-05/0.66, allocations: 28 kB / 0.8659 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.66, allocations: 20 kB / 0.8659 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.6614, allocations: 0.6597 MB / 0.8665 GB, free: 7.016 MB / 0.6075 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.004166/0.6656, allocations: 2.911 MB / 0.8694 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.6669, allocations: 0.5645 MB / 0.8699 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006856/0.6676, allocations: 322.2 kB / 0.8702 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.6678, allocations: 76.42 kB / 0.8703 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.6679, allocations: 43 kB / 0.8704 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 1.623e-06/0.6679, allocations: 0 / 0.8704 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.004525/0.6724, allocations: 1.455 MB / 0.8718 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.6725, allocations: 59.91 kB / 0.8718 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008289/0.6733, allocations: 0.6926 MB / 0.8725 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.714e-05/0.6733, allocations: 33.7 kB / 0.8725 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.6737, allocations: 452.7 kB / 0.873 GB, free: 144 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.6739, allocations: 206.3 kB / 0.8732 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.6741, allocations: 118.3 kB / 0.8733 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6742, allocations: 330 kB / 0.8736 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/0.6748, allocations: 257.2 kB / 0.8738 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000676/0.6755, allocations: 301.6 kB / 0.8741 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.6768, allocations: 0.5534 MB / 0.8747 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6768, allocations: 0 / 0.8747 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002729/0.6795, allocations: 1.026 MB / 0.8757 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6795, allocations: 7.984 kB / 0.8757 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.6795, allocations: 7.875 kB / 0.8757 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007656/0.6803, allocations: 226.4 kB / 0.8759 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.681, allocations: 151.8 kB / 0.876 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005787/0.6868, allocations: 4.797 MB / 0.8807 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.6873, allocations: 71.58 kB / 0.8808 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.35e-05/0.6874, allocations: 40.08 kB / 0.8808 GB, free: 7.684 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003216/0.6877, allocations: 201.5 kB / 0.881 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.6879, allocations: 95.42 kB / 0.8811 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/0.6913, allocations: 1.383 MB / 0.8825 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.6913, allocations: 11.94 kB / 0.8825 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.6913, allocations: 0 / 0.8825 GB, free: 5.977 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.6913, allocations: 3.984 kB / 0.8825 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004181/0.6955, allocations: 1.991 MB / 0.8844 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.6955, allocations: 0 / 0.8844 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007105/0.6962, allocations: 131.8 kB / 0.8846 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006839/0.6969, allocations: 246.4 kB / 0.8848 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.6969, allocations: 31.91 kB / 0.8848 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005669/0.7026, allocations: 4.783 MB / 0.8895 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.7026, allocations: 3.938 kB / 0.8895 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003292/0.7059, allocations: 1.405 MB / 0.8909 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.7062, allocations: 139.2 kB / 0.891 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.7063, allocations: 15.94 kB / 0.891 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004606/0.7067, allocations: 39.95 kB / 0.8911 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.7068, allocations: 52.34 kB / 0.8911 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.7069, allocations: 35.98 kB / 0.8911 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006353/0.7075, allocations: 495 kB / 0.8916 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7075, allocations: 0 / 0.8916 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001099/0.7086, allocations: 406.9 kB / 0.892 GB, free: 11.75 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009629/0.7096, allocations: 0.5158 MB / 0.8925 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002349/0.712, allocations: 1.037 MB / 0.8935 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.712, allocations: 0 / 0.8935 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.7135, allocations: 0.768 MB / 0.8943 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.7144, allocations: 212.9 kB / 0.8945 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.7179, allocations: 1.904 MB / 0.8963 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/0.7186, allocations: 0.9932 MB / 0.8973 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003952/0.7189, allocations: 135.3 kB / 0.8974 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.7189, allocations: 0 / 0.8974 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of Templates: time 0.03257/0.7515, allocations: 26.95 MB / 0.9237 GB, free: 11.15 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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: 10.446083615999669]