Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001506/0.001506, allocations: 78.8 kB / 19.76 MB, free: 1.875 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: 160.5 kB / 23.01 MB, free: 4.602 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.392/1.392, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.1 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.7275/0.7275, allocations: 79.61 MB / 339.4 MB, free: 11.01 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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_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_dev_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_dev_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.002522/0.002522, allocations: 88.17 kB / 0.4924 GB, free: 26.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1232, allocations: 74.58 MB / 0.5652 GB, free: 6.035 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow): time 0.4887/0.6119, allocations: 176 MB / 0.737 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.6249, allocations: 13.5 MB / 0.7502 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.626, allocations: 62.84 kB / 0.7503 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.6272, allocations: 464.1 kB / 0.7507 GB, free: 3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003374/0.6306, allocations: 1.374 MB / 0.752 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.6338, allocations: 1.397 MB / 0.7534 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.6354, allocations: 1.383 MB / 0.7548 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.6357, allocations: 164.6 kB / 0.7549 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.6378, allocations: 1.142 MB / 0.756 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005203/0.6383, allocations: 465.8 kB / 0.7565 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.6384, allocations: 80.12 kB / 0.7566 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/0.6426, allocations: 2.446 MB / 0.7589 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002315/0.6429, allocations: 202.5 kB / 0.7591 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005229/0.6434, allocations: 408.4 kB / 0.7595 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.6467, allocations: 1.891 MB / 0.7614 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6467, allocations: 0 / 0.7614 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6467, allocations: 2.625 kB / 0.7614 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.376e-05/0.6467, allocations: 0 / 0.7614 GB, free: 2.074 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.002482/0.6492, allocations: 1.502 MB / 0.7628 GB, free: 17.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.6492, allocations: 12.75 kB / 0.7629 GB, free: 17.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.6509, allocations: 260.2 kB / 0.7631 GB, free: 17.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.6522, allocations: 0.696 MB / 0.7638 GB, free: 16.94 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.6525, allocations: 287.4 kB / 0.7641 GB, free: 16.68 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.6526, allocations: 76.55 kB / 0.7641 GB, free: 16.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.6539, allocations: 0.8 MB / 0.7649 GB, free: 16.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.654, allocations: 3.938 kB / 0.7649 GB, free: 16.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.084e-05/0.654, allocations: 33.84 kB / 0.7649 GB, free: 16.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.654, allocations: 18.84 kB / 0.765 GB, free: 16.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.6554, allocations: 0.6802 MB / 0.7656 GB, free: 16.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.003103/0.6585, allocations: 1.843 MB / 0.7674 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.6597, allocations: 0.5418 MB / 0.768 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005996/0.6603, allocations: 305.2 kB / 0.7682 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.6606, allocations: 72.25 kB / 0.7683 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.6606, allocations: 44.31 kB / 0.7684 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=59): time 2.675e-06/0.6606, allocations: 0 / 0.7684 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=59): time 0.00463/0.6653, allocations: 1.47 MB / 0.7698 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.6653, allocations: 56.81 kB / 0.7698 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007766/0.6661, allocations: 0.6214 MB / 0.7705 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.616e-05/0.6661, allocations: 35.89 kB / 0.7705 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.6665, allocations: 453.2 kB / 0.7709 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.6667, allocations: 209.3 kB / 0.7711 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.6668, allocations: 119.5 kB / 0.7712 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.667, allocations: 329 kB / 0.7716 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005173/0.6675, allocations: 228.6 kB / 0.7718 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/0.6681, allocations: 297.5 kB / 0.7721 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.6692, allocations: 0.509 MB / 0.7725 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6692, allocations: 0 / 0.7725 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002328/0.6715, allocations: 0.924 MB / 0.7735 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.6715, allocations: 7.812 kB / 0.7735 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6716, allocations: 6.688 kB / 0.7735 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007406/0.6723, allocations: 210.7 kB / 0.7737 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.6728, allocations: 125.2 kB / 0.7738 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005778/0.6786, allocations: 4.651 MB / 0.7783 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006157/0.6792, allocations: 75.66 kB / 0.7784 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.6793, allocations: 39.41 kB / 0.7784 GB, free: 8.281 MB / 0.6075 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 (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 {(2,2,100.0%), (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.0004103/0.6797, allocations: 197.4 kB / 0.7786 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.6799, allocations: 84.41 kB / 0.7787 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.683, allocations: 1.297 MB / 0.78 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.683, allocations: 9.688 kB / 0.78 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.683, allocations: 2.781 kB / 0.78 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.683, allocations: 7.984 kB / 0.78 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003779/0.6868, allocations: 1.621 MB / 0.7816 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.6868, allocations: 8.359 kB / 0.7816 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.6873, allocations: 103.3 kB / 0.7817 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000693/0.688, allocations: 216.9 kB / 0.7819 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.087e-05/0.6881, allocations: 35.23 kB / 0.7819 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005763/0.6938, allocations: 4.648 MB / 0.7865 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.6938, allocations: 3.031 kB / 0.7865 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003162/0.697, allocations: 1.332 MB / 0.7878 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000407/0.6974, allocations: 133.8 kB / 0.7879 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.6976, allocations: 18.27 kB / 0.7879 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.6981, allocations: 35.12 kB / 0.7879 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.6982, allocations: 67.02 kB / 0.788 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.6983, allocations: 33.61 kB / 0.788 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006174/0.6989, allocations: 446.2 kB / 0.7885 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.6989, allocations: 0 / 0.7885 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001194/0.7001, allocations: 362 kB / 0.7888 GB, free: 0.7891 MB / 0.6075 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 (51): * Single equations (assignments): 48 * 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,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.0008742/0.701, allocations: 459.1 kB / 0.7892 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.7032, allocations: 0.9647 MB / 0.7902 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.7032, allocations: 0 / 0.7902 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.7045, allocations: 0.7093 MB / 0.7909 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.7056, allocations: 188.1 kB / 0.7911 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/0.7094, allocations: 1.832 MB / 0.7929 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.7099, allocations: 411.3 kB / 0.7932 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009243/0.7108, allocations: 441.7 kB / 0.7937 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003027/0.7111, allocations: 102.4 kB / 0.7938 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of SimCode: time 8.72e-07/0.7111, allocations: 0 / 0.7938 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of Templates: time 0.03018/0.7413, allocations: 15.43 MB / 0.8088 GB, free: 15.87 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 6.2717345100827515]