Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.001296/0.001296, allocations: 72.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.001576/0.001576, allocations: 177.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.88/0.88, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.4963/0.4963, allocations: 80.18 MB / 340.1 MB, free: 7.523 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.4936 GB, free: 6.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/2.994e-05, allocations: 4.109 kB / 0.4936 GB, free: 6.215 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4033/0.4033, allocations: 191.3 MB / 0.6804 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.009554/0.4129, allocations: 12.49 MB / 0.6926 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.4141, allocations: 75.34 kB / 0.6927 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.4153, allocations: 0.5693 MB / 0.6932 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003961/0.4193, allocations: 1.92 MB / 0.6951 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.4225, allocations: 1.706 MB / 0.6968 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001693/0.4242, allocations: 1.975 MB / 0.6987 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002921/0.4245, allocations: 178.8 kB / 0.6989 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002026/0.4265, allocations: 1.608 MB / 0.7004 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004467/0.427, allocations: 0.4994 MB / 0.7009 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.308e-05/0.427, allocations: 93.16 kB / 0.701 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003999/0.431, allocations: 3.326 MB / 0.7042 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.4312, allocations: 257.8 kB / 0.7045 GB, free: 2.715 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003448/0.4315, allocations: 439 kB / 0.7049 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003351/0.4349, allocations: 2.517 MB / 0.7074 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4349, allocations: 0.9375 kB / 0.7074 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4349, allocations: 0 / 0.7074 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.4349, allocations: 0.9062 kB / 0.7074 GB, free: 2.379 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.00214/0.4371, allocations: 1.84 MB / 0.7092 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4371, allocations: 8.812 kB / 0.7092 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.4382, allocations: 312.8 kB / 0.7095 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.4392, allocations: 0.8542 MB / 0.7103 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.4394, allocations: 301.1 kB / 0.7106 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-05/0.4395, allocations: 98.67 kB / 0.7107 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.4406, allocations: 1.002 MB / 0.7117 GB, free: 0.6523 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4406, allocations: 4.188 kB / 0.7117 GB, free: 0.6523 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.846e-05/0.4406, allocations: 39.91 kB / 0.7117 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.4407, allocations: 22.62 kB / 0.7117 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.4417, allocations: 0.8355 MB / 0.7126 GB, free: 0.6406 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.00313/0.4448, allocations: 2.731 MB / 0.7152 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.446, allocations: 0.8201 MB / 0.716 GB, free: 15.26 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.4464, allocations: 388.6 kB / 0.7164 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.4467, allocations: 110.8 kB / 0.7165 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.4467, allocations: 37.5 kB / 0.7165 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 2.886e-06/0.4467, allocations: 0 / 0.7165 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80): time 0.002895/0.4496, allocations: 1.752 MB / 0.7182 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.4496, allocations: 60.31 kB / 0.7183 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006387/0.4502, allocations: 0.7601 MB / 0.719 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.4503, allocations: 43.94 kB / 0.7191 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.4506, allocations: 0.5469 MB / 0.7196 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.4507, allocations: 290.8 kB / 0.7199 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.4509, allocations: 156.9 kB / 0.72 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.451, allocations: 338.1 kB / 0.7204 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.4513, allocations: 299.1 kB / 0.7207 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.4518, allocations: 386.3 kB / 0.721 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008207/0.4526, allocations: 0.6848 MB / 0.7217 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4526, allocations: 0 / 0.7217 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001608/0.4542, allocations: 1.167 MB / 0.7228 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4542, allocations: 9.438 kB / 0.7228 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4542, allocations: 2.25 kB / 0.7228 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/0.4547, allocations: 228 kB / 0.7231 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.4551, allocations: 181.4 kB / 0.7232 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/0.4589, allocations: 4.824 MB / 0.7279 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/0.4594, allocations: 83.45 kB / 0.728 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.4594, allocations: 62.33 kB / 0.7281 GB, free: 7.047 MB / 0.5573 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 (84): * Single equations (assignments): 81 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003736/0.4598, allocations: 229.6 kB / 0.7283 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.46, allocations: 112 kB / 0.7284 GB, free: 6.809 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.4621, allocations: 1.736 MB / 0.7301 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.4621, allocations: 8.125 kB / 0.7301 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4621, allocations: 3.125 kB / 0.7301 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.4621, allocations: 3.984 kB / 0.7301 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.4647, allocations: 2.026 MB / 0.7321 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4647, allocations: 2.812 kB / 0.7321 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.4651, allocations: 162.4 kB / 0.7323 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004319/0.4656, allocations: 248.8 kB / 0.7325 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.4656, allocations: 30.36 kB / 0.7325 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003447/0.4691, allocations: 4.774 MB / 0.7372 GB, free: 132 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4691, allocations: 0 / 0.7372 GB, free: 132 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002194/0.4713, allocations: 1.666 MB / 0.7388 GB, free: 15.21 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.4715, allocations: 178.2 kB / 0.739 GB, free: 15.08 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.739e-05/0.4716, allocations: 17.5 kB / 0.739 GB, free: 15.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.4719, allocations: 39.75 kB / 0.739 GB, free: 15.05 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.472, allocations: 84.64 kB / 0.7391 GB, free: 15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.4721, allocations: 49.61 kB / 0.7392 GB, free: 14.98 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004663/0.4725, allocations: 0.5226 MB / 0.7397 GB, free: 14.68 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4725, allocations: 0 / 0.7397 GB, free: 14.68 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001041/0.4736, allocations: 0.5067 MB / 0.7402 GB, free: 14.52 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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 {(1,4,100.0%), (1,4,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.0007358/0.4743, allocations: 0.5849 MB / 0.7407 GB, free: 14.16 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.4759, allocations: 1.182 MB / 0.7419 GB, free: 12.95 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4759, allocations: 4 kB / 0.7419 GB, free: 12.95 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007832/0.4766, allocations: 0.8161 MB / 0.7427 GB, free: 12.11 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4776, allocations: 368.3 kB / 0.743 GB, free: 11.76 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.4805, allocations: 2.258 MB / 0.7452 GB, free: 9.465 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/0.4811, allocations: 0.4918 MB / 0.7457 GB, free: 8.941 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.4815, allocations: 184.4 kB / 0.7459 GB, free: 8.762 MB / 0.573 GB Notification: Performance of SimCode: time 1.192e-06/0.4815, allocations: 0 / 0.7459 GB, free: 8.762 MB / 0.573 GB Notification: Performance of Templates: time 0.02711/0.5086, allocations: 33.96 MB / 0.7791 GB, free: 6.844 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.20188669487834]