Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001554/0.001554, allocations: 80.3 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.001718/0.001718, allocations: 158.7 kB / 22.45 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.383/1.383, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 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.7406/0.7406, allocations: 80.21 MB / 339.4 MB, free: 10.86 MB / 318.1 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_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_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_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.4929 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.835e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.2099/0.2099, allocations: 179.9 MB / 0.6685 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.2242, allocations: 10.29 MB / 0.6786 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007673/0.225, allocations: 63.38 kB / 0.6786 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.2263, allocations: 484.3 kB / 0.6791 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003605/0.2299, allocations: 1.476 MB / 0.6805 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.2336, allocations: 1.493 MB / 0.682 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.2355, allocations: 1.587 MB / 0.6835 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.2358, allocations: 161.3 kB / 0.6837 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002562/0.2383, allocations: 1.422 MB / 0.6851 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.2389, allocations: 398.7 kB / 0.6855 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.2391, allocations: 80 kB / 0.6855 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/0.2438, allocations: 2.539 MB / 0.688 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.2441, allocations: 211 kB / 0.6882 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.2445, allocations: 351.1 kB / 0.6886 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.2477, allocations: 2.107 MB / 0.6906 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2477, allocations: 0 / 0.6906 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2477, allocations: 0 / 0.6906 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.2477, allocations: 0 / 0.6906 GB, free: 4.41 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002888/0.2506, allocations: 1.55 MB / 0.6921 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2506, allocations: 8.031 kB / 0.6921 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.2524, allocations: 255 kB / 0.6924 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.2538, allocations: 0.7428 MB / 0.6931 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/0.2541, allocations: 287.5 kB / 0.6934 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.2543, allocations: 76 kB / 0.6935 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.2559, allocations: 0.8158 MB / 0.6943 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.2559, allocations: 4 kB / 0.6943 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/0.256, allocations: 31.98 kB / 0.6943 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.256, allocations: 20 kB / 0.6943 GB, free: 500 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2027/0.4587, allocations: 0.697 MB / 0.695 GB, free: 183.5 MB / 0.5919 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.003705/0.4624, allocations: 2.061 MB / 0.697 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.4638, allocations: 0.5556 MB / 0.6975 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.4644, allocations: 304.8 kB / 0.6978 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002517/0.4647, allocations: 73.75 kB / 0.6979 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.4647, allocations: 49.5 kB / 0.698 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 2.455e-06/0.4647, allocations: 4.781 kB / 0.698 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004957/0.4697, allocations: 1.465 MB / 0.6994 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.4697, allocations: 61.27 kB / 0.6994 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/0.4704, allocations: 0.6561 MB / 0.7001 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/0.4704, allocations: 35.77 kB / 0.7001 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.4706, allocations: 469.6 kB / 0.7006 GB, free: 181.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.4707, allocations: 210.2 kB / 0.7008 GB, free: 181 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.4709, allocations: 116.2 kB / 0.7009 GB, free: 181 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.471, allocations: 334.2 kB / 0.7012 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.4715, allocations: 241.2 kB / 0.7014 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.472, allocations: 301.7 kB / 0.7017 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.4731, allocations: 0.5289 MB / 0.7022 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4731, allocations: 3.828 kB / 0.7022 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002244/0.4754, allocations: 0.966 MB / 0.7032 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4754, allocations: 5.719 kB / 0.7032 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4754, allocations: 3.938 kB / 0.7032 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007131/0.4761, allocations: 218 kB / 0.7034 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.4766, allocations: 121.5 kB / 0.7035 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004186/0.4808, allocations: 4.654 MB / 0.7081 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.4813, allocations: 66.2 kB / 0.7081 GB, free: 175.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/0.4814, allocations: 39.44 kB / 0.7082 GB, free: 175.8 MB / 0.5919 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 (60): * Single equations (assignments): 57 * 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 {(2,2,100.0%), (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.0002935/0.4817, allocations: 205 kB / 0.7084 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.4818, allocations: 91.56 kB / 0.7084 GB, free: 175.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/0.4846, allocations: 1.313 MB / 0.7097 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4846, allocations: 5.906 kB / 0.7097 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4846, allocations: 2.531 kB / 0.7097 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4846, allocations: 3.469 kB / 0.7097 GB, free: 175.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.4879, allocations: 1.654 MB / 0.7113 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4879, allocations: 2.25 kB / 0.7114 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.4883, allocations: 113.5 kB / 0.7115 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00061/0.4889, allocations: 223.7 kB / 0.7117 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/0.489, allocations: 22.03 kB / 0.7117 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004107/0.4931, allocations: 4.658 MB / 0.7162 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4931, allocations: 11.2 kB / 0.7163 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.4959, allocations: 1.34 MB / 0.7176 GB, free: 169.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.4961, allocations: 137.1 kB / 0.7177 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.4963, allocations: 14.69 kB / 0.7177 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.4967, allocations: 40.23 kB / 0.7177 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.4969, allocations: 54.42 kB / 0.7178 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.4969, allocations: 31.94 kB / 0.7178 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000468/0.4974, allocations: 464.4 kB / 0.7183 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.4974, allocations: 0 / 0.7183 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001034/0.4984, allocations: 427 kB / 0.7187 GB, free: 169.4 MB / 0.5919 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 {(2,2,100.0%), (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.0008095/0.4992, allocations: 0.5402 MB / 0.7192 GB, free: 169.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.501, allocations: 0.9727 MB / 0.7202 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.501, allocations: 1.625 kB / 0.7202 GB, free: 168.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.5021, allocations: 0.7201 MB / 0.7209 GB, free: 168.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.5034, allocations: 281.8 kB / 0.7211 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.5061, allocations: 1.739 MB / 0.7228 GB, free: 167.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.5064, allocations: 417.4 kB / 0.7232 GB, free: 167 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008649/0.5072, allocations: 457.2 kB / 0.7237 GB, free: 167 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.5075, allocations: 109.8 kB / 0.7238 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of SimCode: time 6.92e-07/0.5075, allocations: 0 / 0.7238 GB, free: 166.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.03102/0.5386, allocations: 18.34 MB / 0.7417 GB, free: 161.3 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 6.212632615119219]