Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.00129/0.00129, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001351/0.001351, allocations: 208.5 kB / 22.24 MB, free: 5.262 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.82 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.7646/0.7646, allocations: 100.9 MB / 413.3 MB, free: 2.945 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") [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.002496/0.002496, allocations: 92.69 kB / 0.5646 GB, free: 35.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1224, allocations: 74.6 MB / 0.6374 GB, free: 6.02 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.539/0.6614, allocations: 187.2 MB / 0.8202 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01945/0.6809, allocations: 15.84 MB / 0.8357 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.6819, allocations: 72.69 kB / 0.8358 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.6836, allocations: 0.5457 MB / 0.8363 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.6883, allocations: 1.791 MB / 0.8381 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004231/0.6925, allocations: 1.679 MB / 0.8397 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.6946, allocations: 1.704 MB / 0.8414 GB, free: 496 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003714/0.695, allocations: 195.2 kB / 0.8415 GB, free: 364 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.6974, allocations: 1.257 MB / 0.8428 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007303/0.6981, allocations: 0.5762 MB / 0.8433 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.6982, allocations: 93.03 kB / 0.8434 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0055/0.7037, allocations: 3.333 MB / 0.8467 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.704, allocations: 245.8 kB / 0.8469 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005102/0.7045, allocations: 0.5025 MB / 0.8474 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003979/0.7085, allocations: 2.364 MB / 0.8497 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.7085, allocations: 0 / 0.8497 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7085, allocations: 0 / 0.8497 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.7085, allocations: 0 / 0.8497 GB, free: 11.81 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.003153/0.7116, allocations: 1.827 MB / 0.8515 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.7117, allocations: 8.469 kB / 0.8515 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001904/0.7136, allocations: 301.7 kB / 0.8518 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.7153, allocations: 0.8382 MB / 0.8526 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003067/0.7156, allocations: 298.4 kB / 0.8529 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.7158, allocations: 101.3 kB / 0.853 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.7175, allocations: 0.9856 MB / 0.854 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.7175, allocations: 0 / 0.854 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.7176, allocations: 35.56 kB / 0.854 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.7176, allocations: 22.69 kB / 0.854 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.7193, allocations: 0.8253 MB / 0.8548 GB, free: 8.352 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.004174/0.7234, allocations: 2.511 MB / 0.8573 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.7253, allocations: 0.81 MB / 0.8581 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/0.7259, allocations: 381.9 kB / 0.8584 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003106/0.7263, allocations: 103.7 kB / 0.8585 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.7263, allocations: 44.44 kB / 0.8586 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 4.118e-06/0.7263, allocations: 3.984 kB / 0.8586 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005116/0.7314, allocations: 1.73 MB / 0.8603 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.7315, allocations: 60.22 kB / 0.8603 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/0.7323, allocations: 0.736 MB / 0.861 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.7324, allocations: 37.7 kB / 0.8611 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/0.7328, allocations: 0.5281 MB / 0.8616 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002338/0.733, allocations: 285.5 kB / 0.8619 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.7332, allocations: 154.6 kB / 0.862 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7334, allocations: 334 kB / 0.8623 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.734, allocations: 296.1 kB / 0.8626 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007126/0.7348, allocations: 371 kB / 0.863 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.7361, allocations: 0.6627 MB / 0.8636 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7361, allocations: 4 kB / 0.8636 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002731/0.7389, allocations: 1.139 MB / 0.8647 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.7389, allocations: 7.984 kB / 0.8647 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7389, allocations: 0 / 0.8647 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000784/0.7397, allocations: 234.4 kB / 0.865 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.7404, allocations: 175.7 kB / 0.8651 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/0.7463, allocations: 4.78 MB / 0.8698 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007229/0.747, allocations: 84.94 kB / 0.8699 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.7471, allocations: 51.97 kB / 0.8699 GB, free: 10.93 MB / 0.6231 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 {(2,2,100.0%), (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.0004732/0.7476, allocations: 221.7 kB / 0.8701 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.7478, allocations: 119.2 kB / 0.8702 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/0.7516, allocations: 1.75 MB / 0.872 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.7516, allocations: 11.94 kB / 0.872 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.7516, allocations: 0 / 0.872 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.7516, allocations: 3.984 kB / 0.872 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004377/0.756, allocations: 2.03 MB / 0.8739 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.756, allocations: 5.031 kB / 0.874 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007235/0.7567, allocations: 163.8 kB / 0.8741 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007081/0.7574, allocations: 242.6 kB / 0.8743 GB, free: 6.305 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/0.7575, allocations: 35.98 kB / 0.8744 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005763/0.7633, allocations: 4.783 MB / 0.879 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.7633, allocations: 0 / 0.879 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/0.7669, allocations: 1.665 MB / 0.8807 GB, free: 15.47 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004081/0.7673, allocations: 183 kB / 0.8808 GB, free: 15.29 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.7674, allocations: 23.94 kB / 0.8809 GB, free: 15.27 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/0.768, allocations: 39.97 kB / 0.8809 GB, free: 15.23 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.7681, allocations: 72.86 kB / 0.881 GB, free: 15.16 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.7682, allocations: 43.98 kB / 0.881 GB, free: 15.11 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0006574/0.7689, allocations: 0.5155 MB / 0.8815 GB, free: 14.59 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7689, allocations: 4 kB / 0.8815 GB, free: 14.58 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.001414/0.7703, allocations: 490.7 kB / 0.882 GB, free: 14.1 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.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 (78): * Single equations (assignments): 75 * 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%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009729/0.7712, allocations: 0.5584 MB / 0.8825 GB, free: 13.54 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.002258/0.7735, allocations: 1.133 MB / 0.8836 GB, free: 12.36 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7735, allocations: 0 / 0.8836 GB, free: 12.36 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.7749, allocations: 0.8221 MB / 0.8845 GB, free: 11.5 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.776, allocations: 256 kB / 0.8847 GB, free: 11.26 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.7802, allocations: 2.381 MB / 0.887 GB, free: 8.828 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.7807, allocations: 498.9 kB / 0.8875 GB, free: 8.309 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.001212/0.7819, allocations: 0.6292 MB / 0.8881 GB, free: 7.676 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.7823, allocations: 143.3 kB / 0.8882 GB, free: 7.539 MB / 0.6388 GB Notification: Performance of SimCode: time 4.11e-07/0.7823, allocations: 4 kB / 0.8883 GB, free: 7.535 MB / 0.6388 GB Notification: Performance of Templates: time 0.03502/0.8173, allocations: 21.19 MB / 0.9089 GB, free: 2.559 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.722301885485649]