Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.001547/0.001547, allocations: 106.5 kB / 19.69 MB, free: 2.277 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.001681/0.001681, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.343/1.343, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.7026/0.7026, allocations: 94.56 MB / 407.8 MB, free: 9.18 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_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow") [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.002353/0.002353, allocations: 94.61 kB / 0.5562 GB, free: 38.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1085, allocations: 73.05 MB / 0.6275 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.477/0.5856, allocations: 203.1 MB / 0.8259 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.5997, allocations: 15.02 MB / 0.8405 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.6007, allocations: 64.75 kB / 0.8406 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.6022, allocations: 0.5147 MB / 0.8411 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.6059, allocations: 1.387 MB / 0.8424 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.6095, allocations: 1.414 MB / 0.8438 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001907/0.6114, allocations: 1.396 MB / 0.8452 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.6117, allocations: 168.4 kB / 0.8454 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.6139, allocations: 1.135 MB / 0.8465 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007487/0.6146, allocations: 0.5112 MB / 0.847 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.6148, allocations: 78.94 kB / 0.847 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/0.6195, allocations: 2.615 MB / 0.8496 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002422/0.6198, allocations: 208.4 kB / 0.8498 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005889/0.6204, allocations: 0.501 MB / 0.8503 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003471/0.6238, allocations: 1.911 MB / 0.8521 GB, free: 1 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6238, allocations: 3.062 kB / 0.8521 GB, free: 1 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6238, allocations: 0 / 0.8521 GB, free: 1 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.008e-05/0.6239, allocations: 0 / 0.8521 GB, free: 1 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003059/0.6269, allocations: 1.511 MB / 0.8536 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.627, allocations: 7.594 kB / 0.8536 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.6286, allocations: 246 kB / 0.8539 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.6301, allocations: 0.7117 MB / 0.8546 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.6304, allocations: 264.6 kB / 0.8548 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.6305, allocations: 76.27 kB / 0.8549 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.632, allocations: 0.8253 MB / 0.8557 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.632, allocations: 0 / 0.8557 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/0.6321, allocations: 31.97 kB / 0.8557 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.6321, allocations: 17.34 kB / 0.8557 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.6334, allocations: 0.6505 MB / 0.8564 GB, free: 14.14 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.004218/0.6376, allocations: 2.946 MB / 0.8593 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.6389, allocations: 0.5551 MB / 0.8598 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/0.6395, allocations: 330.1 kB / 0.8601 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.6397, allocations: 81.86 kB / 0.8602 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.6398, allocations: 37.72 kB / 0.8602 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 1.503e-06/0.6398, allocations: 0 / 0.8602 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.004464/0.6442, allocations: 1.45 MB / 0.8616 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.6443, allocations: 63.91 kB / 0.8617 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.6451, allocations: 0.6613 MB / 0.8623 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.6452, allocations: 37.7 kB / 0.8624 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.6455, allocations: 436.8 kB / 0.8628 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.6457, allocations: 219.3 kB / 0.863 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.6459, allocations: 110.3 kB / 0.8631 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.646, allocations: 326 kB / 0.8634 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/0.6466, allocations: 257.1 kB / 0.8637 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.6473, allocations: 265.8 kB / 0.8639 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.6485, allocations: 0.5207 MB / 0.8644 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.6485, allocations: 0 / 0.8644 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002751/0.6513, allocations: 1.018 MB / 0.8654 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.6513, allocations: 10.17 kB / 0.8654 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6513, allocations: 0 / 0.8654 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007678/0.6521, allocations: 226.4 kB / 0.8656 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.6528, allocations: 147.8 kB / 0.8658 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005921/0.6587, allocations: 4.795 MB / 0.8705 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/0.6593, allocations: 71.67 kB / 0.8705 GB, free: 196 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/0.6594, allocations: 35.98 kB / 0.8706 GB, free: 160 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (57): * Single equations (assignments): 54 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003772/0.6598, allocations: 205.7 kB / 0.8708 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.66, allocations: 91.39 kB / 0.8709 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/0.6634, allocations: 1.414 MB / 0.8722 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6634, allocations: 4 kB / 0.8722 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.6635, allocations: 7.938 kB / 0.8722 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.6635, allocations: 3.984 kB / 0.8723 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004283/0.6678, allocations: 1.988 MB / 0.8742 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6678, allocations: 0 / 0.8742 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.6685, allocations: 143.8 kB / 0.8743 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006893/0.6692, allocations: 238.5 kB / 0.8746 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.6692, allocations: 19.98 kB / 0.8746 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005665/0.6749, allocations: 4.802 MB / 0.8793 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6749, allocations: 0 / 0.8793 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.6782, allocations: 1.416 MB / 0.8807 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.6786, allocations: 143.3 kB / 0.8808 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.6787, allocations: 15.94 kB / 0.8808 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004738/0.6792, allocations: 36.84 kB / 0.8808 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.6793, allocations: 60.33 kB / 0.8809 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.258e-05/0.6794, allocations: 35.92 kB / 0.8809 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006037/0.68, allocations: 487 kB / 0.8814 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.68, allocations: 0 / 0.8814 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001066/0.681, allocations: 379 kB / 0.8818 GB, free: 4.234 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * 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 (53): * Single equations (assignments): 50 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008378/0.6819, allocations: 482.7 kB / 0.8822 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.6841, allocations: 1.034 MB / 0.8832 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.6841, allocations: 0 / 0.8832 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.6857, allocations: 0.7868 MB / 0.884 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.6866, allocations: 214.3 kB / 0.8842 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.69, allocations: 1.895 MB / 0.886 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/0.6906, allocations: 1.001 MB / 0.887 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000396/0.691, allocations: 135.4 kB / 0.8872 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.691, allocations: 0 / 0.8872 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of Templates: time 0.03376/0.7248, allocations: 26.61 MB / 0.9131 GB, free: 4.008 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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.65763480309397]