Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001945/0.001945, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002439/0.002439, allocations: 217.5 kB / 22.26 MB, free: 5.082 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.486/1.486, allocations: 230.6 MB / 256 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.7919/0.7919, allocations: 94.56 MB / 407 MB, free: 9.238 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.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_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_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.002873/0.002873, allocations: 93.34 kB / 0.5554 GB, free: 38.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1298, allocations: 73.05 MB / 0.6268 GB, free: 16 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.597/0.7268, allocations: 215.8 MB / 0.8375 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01986/0.7466, allocations: 17.61 MB / 0.8547 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.7478, allocations: 71.25 kB / 0.8547 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.7496, allocations: 0.6351 MB / 0.8553 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.7544, allocations: 1.799 MB / 0.8571 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.759, allocations: 1.694 MB / 0.8588 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.7614, allocations: 1.733 MB / 0.8605 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004099/0.7618, allocations: 193.8 kB / 0.8606 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.7645, allocations: 1.258 MB / 0.8619 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008618/0.7654, allocations: 0.6527 MB / 0.8625 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.7655, allocations: 96.44 kB / 0.8626 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007049/0.7726, allocations: 3.554 MB / 0.8661 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004267/0.773, allocations: 254.9 kB / 0.8663 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.774, allocations: 0.6176 MB / 0.8669 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005103/0.7791, allocations: 2.394 MB / 0.8692 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7791, allocations: 0 / 0.8692 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7791, allocations: 0 / 0.8692 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.7791, allocations: 3.938 kB / 0.8693 GB, free: 6.414 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003826/0.783, allocations: 1.83 MB / 0.871 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.783, allocations: 8.031 kB / 0.871 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.7851, allocations: 302.8 kB / 0.8713 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.787, allocations: 0.8381 MB / 0.8722 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002926/0.7873, allocations: 273.8 kB / 0.8724 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.7875, allocations: 99.94 kB / 0.8725 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.7895, allocations: 1.013 MB / 0.8735 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.7896, allocations: 3.938 kB / 0.8735 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.7897, allocations: 39.98 kB / 0.8735 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.569e-05/0.7897, allocations: 24 kB / 0.8736 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.7915, allocations: 0.7885 MB / 0.8743 GB, free: 1.059 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.005962/0.7975, allocations: 3.84 MB / 0.8781 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.7996, allocations: 0.811 MB / 0.8789 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008392/0.8004, allocations: 407.2 kB / 0.8793 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003827/0.8008, allocations: 116.5 kB / 0.8794 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.8008, allocations: 43.22 kB / 0.8794 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.835e-06/0.8008, allocations: 0 / 0.8794 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005567/0.8064, allocations: 1.702 MB / 0.8811 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.8064, allocations: 60.06 kB / 0.8811 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.8075, allocations: 0.7995 MB / 0.8819 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.416e-05/0.8076, allocations: 41.7 kB / 0.882 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004525/0.8081, allocations: 0.5128 MB / 0.8825 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.8084, allocations: 293.5 kB / 0.8827 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.8086, allocations: 150.6 kB / 0.8829 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.8088, allocations: 337.9 kB / 0.8832 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007688/0.8096, allocations: 313.8 kB / 0.8835 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008313/0.8104, allocations: 395 kB / 0.8839 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.812, allocations: 0.694 MB / 0.8846 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.812, allocations: 0 / 0.8846 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003373/0.8154, allocations: 1.241 MB / 0.8858 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.8154, allocations: 12 kB / 0.8858 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.8154, allocations: 0 / 0.8858 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008906/0.8163, allocations: 250.3 kB / 0.886 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.8173, allocations: 203.8 kB / 0.8862 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007869/0.8252, allocations: 4.927 MB / 0.891 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009157/0.8261, allocations: 96.3 kB / 0.8911 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.8262, allocations: 59.97 kB / 0.8912 GB, free: 15.04 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.0005253/0.8267, allocations: 221.7 kB / 0.8914 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.827, allocations: 107.3 kB / 0.8915 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004857/0.8319, allocations: 1.812 MB / 0.8933 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.8319, allocations: 8 kB / 0.8933 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.8319, allocations: 5.312 kB / 0.8933 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/0.8319, allocations: 11.91 kB / 0.8933 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005669/0.8376, allocations: 2.38 MB / 0.8956 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.8376, allocations: 0 / 0.8956 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.8386, allocations: 199.9 kB / 0.8958 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008415/0.8395, allocations: 255.1 kB / 0.896 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.664e-05/0.8396, allocations: 35.91 kB / 0.8961 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006981/0.8466, allocations: 4.925 MB / 0.9009 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8466, allocations: 3.938 kB / 0.9009 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.8511, allocations: 1.728 MB / 0.9026 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005684/0.8517, allocations: 183 kB / 0.9027 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.8518, allocations: 23.98 kB / 0.9028 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005738/0.8524, allocations: 39.97 kB / 0.9028 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/0.8526, allocations: 76.47 kB / 0.9029 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.543e-05/0.8527, allocations: 47.97 kB / 0.9029 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008182/0.8535, allocations: 0.5604 MB / 0.9035 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8535, allocations: 0 / 0.9035 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001535/0.8551, allocations: 486.8 kB / 0.9039 GB, free: 1.453 MB / 0.6387 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.001112/0.8562, allocations: 0.5625 MB / 0.9045 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002966/0.8591, allocations: 1.209 MB / 0.9057 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8591, allocations: 0 / 0.9057 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.8611, allocations: 0.8747 MB / 0.9065 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.8624, allocations: 283.9 kB / 0.9068 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/0.8673, allocations: 2.366 MB / 0.9091 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/0.8681, allocations: 1.084 MB / 0.9102 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001444/0.8695, allocations: 0.636 MB / 0.9108 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.87, allocations: 151.3 kB / 0.9109 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of SimCode: time 9.01e-07/0.87, allocations: 0 / 0.9109 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.04041/0.9104, allocations: 20.33 MB / 0.9308 GB, free: 5.938 MB / 0.67 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_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: 7.165052934084088]