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.00126/0.00126, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00141/0.00141, allocations: 218.1 kB / 23.01 MB, free: 5.125 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.339/1.339, allocations: 230.6 MB / 256.8 MB, free: 7.941 MB / 206.1 MB " [Timeout remaining time 179] 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.688/0.688, allocations: 94.56 MB / 407.7 MB, free: 9.164 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.002349/0.002349, allocations: 82.81 kB / 0.5562 GB, free: 38.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1082, allocations: 73.06 MB / 0.6275 GB, free: 15.95 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4899/0.5981, allocations: 215.8 MB / 0.8382 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01795/0.6161, allocations: 17.61 MB / 0.8554 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001241/0.6173, allocations: 74.28 kB / 0.8555 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.6191, allocations: 0.6128 MB / 0.8561 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00483/0.624, allocations: 1.807 MB / 0.8578 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004493/0.6284, allocations: 1.7 MB / 0.8595 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002427/0.6309, allocations: 1.741 MB / 0.8612 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004426/0.6313, allocations: 179.2 kB / 0.8614 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.6338, allocations: 1.259 MB / 0.8626 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.6348, allocations: 0.6405 MB / 0.8632 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.635, allocations: 93.66 kB / 0.8633 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006531/0.6415, allocations: 3.561 MB / 0.8668 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003505/0.6419, allocations: 246.9 kB / 0.867 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008488/0.6427, allocations: 0.6253 MB / 0.8676 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005101/0.6478, allocations: 2.39 MB / 0.87 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.6478, allocations: 4 kB / 0.87 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6478, allocations: 0 / 0.87 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.41e-05/0.6479, allocations: 0 / 0.87 GB, free: 6.348 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.003864/0.6517, allocations: 1.828 MB / 0.8718 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.6518, allocations: 12.03 kB / 0.8718 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.6538, allocations: 294.8 kB / 0.8721 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.6556, allocations: 0.8497 MB / 0.8729 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.6559, allocations: 273.9 kB / 0.8732 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.6561, allocations: 95.94 kB / 0.8732 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.6581, allocations: 1.009 MB / 0.8742 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.6581, allocations: 4 kB / 0.8742 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.6582, allocations: 36 kB / 0.8743 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.6582, allocations: 20 kB / 0.8743 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.6599, allocations: 0.7807 MB / 0.875 GB, free: 1.012 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.005597/0.6655, allocations: 3.832 MB / 0.8788 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001956/0.6675, allocations: 0.8122 MB / 0.8796 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007995/0.6683, allocations: 403.2 kB / 0.88 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/0.6686, allocations: 108.5 kB / 0.8801 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.6687, allocations: 47.2 kB / 0.8801 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.295e-06/0.6687, allocations: 0 / 0.8801 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005261/0.6739, allocations: 1.69 MB / 0.8818 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.674, allocations: 64 kB / 0.8818 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.6751, allocations: 0.7956 MB / 0.8826 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/0.6752, allocations: 41.7 kB / 0.8826 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.6756, allocations: 0.5206 MB / 0.8832 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002618/0.6759, allocations: 289.5 kB / 0.8834 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.6761, allocations: 154.6 kB / 0.8836 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6763, allocations: 341.8 kB / 0.8839 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007269/0.677, allocations: 309.8 kB / 0.8842 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000779/0.6778, allocations: 387.1 kB / 0.8846 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.6792, allocations: 0.6901 MB / 0.8852 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6792, allocations: 0 / 0.8852 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00314/0.6824, allocations: 1.233 MB / 0.8864 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6824, allocations: 8 kB / 0.8865 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6824, allocations: 0 / 0.8865 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008457/0.6833, allocations: 246.4 kB / 0.8867 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009453/0.6842, allocations: 204.5 kB / 0.8869 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/0.6904, allocations: 4.932 MB / 0.8917 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/0.6911, allocations: 91.42 kB / 0.8918 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.6912, allocations: 51.98 kB / 0.8918 GB, free: 15.04 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.0004383/0.6917, allocations: 227.6 kB / 0.8921 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.6919, allocations: 111.3 kB / 0.8922 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004198/0.6961, allocations: 1.818 MB / 0.8939 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6961, allocations: 12 kB / 0.8939 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6961, allocations: 0 / 0.8939 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.6961, allocations: 3.984 kB / 0.894 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005127/0.7013, allocations: 2.396 MB / 0.8963 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.7013, allocations: 8.031 kB / 0.8963 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009783/0.7022, allocations: 195.8 kB / 0.8965 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007742/0.703, allocations: 251.2 kB / 0.8967 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.522e-05/0.7031, allocations: 39.91 kB / 0.8968 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006086/0.7092, allocations: 4.933 MB / 0.9016 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.7092, allocations: 0 / 0.9016 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003994/0.7132, allocations: 1.733 MB / 0.9033 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.7136, allocations: 183 kB / 0.9034 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.7138, allocations: 24.25 kB / 0.9035 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/0.7144, allocations: 39.97 kB / 0.9035 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.7146, allocations: 72.86 kB / 0.9036 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.431e-05/0.7147, allocations: 55.98 kB / 0.9036 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007964/0.7154, allocations: 0.5643 MB / 0.9042 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7155, allocations: 4 kB / 0.9042 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001295/0.7167, allocations: 478.8 kB / 0.9046 GB, free: 1.422 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.00104/0.7178, allocations: 0.5619 MB / 0.9052 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002678/0.7205, allocations: 1.203 MB / 0.9064 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.7205, allocations: 0 / 0.9064 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.7222, allocations: 0.8766 MB / 0.9072 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.7234, allocations: 275.9 kB / 0.9075 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.7279, allocations: 2.422 MB / 0.9099 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.7287, allocations: 1.088 MB / 0.9109 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/0.7293, allocations: 183.3 kB / 0.9111 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of SimCode: time 7.11e-07/0.7293, allocations: 0 / 0.9111 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of Templates: time 0.04012/0.7694, allocations: 32.61 MB / 0.9429 GB, free: 10.07 MB / 0.6856 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/jenkins1/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: 10.934400300960988]