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.001294/0.001294, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001432/0.001432, allocations: 221.9 kB / 23 MB, free: 4.914 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7227/0.7227, allocations: 94.62 MB / 407.8 MB, free: 8.93 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: 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.002612/0.002612, allocations: 83.39 kB / 0.5562 GB, free: 38.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1112, allocations: 73.06 MB / 0.6275 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5002/0.6114, allocations: 176 MB / 0.7993 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01313/0.6245, allocations: 13.68 MB / 0.8127 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009648/0.6255, allocations: 62.84 kB / 0.8128 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.6268, allocations: 466.8 kB / 0.8132 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.6303, allocations: 1.373 MB / 0.8145 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.6337, allocations: 1.483 MB / 0.816 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001591/0.6353, allocations: 1.397 MB / 0.8174 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.6357, allocations: 161 kB / 0.8175 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.6377, allocations: 1.134 MB / 0.8186 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.6382, allocations: 475.6 kB / 0.8191 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.6384, allocations: 79.34 kB / 0.8191 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003914/0.6423, allocations: 2.545 MB / 0.8216 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.6424, allocations: 204.6 kB / 0.8218 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000328/0.6427, allocations: 415.1 kB / 0.8222 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002496/0.6452, allocations: 1.976 MB / 0.8242 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6452, allocations: 0 / 0.8242 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6452, allocations: 6.281 kB / 0.8242 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.6453, allocations: 0 / 0.8242 GB, free: 0.6953 MB / 0.5762 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.002424/0.6477, allocations: 1.529 MB / 0.8257 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.6477, allocations: 8.562 kB / 0.8257 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.6494, allocations: 252.7 kB / 0.8259 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.6508, allocations: 0.7071 MB / 0.8266 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/0.6511, allocations: 264.5 kB / 0.8268 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.6512, allocations: 78.62 kB / 0.8269 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.6527, allocations: 0.8316 MB / 0.8277 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.6528, allocations: 1.078 kB / 0.8277 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.6528, allocations: 25.19 kB / 0.8278 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.6528, allocations: 16.09 kB / 0.8278 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.6542, allocations: 0.6582 MB / 0.8284 GB, free: 14.43 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.003604/0.6578, allocations: 1.962 MB / 0.8303 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.6591, allocations: 0.5522 MB / 0.8309 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/0.6598, allocations: 317.3 kB / 0.8312 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/0.66, allocations: 79.03 kB / 0.8312 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.6601, allocations: 40.59 kB / 0.8313 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=58): time 3.847e-06/0.6601, allocations: 7.984 kB / 0.8313 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58): time 0.004528/0.6646, allocations: 1.45 MB / 0.8327 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.6647, allocations: 58.16 kB / 0.8328 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007141/0.6654, allocations: 0.6279 MB / 0.8334 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.6654, allocations: 36.11 kB / 0.8334 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.6658, allocations: 454.8 kB / 0.8338 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.666, allocations: 212.3 kB / 0.8341 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.6662, allocations: 109.7 kB / 0.8342 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.6663, allocations: 327.4 kB / 0.8345 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/0.6669, allocations: 256.1 kB / 0.8347 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.6676, allocations: 315.6 kB / 0.835 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.6688, allocations: 0.5489 MB / 0.8355 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.6688, allocations: 0 / 0.8355 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002735/0.6716, allocations: 1.029 MB / 0.8366 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6716, allocations: 6.875 kB / 0.8366 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.6716, allocations: 2.25 kB / 0.8366 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007543/0.6723, allocations: 228.5 kB / 0.8368 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00071/0.6731, allocations: 146 kB / 0.8369 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/0.6789, allocations: 4.702 MB / 0.8415 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005385/0.6794, allocations: 61.81 kB / 0.8416 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/0.6795, allocations: 40.14 kB / 0.8416 GB, free: 5.023 MB / 0.5919 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.0003574/0.6799, allocations: 200 kB / 0.8418 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.6801, allocations: 87.03 kB / 0.8419 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/0.6834, allocations: 1.401 MB / 0.8433 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6834, allocations: 13.62 kB / 0.8433 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.6834, allocations: 2.625 kB / 0.8433 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6834, allocations: 3.984 kB / 0.8433 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004133/0.6876, allocations: 1.797 MB / 0.845 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6876, allocations: 0 / 0.845 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.6883, allocations: 134 kB / 0.8452 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006888/0.689, allocations: 236.2 kB / 0.8454 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-05/0.689, allocations: 22.42 kB / 0.8454 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00578/0.6948, allocations: 4.707 MB / 0.85 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6948, allocations: 10.19 kB / 0.85 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003438/0.6983, allocations: 1.393 MB / 0.8514 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.6986, allocations: 138.2 kB / 0.8515 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.6987, allocations: 13.38 kB / 0.8515 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.6992, allocations: 35.53 kB / 0.8515 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.6993, allocations: 57.36 kB / 0.8516 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.488e-05/0.6994, allocations: 36.02 kB / 0.8516 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005925/0.7, allocations: 448.1 kB / 0.8521 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7, allocations: 4 kB / 0.8521 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00114/0.7011, allocations: 411.3 kB / 0.8525 GB, free: 13.12 MB / 0.6075 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.0008706/0.702, allocations: 0.5141 MB / 0.853 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002484/0.7045, allocations: 1.039 MB / 0.854 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.7045, allocations: 0 / 0.854 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.7061, allocations: 0.7747 MB / 0.8547 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009321/0.7071, allocations: 176.2 kB / 0.8549 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.7107, allocations: 1.896 MB / 0.8567 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.7112, allocations: 416.5 kB / 0.8571 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004235/0.7116, allocations: 127.3 kB / 0.8573 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.7116, allocations: 0 / 0.8573 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of Templates: time 0.03474/0.7463, allocations: 26.92 MB / 0.8836 GB, free: 13.46 MB / 0.6387 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/jenkins1/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: 10.914427601266652]