Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.001492/0.001492, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001653/0.001653, allocations: 215.8 kB / 23.01 MB, free: 5.109 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.371/1.371, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.7266/0.7266, allocations: 100.3 MB / 413.5 MB, free: 3.684 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [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.002517/0.002517, allocations: 87.53 kB / 0.5645 GB, free: 35.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1147, allocations: 74.45 MB / 0.6372 GB, free: 7.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.513/0.6278, allocations: 215.7 MB / 0.8479 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01961/0.6474, allocations: 17.62 MB / 0.8651 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.6485, allocations: 74 kB / 0.8652 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.6501, allocations: 0.6152 MB / 0.8658 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004457/0.6546, allocations: 1.804 MB / 0.8675 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004166/0.6587, allocations: 1.706 MB / 0.8692 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002191/0.6609, allocations: 1.734 MB / 0.8709 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.6613, allocations: 185.5 kB / 0.8711 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002192/0.6635, allocations: 1.258 MB / 0.8723 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007132/0.6642, allocations: 0.6405 MB / 0.8729 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.6643, allocations: 98.47 kB / 0.873 GB, free: 396 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00659/0.6709, allocations: 3.557 MB / 0.8765 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.6712, allocations: 243 kB / 0.8767 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007586/0.6719, allocations: 0.6331 MB / 0.8773 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004836/0.6768, allocations: 2.398 MB / 0.8797 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.6768, allocations: 0 / 0.8797 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6768, allocations: 0 / 0.8797 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.867e-05/0.6768, allocations: 4 kB / 0.8797 GB, free: 9.645 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003726/0.6805, allocations: 1.826 MB / 0.8815 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.6806, allocations: 9.828 kB / 0.8815 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/0.6826, allocations: 298.8 kB / 0.8817 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.6844, allocations: 0.8458 MB / 0.8826 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.6847, allocations: 273.9 kB / 0.8828 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.6848, allocations: 99.88 kB / 0.8829 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.6868, allocations: 1.009 MB / 0.8839 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.6868, allocations: 4 kB / 0.8839 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-05/0.6869, allocations: 36 kB / 0.884 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.6869, allocations: 24 kB / 0.884 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.6886, allocations: 0.7924 MB / 0.8847 GB, free: 4.297 MB / 0.6231 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.005344/0.6939, allocations: 3.84 MB / 0.8885 GB, free: 180 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.6958, allocations: 0.817 MB / 0.8893 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007756/0.6966, allocations: 403.3 kB / 0.8897 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.6969, allocations: 108.5 kB / 0.8898 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.697, allocations: 35.22 kB / 0.8898 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=80): time 2.505e-06/0.697, allocations: 0 / 0.8898 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=80): time 0.005037/0.702, allocations: 1.705 MB / 0.8915 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.7021, allocations: 64 kB / 0.8915 GB, free: 13 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.7033, allocations: 0.7956 MB / 0.8923 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-05/0.7034, allocations: 41.7 kB / 0.8924 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.7039, allocations: 0.5206 MB / 0.8929 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.7042, allocations: 289.4 kB / 0.8931 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.7045, allocations: 162.6 kB / 0.8933 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.7046, allocations: 333.9 kB / 0.8936 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007592/0.7054, allocations: 317.8 kB / 0.8939 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007812/0.7062, allocations: 391.1 kB / 0.8943 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.7076, allocations: 0.6901 MB / 0.895 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.7076, allocations: 0 / 0.895 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003145/0.7108, allocations: 1.237 MB / 0.8962 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.7108, allocations: 8 kB / 0.8962 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.7108, allocations: 4.062 kB / 0.8962 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008314/0.7116, allocations: 254.3 kB / 0.8964 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009304/0.7126, allocations: 199.7 kB / 0.8966 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006064/0.7186, allocations: 4.924 MB / 0.9014 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.7193, allocations: 101.9 kB / 0.9015 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.7194, allocations: 51.98 kB / 0.9016 GB, free: 2.293 MB / 0.6387 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 (82): * Single equations (assignments): 79 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004438/0.7199, allocations: 217.7 kB / 0.9018 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.7201, allocations: 115.3 kB / 0.9019 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004104/0.7242, allocations: 1.812 MB / 0.9037 GB, free: 132 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.7242, allocations: 12 kB / 0.9037 GB, free: 120 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.7243, allocations: 4 kB / 0.9037 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.7243, allocations: 3.984 kB / 0.9037 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005037/0.7293, allocations: 2.395 MB / 0.906 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.7293, allocations: 0 / 0.906 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009354/0.7303, allocations: 199.9 kB / 0.9062 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007552/0.731, allocations: 258.2 kB / 0.9065 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/0.7311, allocations: 31.98 kB / 0.9065 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005947/0.737, allocations: 4.924 MB / 0.9113 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.737, allocations: 0 / 0.9113 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003901/0.7409, allocations: 1.728 MB / 0.913 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004604/0.7414, allocations: 183 kB / 0.9132 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.7416, allocations: 20 kB / 0.9132 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006037/0.7422, allocations: 43.97 kB / 0.9132 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.7423, allocations: 72.52 kB / 0.9133 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.978e-05/0.7424, allocations: 47.92 kB / 0.9133 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007746/0.7432, allocations: 0.5605 MB / 0.9139 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7432, allocations: 0 / 0.9139 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001386/0.7446, allocations: 486.8 kB / 0.9143 GB, free: 4.703 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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 {(1,4,100.0%), (1,4,100.0%), (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.001068/0.7456, allocations: 0.5634 MB / 0.9149 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002679/0.7483, allocations: 1.201 MB / 0.9161 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7483, allocations: 7.938 kB / 0.9161 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001719/0.75, allocations: 0.8902 MB / 0.9169 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.7512, allocations: 272 kB / 0.9172 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.7557, allocations: 2.399 MB / 0.9196 GB, free: 15.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/0.7565, allocations: 1.084 MB / 0.9206 GB, free: 14.14 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/0.7571, allocations: 191.2 kB / 0.9208 GB, free: 13.95 MB / 0.67 GB Notification: Performance of SimCode: time 6.12e-07/0.7571, allocations: 3.938 kB / 0.9208 GB, free: 13.95 MB / 0.67 GB Notification: Performance of Templates: time 0.04129/0.7984, allocations: 32.58 MB / 0.9526 GB, free: 13.38 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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: 11.122961858985946]