Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 111.3 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6263/0.6263, allocations: 90.3 MB / 394.8 MB, free: 3.871 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 79.81 kB / 0.5386 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4798, allocations: 70.82 MB / 0.6078 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.3033/0.7831, allocations: 236.2 MB / 0.8385 GB, free: 14.33 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02905/0.8122, allocations: 22.44 MB / 0.8604 GB, free: 7.809 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.8135, allocations: 27.81 kB / 0.8605 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.8158, allocations: 0.7838 MB / 0.8612 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0057/0.8215, allocations: 1.963 MB / 0.8631 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007244/0.8288, allocations: 2.203 MB / 0.8653 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003365/0.8321, allocations: 2.014 MB / 0.8673 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006119/0.8327, allocations: 260.4 kB / 0.8675 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4466/1.279, allocations: 1.289 MB / 0.8688 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/1.281, allocations: 0.8073 MB / 0.8696 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/1.281, allocations: 134.3 kB / 0.8697 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/1.294, allocations: 4.134 MB / 0.8737 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001046/1.295, allocations: 334.3 kB / 0.874 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001683/1.296, allocations: 0.7576 MB / 0.8748 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01072/1.307, allocations: 2.83 MB / 0.8775 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.307, allocations: 1.5 kB / 0.8775 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.054e-06/1.307, allocations: 0 / 0.8775 GB, free: 5.488 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001022/1.307, allocations: 1.344 kB / 0.8776 GB, free: 5.488 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.007081/1.314, allocations: 2.164 MB / 0.8797 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.314, allocations: 9.875 kB / 0.8797 GB, free: 4.457 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003402/1.318, allocations: 401.5 kB / 0.8801 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/1.32, allocations: 0.7821 MB / 0.8808 GB, free: 4.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000694/1.32, allocations: 355.5 kB / 0.8812 GB, free: 19.77 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/1.32, allocations: 129.8 kB / 0.8813 GB, free: 19.76 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/1.324, allocations: 1.452 MB / 0.8827 GB, free: 19.62 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/1.324, allocations: 1.031 kB / 0.8827 GB, free: 19.62 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/1.324, allocations: 52.91 kB / 0.8828 GB, free: 19.62 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/1.324, allocations: 32.12 kB / 0.8828 GB, free: 19.62 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/1.326, allocations: 1.185 MB / 0.8839 GB, free: 19.6 MB / 0.7012 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.008508/1.335, allocations: 5.383 MB / 0.8892 GB, free: 16.81 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/1.338, allocations: 1.25 MB / 0.8904 GB, free: 16.77 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/1.34, allocations: 0.6649 MB / 0.8911 GB, free: 16.76 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/1.341, allocations: 1.793 MB / 0.8928 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/1.342, allocations: 47.19 kB / 0.8929 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=113): time 3.587e-06/1.342, allocations: 0.8438 kB / 0.8929 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of matching and sorting (n=113): time 0.009063/1.351, allocations: 3.023 MB / 0.8958 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/1.351, allocations: 66.48 kB / 0.8959 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/1.352, allocations: 0.6823 MB / 0.8965 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/1.352, allocations: 46.86 kB / 0.8966 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/1.352, allocations: 0.5243 MB / 0.8971 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/1.352, allocations: 413 kB / 0.8975 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003365/1.353, allocations: 209.8 kB / 0.8977 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.353, allocations: 344.3 kB / 0.898 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/1.354, allocations: 0.4906 MB / 0.8985 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/1.355, allocations: 0.5835 MB / 0.8991 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/1.357, allocations: 1.054 MB / 0.9001 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.357, allocations: 0 / 0.9001 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00501/1.362, allocations: 1.89 MB / 0.9019 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/1.362, allocations: 8.469 kB / 0.902 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.362, allocations: 6.781 kB / 0.902 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/1.364, allocations: 412.8 kB / 0.9024 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/1.365, allocations: 300.7 kB / 0.9026 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009691/1.375, allocations: 7.418 MB / 0.9099 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/1.376, allocations: 127.6 kB / 0.91 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/1.376, allocations: 73.64 kB / 0.9101 GB, free: 7.34 MB / 0.7012 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007071/1.377, allocations: 260.2 kB / 0.9103 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/1.377, allocations: 108 kB / 0.9104 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006302/1.384, allocations: 2.692 MB / 0.9131 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/1.384, allocations: 12.66 kB / 0.9131 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.384, allocations: 3.844 kB / 0.9131 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/1.384, allocations: 7.094 kB / 0.9131 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007703/1.391, allocations: 3.517 MB / 0.9165 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.391, allocations: 2.859 kB / 0.9165 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/1.393, allocations: 290.9 kB / 0.9168 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/1.394, allocations: 423.2 kB / 0.9172 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/1.394, allocations: 45.67 kB / 0.9172 GB, free: 6.355 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009933/1.404, allocations: 7.443 MB / 0.9245 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.404, allocations: 5.719 kB / 0.9245 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006566/1.411, allocations: 2.578 MB / 0.927 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000778/1.412, allocations: 303.7 kB / 0.9273 GB, free: 412 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/1.412, allocations: 28.88 kB / 0.9274 GB, free: 408 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008162/1.413, allocations: 70.78 kB / 0.9274 GB, free: 408 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/1.413, allocations: 100.4 kB / 0.9275 GB, free: 408 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.413, allocations: 69.14 kB / 0.9276 GB, free: 404 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006624/1.414, allocations: 496.2 kB / 0.9281 GB, free: 312 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.414, allocations: 0 / 0.9281 GB, free: 312 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002415/1.416, allocations: 0.5949 MB / 0.9286 GB, free: 216 kB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (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.001659/1.418, allocations: 0.6796 MB / 0.9293 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004412/1.422, allocations: 1.847 MB / 0.9311 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.422, allocations: 3.938 kB / 0.9311 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002869/1.425, allocations: 1.336 MB / 0.9324 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/1.427, allocations: 274.8 kB / 0.9327 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/1.432, allocations: 2.815 MB / 0.9354 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/1.433, allocations: 1.122 MB / 0.9365 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001878/1.435, allocations: 0.8211 MB / 0.9373 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005175/1.436, allocations: 171.9 kB / 0.9375 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of SimCode: time 1.793e-06/1.436, allocations: 0 / 0.9375 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of Templates: time 0.04455/1.48, allocations: 25.35 MB / 0.9622 GB, free: 44 kB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.712435128167272]