Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0007872/0.0007872, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007937/0.0007937, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8797/0.8797, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.6162/0.6162, allocations: 116 MB / 376 MB, free: 4.172 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.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_dev_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_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 0.5545 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.112e-05/4.393e-05, allocations: 6.219 kB / 0.5545 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.443/0.443, allocations: 191.3 MB / 0.7413 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.009931/0.453, allocations: 12.52 MB / 0.7535 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009241/0.4539, allocations: 83.47 kB / 0.7536 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.455, allocations: 0.5687 MB / 0.7542 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003416/0.4584, allocations: 1.922 MB / 0.756 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.4615, allocations: 1.722 MB / 0.7577 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001803/0.4633, allocations: 1.977 MB / 0.7597 GB, free: 9.859 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.4637, allocations: 187 kB / 0.7598 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.466, allocations: 1.612 MB / 0.7614 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.4665, allocations: 0.4964 MB / 0.7619 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.022e-05/0.4666, allocations: 93.84 kB / 0.762 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004014/0.4706, allocations: 3.329 MB / 0.7652 GB, free: 5.812 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.4708, allocations: 256.6 kB / 0.7655 GB, free: 5.562 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004064/0.4712, allocations: 442.8 kB / 0.7659 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003571/0.4748, allocations: 2.539 MB / 0.7684 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4748, allocations: 0 / 0.7684 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4748, allocations: 0 / 0.7684 GB, free: 2.578 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.849e-05/0.4748, allocations: 4 kB / 0.7684 GB, free: 2.574 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002294/0.4771, allocations: 1.865 MB / 0.7702 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4771, allocations: 8.031 kB / 0.7702 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.4782, allocations: 314.8 kB / 0.7705 GB, free: 360 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/0.4795, allocations: 0.887 MB / 0.7714 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.4797, allocations: 299.6 kB / 0.7717 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4798, allocations: 92 kB / 0.7717 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.481, allocations: 1.006 MB / 0.7727 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.481, allocations: 3.938 kB / 0.7727 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.481, allocations: 36 kB / 0.7728 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.481, allocations: 27.94 kB / 0.7728 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.4821, allocations: 0.8275 MB / 0.7736 GB, free: 13.05 MB / 0.6198 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.002857/0.485, allocations: 2.729 MB / 0.7763 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.4862, allocations: 0.8075 MB / 0.7771 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004501/0.4867, allocations: 381.2 kB / 0.7774 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.4869, allocations: 100.6 kB / 0.7775 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4869, allocations: 39.22 kB / 0.7776 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 4.519e-06/0.4869, allocations: 3.984 kB / 0.7776 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.003101/0.49, allocations: 1.721 MB / 0.7792 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.4901, allocations: 64.06 kB / 0.7793 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/0.4907, allocations: 0.7834 MB / 0.7801 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.4907, allocations: 37.7 kB / 0.7801 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.491, allocations: 0.5517 MB / 0.7806 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.4912, allocations: 297.4 kB / 0.7809 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.4913, allocations: 150.6 kB / 0.7811 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/0.4914, allocations: 334 kB / 0.7814 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.4918, allocations: 293.8 kB / 0.7817 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.4922, allocations: 376.8 kB / 0.782 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.4931, allocations: 0.6809 MB / 0.7827 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4931, allocations: 0 / 0.7827 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001533/0.4946, allocations: 1.163 MB / 0.7838 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4946, allocations: 8 kB / 0.7838 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4946, allocations: 0 / 0.7838 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004833/0.4951, allocations: 234.2 kB / 0.7841 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.4955, allocations: 187.6 kB / 0.7842 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003526/0.499, allocations: 4.825 MB / 0.7889 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.4994, allocations: 79.56 kB / 0.789 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.4995, allocations: 59.97 kB / 0.7891 GB, free: 12.67 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 81 * 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.0003243/0.4998, allocations: 225.8 kB / 0.7893 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.4999, allocations: 123.1 kB / 0.7894 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.5021, allocations: 1.738 MB / 0.7911 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.5021, allocations: 15.92 kB / 0.7911 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5021, allocations: 0 / 0.7911 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.5021, allocations: 7.984 kB / 0.7911 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.5047, allocations: 2.023 MB / 0.7931 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5047, allocations: 10.03 kB / 0.7931 GB, free: 8.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.5051, allocations: 167.8 kB / 0.7933 GB, free: 8.273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004035/0.5055, allocations: 230.3 kB / 0.7935 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.5056, allocations: 35.97 kB / 0.7935 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/0.5087, allocations: 4.79 MB / 0.7982 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5087, allocations: 0 / 0.7982 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.5109, allocations: 1.662 MB / 0.7998 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.5111, allocations: 187 kB / 0.8 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.5112, allocations: 27.92 kB / 0.8 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.5115, allocations: 39.97 kB / 0.8001 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.5116, allocations: 68.88 kB / 0.8001 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/0.5117, allocations: 56.28 kB / 0.8002 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004596/0.5121, allocations: 0.533 MB / 0.8007 GB, free: 304 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5121, allocations: 4 kB / 0.8007 GB, free: 300 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009978/0.5131, allocations: 0.5027 MB / 0.8012 GB, free: 15.79 MB / 0.6511 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%), (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.0007047/0.5138, allocations: 0.5833 MB / 0.8018 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.5153, allocations: 1.176 MB / 0.8029 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5153, allocations: 0 / 0.8029 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007432/0.5161, allocations: 0.8221 MB / 0.8037 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009151/0.517, allocations: 371.8 kB / 0.8041 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.5197, allocations: 2.295 MB / 0.8063 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.5201, allocations: 0.5003 MB / 0.8068 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.5205, allocations: 192.4 kB / 0.807 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of SimCode: time 8.82e-07/0.5205, allocations: 0 / 0.807 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of Templates: time 0.0257/0.5462, allocations: 34.23 MB / 0.8404 GB, free: 7.496 MB / 0.6823 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 8.078956196084619]