Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.001533/0.001533, allocations: 81.31 kB / 19.76 MB, free: 2.027 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.001671/0.001671, allocations: 159.2 kB / 23.01 MB, free: 4.945 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.373/1.373, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.7369/0.7369, allocations: 79.62 MB / 339.4 MB, free: 10.98 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.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.002499/0.002499, allocations: 88.06 kB / 0.4924 GB, free: 26.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1168, allocations: 74.58 MB / 0.5652 GB, free: 6.012 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5057/0.6225, allocations: 176 MB / 0.737 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.6347, allocations: 13.68 MB / 0.7504 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008645/0.6356, allocations: 62.78 kB / 0.7504 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.6367, allocations: 461.8 kB / 0.7509 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.6397, allocations: 1.38 MB / 0.7522 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.643, allocations: 1.48 MB / 0.7537 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00149/0.6445, allocations: 1.39 MB / 0.755 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.6448, allocations: 162.9 kB / 0.7552 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.6468, allocations: 1.142 MB / 0.7563 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000514/0.6473, allocations: 468.6 kB / 0.7567 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.902e-05/0.6474, allocations: 75.66 kB / 0.7568 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004128/0.6515, allocations: 2.538 MB / 0.7593 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002033/0.6517, allocations: 209.8 kB / 0.7595 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004344/0.6522, allocations: 412.4 kB / 0.7599 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00328/0.6555, allocations: 1.966 MB / 0.7618 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6555, allocations: 0 / 0.7618 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6555, allocations: 0.8125 kB / 0.7618 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.6555, allocations: 2.438 kB / 0.7618 GB, free: 2.121 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.002617/0.6581, allocations: 1.519 MB / 0.7633 GB, free: 17.33 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.6581, allocations: 14.94 kB / 0.7633 GB, free: 17.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.6598, allocations: 255.1 kB / 0.7636 GB, free: 17.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.6611, allocations: 0.7027 MB / 0.7642 GB, free: 16.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002733/0.6614, allocations: 291.7 kB / 0.7645 GB, free: 16.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.6615, allocations: 77.95 kB / 0.7646 GB, free: 16.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.663, allocations: 0.8078 MB / 0.7654 GB, free: 16.53 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.6631, allocations: 0 / 0.7654 GB, free: 16.53 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.148e-05/0.6631, allocations: 30.44 kB / 0.7654 GB, free: 16.51 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.6631, allocations: 16.31 kB / 0.7654 GB, free: 16.51 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.6645, allocations: 0.6963 MB / 0.7661 GB, free: 16.3 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.003287/0.6678, allocations: 1.862 MB / 0.7679 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.6691, allocations: 0.5646 MB / 0.7685 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/0.6697, allocations: 303.8 kB / 0.7688 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/0.67, allocations: 74.05 kB / 0.7688 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.6701, allocations: 38.5 kB / 0.7689 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 2.946e-06/0.6701, allocations: 0 / 0.7689 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.004749/0.6748, allocations: 1.48 MB / 0.7703 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.6749, allocations: 61.12 kB / 0.7704 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007537/0.6756, allocations: 0.6291 MB / 0.771 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.6757, allocations: 36.8 kB / 0.771 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.676, allocations: 450.1 kB / 0.7715 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.6762, allocations: 209 kB / 0.7717 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.6764, allocations: 110.4 kB / 0.7718 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6765, allocations: 330 kB / 0.7721 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.6771, allocations: 239.2 kB / 0.7723 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006082/0.6777, allocations: 289.4 kB / 0.7726 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.6788, allocations: 0.5164 MB / 0.7731 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6788, allocations: 0 / 0.7731 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002469/0.6813, allocations: 0.9489 MB / 0.774 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.6813, allocations: 9.906 kB / 0.774 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6813, allocations: 0 / 0.774 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000796/0.6821, allocations: 219.3 kB / 0.7742 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.6827, allocations: 119.3 kB / 0.7743 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005766/0.6884, allocations: 4.661 MB / 0.7789 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/0.6891, allocations: 71.36 kB / 0.779 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.525e-05/0.6892, allocations: 35.33 kB / 0.779 GB, free: 8.418 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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.0003798/0.6896, allocations: 199 kB / 0.7792 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.6898, allocations: 90.55 kB / 0.7793 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/0.6927, allocations: 1.309 MB / 0.7806 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.6927, allocations: 6.625 kB / 0.7806 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6927, allocations: 0 / 0.7806 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.6927, allocations: 6.516 kB / 0.7806 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/0.6963, allocations: 1.651 MB / 0.7822 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.6963, allocations: 7.625 kB / 0.7822 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000497/0.6968, allocations: 107.9 kB / 0.7823 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006687/0.6975, allocations: 220.8 kB / 0.7825 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.6976, allocations: 22.48 kB / 0.7825 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005585/0.7031, allocations: 4.655 MB / 0.7871 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.7031, allocations: 3.984 kB / 0.7871 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.7063, allocations: 1.342 MB / 0.7884 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003016/0.7066, allocations: 133.9 kB / 0.7885 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.102e-05/0.7066, allocations: 21.73 kB / 0.7885 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.7071, allocations: 35.44 kB / 0.7886 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.7072, allocations: 62.34 kB / 0.7886 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.248e-05/0.7073, allocations: 29.64 kB / 0.7886 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005261/0.7078, allocations: 452.2 kB / 0.7891 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7078, allocations: 0 / 0.7891 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001171/0.709, allocations: 404 kB / 0.7895 GB, free: 0.7852 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.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 (50): * Single equations (assignments): 47 * 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.0007875/0.7098, allocations: 0.5147 MB / 0.79 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002079/0.7119, allocations: 0.9755 MB / 0.7909 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7119, allocations: 0 / 0.7909 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.7131, allocations: 0.7101 MB / 0.7916 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000854/0.7139, allocations: 180 kB / 0.7918 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.717, allocations: 1.851 MB / 0.7936 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.7174, allocations: 406.1 kB / 0.794 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008136/0.7182, allocations: 438.4 kB / 0.7944 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.7185, allocations: 105.4 kB / 0.7945 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.7185, allocations: 0 / 0.7945 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of Templates: time 0.02886/0.7473, allocations: 16.35 MB / 0.8105 GB, free: 14.58 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow -abortSlowSimulation -alarm=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_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.36410031595733]