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.00157/0.00157, 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.001683/0.001683, allocations: 222.2 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.397/1.397, 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.7247/0.7247, allocations: 94.63 MB / 407.8 MB, free: 8.922 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,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: 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.002594/0.002594, allocations: 83.97 kB / 0.5562 GB, free: 38.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1113, allocations: 73.05 MB / 0.6275 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5132/0.6245, allocations: 187.2 MB / 0.8103 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01689/0.6414, allocations: 15.84 MB / 0.8258 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.6426, allocations: 74.38 kB / 0.8259 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.6443, allocations: 0.5548 MB / 0.8264 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004884/0.6492, allocations: 1.785 MB / 0.8281 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004331/0.6535, allocations: 1.687 MB / 0.8298 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002041/0.6555, allocations: 1.726 MB / 0.8315 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.6559, allocations: 183.7 kB / 0.8317 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/0.6581, allocations: 1.263 MB / 0.8329 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006456/0.6587, allocations: 0.5827 MB / 0.8335 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.6588, allocations: 95.31 kB / 0.8336 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005735/0.6646, allocations: 3.325 MB / 0.8368 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002844/0.6649, allocations: 251.6 kB / 0.837 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006025/0.6655, allocations: 0.4993 MB / 0.8375 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.6697, allocations: 2.382 MB / 0.8399 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6698, allocations: 3.984 kB / 0.8399 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6698, allocations: 0 / 0.8399 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.6698, allocations: 0 / 0.8399 GB, free: 8.766 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003308/0.6731, allocations: 1.821 MB / 0.8416 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.6731, allocations: 8.938 kB / 0.8416 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.6751, allocations: 303.6 kB / 0.8419 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/0.6769, allocations: 0.845 MB / 0.8428 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.6772, allocations: 275.2 kB / 0.843 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.6773, allocations: 94.41 kB / 0.8431 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.6792, allocations: 1.013 MB / 0.8441 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.6792, allocations: 0 / 0.8441 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/0.6793, allocations: 40.55 kB / 0.8441 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.6793, allocations: 22.81 kB / 0.8442 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.6809, allocations: 0.7854 MB / 0.8449 GB, free: 5.363 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.004599/0.6855, allocations: 2.621 MB / 0.8475 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.6874, allocations: 0.8118 MB / 0.8483 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007728/0.6882, allocations: 409 kB / 0.8487 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.6885, allocations: 110 kB / 0.8488 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.6886, allocations: 37.31 kB / 0.8488 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.535e-06/0.6886, allocations: 0 / 0.8488 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.00506/0.6936, allocations: 1.7 MB / 0.8505 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.6937, allocations: 59.66 kB / 0.8505 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/0.6945, allocations: 0.7347 MB / 0.8512 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.6946, allocations: 43.95 kB / 0.8513 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.6951, allocations: 0.5281 MB / 0.8518 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.6953, allocations: 288.7 kB / 0.8521 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.6956, allocations: 159.8 kB / 0.8522 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.6958, allocations: 336.6 kB / 0.8526 GB, free: 228 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007206/0.6965, allocations: 311.7 kB / 0.8528 GB, free: 84 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000826/0.6973, allocations: 397.1 kB / 0.8532 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.6988, allocations: 0.691 MB / 0.8539 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6988, allocations: 5.312 kB / 0.8539 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003268/0.7021, allocations: 1.241 MB / 0.8551 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.7021, allocations: 4 kB / 0.8551 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.7021, allocations: 0 / 0.8551 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008588/0.703, allocations: 250.4 kB / 0.8554 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009564/0.704, allocations: 202 kB / 0.8556 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006332/0.7103, allocations: 4.829 MB / 0.8603 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/0.7109, allocations: 83.53 kB / 0.8604 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.711, allocations: 51.98 kB / 0.8604 GB, free: 8.574 MB / 0.6075 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 {(3,1,88.9%), (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.0004195/0.7115, allocations: 227.9 kB / 0.8606 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000244/0.7117, allocations: 111.3 kB / 0.8607 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004392/0.7161, allocations: 1.82 MB / 0.8625 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.7161, allocations: 8 kB / 0.8625 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.7161, allocations: 4 kB / 0.8625 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.7161, allocations: 3.984 kB / 0.8625 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004986/0.7211, allocations: 2.164 MB / 0.8646 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.7211, allocations: 0 / 0.8646 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009754/0.7221, allocations: 199.7 kB / 0.8648 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007834/0.7229, allocations: 244.8 kB / 0.8651 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-05/0.723, allocations: 39.97 kB / 0.8651 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006276/0.7292, allocations: 4.819 MB / 0.8698 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.7292, allocations: 7.969 kB / 0.8698 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004228/0.7335, allocations: 1.717 MB / 0.8715 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004891/0.734, allocations: 187 kB / 0.8717 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.7341, allocations: 16 kB / 0.8717 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005548/0.7346, allocations: 39.97 kB / 0.8717 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.7348, allocations: 79 kB / 0.8718 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/0.7349, allocations: 51.97 kB / 0.8718 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007382/0.7356, allocations: 0.5077 MB / 0.8723 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7356, allocations: 0 / 0.8723 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00137/0.737, allocations: 490.7 kB / 0.8728 GB, free: 11.5 MB / 0.6231 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%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009924/0.738, allocations: 0.5687 MB / 0.8734 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002737/0.7407, allocations: 1.202 MB / 0.8745 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7407, allocations: 0 / 0.8745 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001779/0.7425, allocations: 0.8806 MB / 0.8754 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.7436, allocations: 236.4 kB / 0.8756 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.748, allocations: 2.419 MB / 0.878 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.7486, allocations: 0.491 MB / 0.8785 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005526/0.7491, allocations: 175.3 kB / 0.8786 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.7491, allocations: 4 kB / 0.8786 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of Templates: time 0.04044/0.7896, allocations: 32.68 MB / 0.9105 GB, free: 4.77 MB / 0.6544 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/jenkins1/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: 11.440536170266569]