Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001495/0.001495, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00172/0.00172, allocations: 213.3 kB / 22.25 MB, free: 4.855 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.793 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.7439/0.7439, allocations: 94.62 MB / 407 MB, free: 8.863 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.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_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_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.002665/0.002665, allocations: 88.95 kB / 0.5554 GB, free: 38.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1142, allocations: 73.05 MB / 0.6268 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.5103/0.6245, allocations: 187.2 MB / 0.8096 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01758/0.6421, allocations: 15.84 MB / 0.825 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.6434, allocations: 74.56 kB / 0.8251 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.645, allocations: 0.5536 MB / 0.8257 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00476/0.6498, allocations: 1.787 MB / 0.8274 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004614/0.6544, allocations: 1.679 MB / 0.829 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002302/0.6567, allocations: 1.726 MB / 0.8307 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004222/0.6571, allocations: 182.7 kB / 0.8309 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002503/0.6596, allocations: 1.266 MB / 0.8321 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008138/0.6605, allocations: 0.5778 MB / 0.8327 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.6606, allocations: 95.22 kB / 0.8328 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006274/0.6669, allocations: 3.326 MB / 0.836 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003952/0.6673, allocations: 255.2 kB / 0.8363 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007172/0.668, allocations: 0.5029 MB / 0.8368 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00461/0.6726, allocations: 2.368 MB / 0.8391 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6726, allocations: 4 kB / 0.8391 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.043e-06/0.6726, allocations: 0 / 0.8391 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.506e-05/0.6727, allocations: 0 / 0.8391 GB, free: 8.754 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003539/0.6762, allocations: 1.825 MB / 0.8409 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.6762, allocations: 12.94 kB / 0.8409 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.6783, allocations: 302.8 kB / 0.8412 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.6802, allocations: 0.8443 MB / 0.842 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000282/0.6805, allocations: 276.3 kB / 0.8423 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.6806, allocations: 98.72 kB / 0.8424 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.6826, allocations: 1.002 MB / 0.8433 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.6826, allocations: 3.312 kB / 0.8433 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-05/0.6827, allocations: 39.88 kB / 0.8434 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.6827, allocations: 22.59 kB / 0.8434 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.6843, allocations: 0.7795 MB / 0.8442 GB, free: 5.352 MB / 0.5919 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.00478/0.6891, allocations: 2.617 MB / 0.8467 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.6912, allocations: 0.8034 MB / 0.8475 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007832/0.692, allocations: 401.6 kB / 0.8479 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003527/0.6923, allocations: 110.5 kB / 0.848 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.6924, allocations: 37.84 kB / 0.848 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.605e-06/0.6924, allocations: 0 / 0.848 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005189/0.6976, allocations: 1.694 MB / 0.8497 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.6976, allocations: 64.09 kB / 0.8497 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009584/0.6986, allocations: 0.737 MB / 0.8505 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.802e-05/0.6986, allocations: 36.33 kB / 0.8505 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.6991, allocations: 0.5295 MB / 0.851 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.6993, allocations: 296.5 kB / 0.8513 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/0.6996, allocations: 151.8 kB / 0.8514 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.6998, allocations: 333.1 kB / 0.8518 GB, free: 232 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007294/0.7005, allocations: 309.6 kB / 0.8521 GB, free: 88 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008596/0.7013, allocations: 394.4 kB / 0.8524 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.7029, allocations: 0.6817 MB / 0.8531 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.7029, allocations: 3.938 kB / 0.8531 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003542/0.7065, allocations: 1.234 MB / 0.8543 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.7065, allocations: 5.562 kB / 0.8543 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7065, allocations: 0 / 0.8543 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000975/0.7075, allocations: 249 kB / 0.8545 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.7085, allocations: 207.5 kB / 0.8547 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00664/0.7151, allocations: 4.818 MB / 0.8595 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007924/0.7159, allocations: 80.55 kB / 0.8595 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/0.7161, allocations: 51.98 kB / 0.8596 GB, free: 8.617 MB / 0.6075 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.000464/0.7165, allocations: 229.5 kB / 0.8598 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.7168, allocations: 115.3 kB / 0.8599 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/0.7213, allocations: 1.821 MB / 0.8617 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.7213, allocations: 12 kB / 0.8617 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.7213, allocations: 1.312 kB / 0.8617 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.7213, allocations: 3.984 kB / 0.8617 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005387/0.7267, allocations: 2.178 MB / 0.8638 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.7267, allocations: 0 / 0.8638 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.7277, allocations: 195.7 kB / 0.864 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000827/0.7286, allocations: 250.7 kB / 0.8643 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.316e-05/0.7287, allocations: 31.98 kB / 0.8643 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006562/0.7352, allocations: 4.828 MB / 0.869 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.7352, allocations: 7.969 kB / 0.869 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004348/0.7396, allocations: 1.726 MB / 0.8707 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000478/0.74, allocations: 175.1 kB / 0.8709 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.7402, allocations: 31.94 kB / 0.8709 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/0.7407, allocations: 35.97 kB / 0.8709 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.7409, allocations: 79.44 kB / 0.871 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.645e-05/0.741, allocations: 51.97 kB / 0.8711 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007651/0.7418, allocations: 0.5038 MB / 0.8715 GB, free: 12 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7418, allocations: 0 / 0.8715 GB, free: 12 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001456/0.7432, allocations: 494.7 kB / 0.872 GB, free: 11.51 MB / 0.6231 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%), (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.001054/0.7443, allocations: 0.5694 MB / 0.8726 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002826/0.7471, allocations: 1.197 MB / 0.8737 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.7471, allocations: 4 kB / 0.8737 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.7489, allocations: 0.8866 MB / 0.8746 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.7502, allocations: 251.8 kB / 0.8748 GB, free: 8.574 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.7548, allocations: 2.376 MB / 0.8772 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.7554, allocations: 0.4936 MB / 0.8777 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001368/0.7567, allocations: 0.6205 MB / 0.8783 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004293/0.7571, allocations: 143.3 kB / 0.8784 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of SimCode: time 6.91e-07/0.7571, allocations: 0 / 0.8784 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of Templates: time 0.03874/0.7959, allocations: 21.19 MB / 0.8991 GB, free: 15.92 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.859131285920739]