Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.001426/0.001426, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001583/0.001583, allocations: 216.8 kB / 22.25 MB, free: 5.207 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.992 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.7849/0.7849, allocations: 94.56 MB / 407 MB, free: 9.176 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.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") [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.002658/0.002658, allocations: 83.61 kB / 0.5554 GB, free: 38.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1226, allocations: 73.05 MB / 0.6268 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5555/0.678, allocations: 215.8 MB / 0.8375 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02253/0.7006, allocations: 17.6 MB / 0.8547 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.7025, allocations: 73.81 kB / 0.8547 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.7047, allocations: 0.6206 MB / 0.8553 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00575/0.7104, allocations: 1.808 MB / 0.8571 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00488/0.7153, allocations: 1.692 MB / 0.8588 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002735/0.7181, allocations: 1.732 MB / 0.8604 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004924/0.7186, allocations: 189.6 kB / 0.8606 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.7212, allocations: 1.267 MB / 0.8619 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.7223, allocations: 0.6446 MB / 0.8625 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002702/0.7226, allocations: 93.31 kB / 0.8626 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007373/0.73, allocations: 3.547 MB / 0.866 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004186/0.7304, allocations: 254.8 kB / 0.8663 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009706/0.7314, allocations: 0.6254 MB / 0.8669 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00623/0.7376, allocations: 2.39 MB / 0.8692 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.7376, allocations: 0 / 0.8692 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7376, allocations: 0 / 0.8692 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.275e-05/0.7377, allocations: 0 / 0.8692 GB, free: 6.32 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.004544/0.7422, allocations: 1.834 MB / 0.871 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.7423, allocations: 8.031 kB / 0.871 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/0.7445, allocations: 298.8 kB / 0.8713 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002049/0.7466, allocations: 0.842 MB / 0.8721 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.7469, allocations: 273.9 kB / 0.8724 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.7471, allocations: 99.94 kB / 0.8725 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.7493, allocations: 1.001 MB / 0.8735 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.7493, allocations: 0 / 0.8735 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.29e-05/0.7494, allocations: 43.94 kB / 0.8735 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.7494, allocations: 24 kB / 0.8735 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.7512, allocations: 0.7807 MB / 0.8743 GB, free: 0.9805 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.006085/0.7573, allocations: 3.84 MB / 0.878 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.7594, allocations: 0.7967 MB / 0.8788 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008568/0.7602, allocations: 409.2 kB / 0.8792 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003983/0.7606, allocations: 112.5 kB / 0.8793 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.7607, allocations: 43.16 kB / 0.8794 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.645e-06/0.7607, allocations: 0 / 0.8794 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005533/0.7662, allocations: 1.686 MB / 0.881 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.7663, allocations: 68 kB / 0.8811 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.7674, allocations: 0.7956 MB / 0.8819 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.163e-05/0.7675, allocations: 41.7 kB / 0.8819 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/0.768, allocations: 0.5206 MB / 0.8824 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.7683, allocations: 289.5 kB / 0.8827 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/0.7686, allocations: 154.6 kB / 0.8828 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.7688, allocations: 337.9 kB / 0.8831 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000779/0.7695, allocations: 309.8 kB / 0.8834 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000855/0.7704, allocations: 391 kB / 0.8838 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.772, allocations: 0.687 MB / 0.8845 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.772, allocations: 4 kB / 0.8845 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003402/0.7754, allocations: 1.233 MB / 0.8857 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.7754, allocations: 8 kB / 0.8857 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.7755, allocations: 0 / 0.8857 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009448/0.7764, allocations: 252.3 kB / 0.8859 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.7774, allocations: 203.8 kB / 0.8861 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00678/0.7842, allocations: 4.92 MB / 0.8909 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/0.785, allocations: 95.42 kB / 0.891 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.7851, allocations: 59.97 kB / 0.8911 GB, free: 15.01 MB / 0.6387 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.0004613/0.7856, allocations: 221.7 kB / 0.8913 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/0.7858, allocations: 107.3 kB / 0.8914 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/0.7904, allocations: 1.826 MB / 0.8932 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.7904, allocations: 8 kB / 0.8932 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.7904, allocations: 8 kB / 0.8932 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.7904, allocations: 3.984 kB / 0.8932 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00546/0.7958, allocations: 2.392 MB / 0.8955 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.7959, allocations: 4 kB / 0.8955 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.797, allocations: 199.9 kB / 0.8957 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009084/0.7979, allocations: 259.1 kB / 0.896 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.798, allocations: 31.92 kB / 0.896 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00666/0.8047, allocations: 4.923 MB / 0.9008 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.8047, allocations: 7.922 kB / 0.9008 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004355/0.809, allocations: 1.729 MB / 0.9025 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/0.8095, allocations: 183 kB / 0.9027 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.8097, allocations: 27.92 kB / 0.9027 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006174/0.8104, allocations: 43.97 kB / 0.9028 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.8105, allocations: 72.81 kB / 0.9028 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.8106, allocations: 51.97 kB / 0.9029 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008294/0.8114, allocations: 0.5604 MB / 0.9034 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.8114, allocations: 0 / 0.9034 GB, free: 1.863 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00144/0.8129, allocations: 482.8 kB / 0.9039 GB, free: 1.391 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (78): * Single equations (assignments): 75 * 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.001135/0.814, allocations: 0.5679 MB / 0.9044 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00292/0.8169, allocations: 1.203 MB / 0.9056 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8169, allocations: 0 / 0.9056 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/0.8188, allocations: 0.8884 MB / 0.9065 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.8202, allocations: 271 kB / 0.9067 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004796/0.825, allocations: 2.385 MB / 0.9091 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008335/0.8258, allocations: 1.084 MB / 0.9101 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001431/0.8273, allocations: 0.6425 MB / 0.9108 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/0.8277, allocations: 147.3 kB / 0.9109 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.8277, allocations: 0 / 0.9109 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.04117/0.8689, allocations: 20.49 MB / 0.9309 GB, free: 5.691 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.074850637931377]