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.002087/0.002087, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002755/0.002755, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] 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.8359/0.8359, allocations: 100.3 MB / 412.7 MB, free: 3.645 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.003984/0.003984, allocations: 81.94 kB / 0.5638 GB, free: 35.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1654, allocations: 74.46 MB / 0.6365 GB, free: 7.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.51/0.6754, allocations: 203.1 MB / 0.8348 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01658/0.692, allocations: 15.21 MB / 0.8497 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009453/0.6929, allocations: 62.84 kB / 0.8497 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.6943, allocations: 0.5087 MB / 0.8502 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.698, allocations: 1.391 MB / 0.8516 GB, free: 348 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.7018, allocations: 1.496 MB / 0.853 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002023/0.7038, allocations: 1.403 MB / 0.8544 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.7041, allocations: 170.3 kB / 0.8546 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.7065, allocations: 1.145 MB / 0.8557 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007758/0.7073, allocations: 0.5189 MB / 0.8562 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.7074, allocations: 76.81 kB / 0.8563 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005269/0.7127, allocations: 2.707 MB / 0.8589 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.713, allocations: 210 kB / 0.8591 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.7136, allocations: 0.5023 MB / 0.8596 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003801/0.7174, allocations: 1.989 MB / 0.8616 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7175, allocations: 0 / 0.8616 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7175, allocations: 0 / 0.8616 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.911e-05/0.7175, allocations: 0 / 0.8616 GB, free: 10.27 MB / 0.6075 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.002948/0.7204, allocations: 1.539 MB / 0.8631 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.7205, allocations: 7.625 kB / 0.8631 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/0.7221, allocations: 250.2 kB / 0.8633 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.7236, allocations: 0.712 MB / 0.864 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.7239, allocations: 263.5 kB / 0.8642 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.724, allocations: 76.33 kB / 0.8643 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.7255, allocations: 0.8232 MB / 0.8651 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.7256, allocations: 0 / 0.8651 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.7256, allocations: 35.98 kB / 0.8652 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.7257, allocations: 16 kB / 0.8652 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.7272, allocations: 0.6597 MB / 0.8658 GB, free: 6.934 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.004638/0.7319, allocations: 2.915 MB / 0.8687 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.7333, allocations: 0.5645 MB / 0.8692 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007461/0.7341, allocations: 326.2 kB / 0.8695 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002799/0.7343, allocations: 76.42 kB / 0.8696 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.7344, allocations: 35.06 kB / 0.8696 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 2.204e-06/0.7344, allocations: 0 / 0.8696 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.004938/0.7393, allocations: 1.451 MB / 0.8711 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.7394, allocations: 59.91 kB / 0.8711 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009503/0.7403, allocations: 0.6887 MB / 0.8718 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.828e-05/0.7404, allocations: 37.7 kB / 0.8718 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.7407, allocations: 456.8 kB / 0.8723 GB, free: 60 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.741, allocations: 206.2 kB / 0.8724 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.7412, allocations: 114.3 kB / 0.8726 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7413, allocations: 329.9 kB / 0.8729 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006771/0.742, allocations: 265.1 kB / 0.8731 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007377/0.7427, allocations: 309.6 kB / 0.8734 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.7441, allocations: 0.538 MB / 0.8739 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7441, allocations: 0 / 0.8739 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002996/0.7471, allocations: 1.034 MB / 0.875 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.7471, allocations: 8 kB / 0.875 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7471, allocations: 0 / 0.875 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008211/0.7479, allocations: 230.4 kB / 0.8752 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.7487, allocations: 151.8 kB / 0.8753 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006427/0.7552, allocations: 4.798 MB / 0.88 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/0.7558, allocations: 83.5 kB / 0.8801 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.7559, allocations: 39.98 kB / 0.8801 GB, free: 7.59 MB / 0.6231 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 {(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.000366/0.7563, allocations: 203.8 kB / 0.8803 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.7565, allocations: 87.44 kB / 0.8804 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.7601, allocations: 1.393 MB / 0.8818 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.7601, allocations: 7.938 kB / 0.8818 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7601, allocations: 4 kB / 0.8818 GB, free: 5.883 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.7601, allocations: 7.984 kB / 0.8818 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004724/0.7649, allocations: 1.975 MB / 0.8837 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.7649, allocations: 3.984 kB / 0.8837 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/0.7657, allocations: 136 kB / 0.8839 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008123/0.7665, allocations: 238.3 kB / 0.8841 GB, free: 3.445 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.7665, allocations: 27.92 kB / 0.8841 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006221/0.7728, allocations: 4.795 MB / 0.8888 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7728, allocations: 0 / 0.8888 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/0.7764, allocations: 1.397 MB / 0.8902 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.7768, allocations: 143.2 kB / 0.8903 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.7769, allocations: 15.94 kB / 0.8903 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.7774, allocations: 35.97 kB / 0.8903 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.7776, allocations: 64.27 kB / 0.8904 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.776e-05/0.7777, allocations: 31.98 kB / 0.8904 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000688/0.7783, allocations: 0.4911 MB / 0.8909 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7783, allocations: 0 / 0.8909 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001178/0.7795, allocations: 399 kB / 0.8913 GB, free: 11.67 MB / 0.6387 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 {(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.000946/0.7805, allocations: 0.509 MB / 0.8918 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002556/0.783, allocations: 1.045 MB / 0.8928 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.783, allocations: 0 / 0.8928 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.7847, allocations: 0.7681 MB / 0.8936 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.7857, allocations: 225.8 kB / 0.8938 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.7891, allocations: 1.838 MB / 0.8956 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/0.7897, allocations: 0.9971 MB / 0.8965 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009872/0.7907, allocations: 455.5 kB / 0.897 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.791, allocations: 107.4 kB / 0.8971 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.791, allocations: 0 / 0.8971 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of Templates: time 0.03236/0.8234, allocations: 17.14 MB / 0.9138 GB, free: 4.602 MB / 0.6544 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 -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/jenkins/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.926759356632829]