Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001636/0.001636, allocations: 104.4 kB / 19.7 MB, free: 2.137 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.001823/0.001823, allocations: 218.2 kB / 23 MB, free: 4.965 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.7638/0.7638, allocations: 100.9 MB / 414.1 MB, free: 2.879 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,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_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [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.002554/0.002554, allocations: 89.52 kB / 0.5653 GB, free: 35.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1353, allocations: 74.62 MB / 0.6382 GB, free: 5.969 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.559/0.6943, allocations: 187.2 MB / 0.821 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01932/0.7136, allocations: 15.83 MB / 0.8364 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.7148, allocations: 75.31 kB / 0.8365 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.7163, allocations: 0.5494 MB / 0.8371 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.7207, allocations: 1.784 MB / 0.8388 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.7249, allocations: 1.678 MB / 0.8404 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.727, allocations: 1.726 MB / 0.8421 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.7273, allocations: 172.5 kB / 0.8423 GB, free: 300 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.7295, allocations: 1.258 MB / 0.8435 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.7301, allocations: 0.5755 MB / 0.8441 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.7302, allocations: 93.19 kB / 0.8442 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005472/0.7357, allocations: 3.328 MB / 0.8474 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002552/0.7359, allocations: 252.2 kB / 0.8477 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005229/0.7365, allocations: 0.5027 MB / 0.8481 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00378/0.7402, allocations: 2.371 MB / 0.8505 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.7402, allocations: 4 kB / 0.8505 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7403, allocations: 0 / 0.8505 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.7403, allocations: 0 / 0.8505 GB, free: 11.74 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003128/0.7434, allocations: 1.817 MB / 0.8522 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.7434, allocations: 7.906 kB / 0.8522 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/0.7453, allocations: 301.9 kB / 0.8525 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.747, allocations: 0.8459 MB / 0.8534 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.7473, allocations: 298.4 kB / 0.8536 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.7474, allocations: 94.59 kB / 0.8537 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.7491, allocations: 0.9946 MB / 0.8547 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.7491, allocations: 0 / 0.8547 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.511e-05/0.7492, allocations: 36.06 kB / 0.8547 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.7492, allocations: 21.31 kB / 0.8548 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.7509, allocations: 0.8336 MB / 0.8556 GB, free: 8.273 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.004241/0.7552, allocations: 2.522 MB / 0.858 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.757, allocations: 0.8179 MB / 0.8588 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007058/0.7577, allocations: 385 kB / 0.8592 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/0.758, allocations: 110 kB / 0.8593 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.7581, allocations: 42.44 kB / 0.8593 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.865e-06/0.7581, allocations: 0 / 0.8593 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005148/0.7632, allocations: 1.738 MB / 0.861 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.7633, allocations: 62.84 kB / 0.8611 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.7641, allocations: 0.7351 MB / 0.8618 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.512e-05/0.7642, allocations: 37.7 kB / 0.8619 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.7646, allocations: 0.5241 MB / 0.8624 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/0.7648, allocations: 297.4 kB / 0.8627 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.7651, allocations: 150.6 kB / 0.8628 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7652, allocations: 333.9 kB / 0.8631 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/0.7659, allocations: 309.7 kB / 0.8634 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/0.7666, allocations: 371.1 kB / 0.8638 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.768, allocations: 0.6628 MB / 0.8644 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.768, allocations: 0 / 0.8644 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002785/0.7708, allocations: 1.155 MB / 0.8655 GB, free: 452 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.7708, allocations: 4 kB / 0.8655 GB, free: 448 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.7709, allocations: 4 kB / 0.8655 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007916/0.7716, allocations: 230.4 kB / 0.8658 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/0.7724, allocations: 175.7 kB / 0.8659 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00593/0.7783, allocations: 4.788 MB / 0.8706 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006942/0.779, allocations: 80.47 kB / 0.8707 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.7791, allocations: 51.98 kB / 0.8707 GB, free: 10.81 MB / 0.6231 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 (82): * Single equations (assignments): 79 * 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.0004387/0.7796, allocations: 221.7 kB / 0.8709 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.7798, allocations: 115.2 kB / 0.8711 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003771/0.7836, allocations: 1.726 MB / 0.8727 GB, free: 8.734 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.7836, allocations: 15.94 kB / 0.8728 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7836, allocations: 384 / 0.8728 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.7836, allocations: 3.984 kB / 0.8728 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.788, allocations: 2.021 MB / 0.8747 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.7881, allocations: 8 kB / 0.8747 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007195/0.7888, allocations: 163.8 kB / 0.8749 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007251/0.7895, allocations: 246.4 kB / 0.8751 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-05/0.7896, allocations: 31.98 kB / 0.8752 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005807/0.7954, allocations: 4.778 MB / 0.8798 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7954, allocations: 0 / 0.8798 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003724/0.7991, allocations: 1.668 MB / 0.8815 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004287/0.7995, allocations: 175.1 kB / 0.8816 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.7997, allocations: 24.25 kB / 0.8817 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/0.8002, allocations: 43.97 kB / 0.8817 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.8003, allocations: 72.47 kB / 0.8818 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-05/0.8004, allocations: 51.97 kB / 0.8818 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006901/0.8011, allocations: 0.5077 MB / 0.8823 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.8011, allocations: 0 / 0.8823 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001347/0.8025, allocations: 494.7 kB / 0.8828 GB, free: 14.02 MB / 0.6387 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.000986/0.8034, allocations: 0.5697 MB / 0.8833 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002319/0.8058, allocations: 1.138 MB / 0.8844 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8058, allocations: 0 / 0.8844 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.8072, allocations: 0.8084 MB / 0.8852 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.8083, allocations: 247.6 kB / 0.8855 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.8126, allocations: 2.401 MB / 0.8878 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.8132, allocations: 0.4911 MB / 0.8883 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/0.8137, allocations: 175.3 kB / 0.8885 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of SimCode: time 9.11e-07/0.8137, allocations: 0 / 0.8885 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of Templates: time 0.04229/0.856, allocations: 32.64 MB / 0.9203 GB, free: 7.398 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 11.674170461017638]