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.0007873/0.0007873, allocations: 76.45 kB / 19.93 MB, free: 4.613 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.0007708/0.0007708, allocations: 181.9 kB / 23.22 MB, free: 1.32 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.8262/0.8262, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.4794/0.4794, allocations: 80.18 MB / 340.1 MB, free: 7.547 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_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.292e-06/1.292e-06, allocations: 0 / 0.4936 GB, free: 6.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.707e-05, allocations: 3.656 kB / 0.4936 GB, free: 6.324 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.378/0.3781, allocations: 179.9 MB / 0.6692 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.007947/0.386, allocations: 10.3 MB / 0.6793 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00052/0.3865, allocations: 69.81 kB / 0.6794 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0009151/0.3874, allocations: 481.7 kB / 0.6798 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.002323/0.3898, allocations: 1.467 MB / 0.6813 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.392, allocations: 1.51 MB / 0.6827 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0009224/0.393, allocations: 1.578 MB / 0.6843 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.3932, allocations: 169.8 kB / 0.6844 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.3947, allocations: 1.419 MB / 0.6858 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.395, allocations: 406.5 kB / 0.6862 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.3951, allocations: 80.72 kB / 0.6863 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.3974, allocations: 2.539 MB / 0.6888 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3976, allocations: 211.8 kB / 0.689 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.3977, allocations: 351.7 kB / 0.6893 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.3995, allocations: 2.099 MB / 0.6914 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3995, allocations: 3.375 kB / 0.6914 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3995, allocations: 0.625 kB / 0.6914 GB, free: 3.141 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.3995, allocations: 0 / 0.6914 GB, free: 3.141 MB / 0.5417 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.001526/0.401, allocations: 1.536 MB / 0.6929 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.401, allocations: 9.406 kB / 0.6929 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008558/0.4019, allocations: 268.2 kB / 0.6931 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.4027, allocations: 0.733 MB / 0.6938 GB, free: 1.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/0.4028, allocations: 285.5 kB / 0.6941 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.643e-05/0.4029, allocations: 75.34 kB / 0.6942 GB, free: 1.73 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008413/0.4037, allocations: 0.8299 MB / 0.695 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.4037, allocations: 0 / 0.695 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.4038, allocations: 27.06 kB / 0.695 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.4038, allocations: 17.56 kB / 0.695 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.4046, allocations: 0.7027 MB / 0.6957 GB, free: 1.621 MB / 0.5417 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.002005/0.4066, allocations: 2.06 MB / 0.6977 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007652/0.4074, allocations: 0.5616 MB / 0.6983 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.4078, allocations: 309.7 kB / 0.6986 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.4079, allocations: 76.73 kB / 0.6987 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.4079, allocations: 39.77 kB / 0.6987 GB, free: 0.8164 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=58): time 1.643e-06/0.4079, allocations: 0 / 0.6987 GB, free: 0.8164 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58): time 0.00243/0.4103, allocations: 1.472 MB / 0.7001 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.4104, allocations: 65.44 kB / 0.7002 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004251/0.4108, allocations: 0.6545 MB / 0.7008 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.4108, allocations: 39.89 kB / 0.7009 GB, free: 472 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.411, allocations: 463 kB / 0.7013 GB, free: 276 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.4111, allocations: 215.3 kB / 0.7015 GB, free: 132 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.4112, allocations: 113.4 kB / 0.7016 GB, free: 116 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.814e-05/0.4112, allocations: 327 kB / 0.7019 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.4116, allocations: 238.3 kB / 0.7022 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.4119, allocations: 309 kB / 0.7025 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007079/0.4126, allocations: 0.5271 MB / 0.703 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4126, allocations: 1.125 kB / 0.703 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001283/0.4139, allocations: 0.9694 MB / 0.7039 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4139, allocations: 6.906 kB / 0.7039 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4139, allocations: 2.391 kB / 0.7039 GB, free: 15.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004219/0.4144, allocations: 221.2 kB / 0.7041 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.4146, allocations: 120.4 kB / 0.7043 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.4176, allocations: 4.653 MB / 0.7088 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.4179, allocations: 73.86 kB / 0.7089 GB, free: 11.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.4179, allocations: 36.06 kB / 0.7089 GB, free: 11.94 MB / 0.5573 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.0002044/0.4181, allocations: 207.1 kB / 0.7091 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-05/0.4182, allocations: 92.47 kB / 0.7092 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.4199, allocations: 1.315 MB / 0.7105 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4199, allocations: 9.469 kB / 0.7105 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.4199, allocations: 4 kB / 0.7105 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.4199, allocations: 3.188 kB / 0.7105 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.4218, allocations: 1.66 MB / 0.7121 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4218, allocations: 2.188 kB / 0.7121 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.4221, allocations: 107.2 kB / 0.7122 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/0.4224, allocations: 221.6 kB / 0.7124 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.4225, allocations: 21 kB / 0.7124 GB, free: 11.24 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003149/0.4256, allocations: 4.654 MB / 0.717 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4256, allocations: 2.188 kB / 0.717 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.4273, allocations: 1.346 MB / 0.7183 GB, free: 6.785 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.4274, allocations: 136.4 kB / 0.7184 GB, free: 6.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.4275, allocations: 13.47 kB / 0.7184 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4277, allocations: 40.05 kB / 0.7185 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.4278, allocations: 66.47 kB / 0.7185 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.4278, allocations: 32.67 kB / 0.7186 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003246/0.4282, allocations: 463.6 kB / 0.719 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4282, allocations: 0 / 0.719 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007568/0.4289, allocations: 427.5 kB / 0.7194 GB, free: 6.355 MB / 0.5573 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.0005902/0.4295, allocations: 0.5399 MB / 0.72 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.4306, allocations: 0.9736 MB / 0.7209 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4306, allocations: 2.719 kB / 0.7209 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.4312, allocations: 0.7138 MB / 0.7216 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/0.4319, allocations: 279.9 kB / 0.7219 GB, free: 4.98 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.4338, allocations: 1.773 MB / 0.7236 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.4341, allocations: 422.3 kB / 0.724 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.4344, allocations: 139 kB / 0.7241 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.4344, allocations: 0 / 0.7241 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of Templates: time 0.01999/0.4543, allocations: 28.01 MB / 0.7515 GB, free: 12.33 MB / 0.5886 GB " [Timeout remaining time 660] 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: 7.085322285071015]