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.001526/0.001526, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001717/0.001717, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.7503/0.7503, allocations: 94.63 MB / 407.8 MB, free: 8.895 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.002544/0.002544, allocations: 89.06 kB / 0.5562 GB, free: 38.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.115, allocations: 73.05 MB / 0.6275 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU): time 0.4923/0.6073, allocations: 187.2 MB / 0.8103 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.6221, allocations: 15.84 MB / 0.8258 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007487/0.6228, allocations: 75.09 kB / 0.8259 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.6241, allocations: 0.5421 MB / 0.8264 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.6277, allocations: 1.795 MB / 0.8282 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00359/0.6313, allocations: 1.672 MB / 0.8298 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.6329, allocations: 1.733 MB / 0.8315 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.6333, allocations: 181.8 kB / 0.8317 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.6356, allocations: 1.256 MB / 0.8329 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007061/0.6363, allocations: 0.5842 MB / 0.8334 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.6364, allocations: 95.16 kB / 0.8335 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00526/0.6417, allocations: 3.325 MB / 0.8368 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.6419, allocations: 253.3 kB / 0.837 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004724/0.6424, allocations: 0.4985 MB / 0.8375 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.6454, allocations: 2.38 MB / 0.8398 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6454, allocations: 0 / 0.8398 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6454, allocations: 0 / 0.8398 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.373e-05/0.6454, allocations: 0 / 0.8398 GB, free: 8.773 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.003088/0.6485, allocations: 1.826 MB / 0.8416 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.6486, allocations: 8.031 kB / 0.8416 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/0.6504, allocations: 301.5 kB / 0.8419 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.6521, allocations: 0.8403 MB / 0.8427 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.6523, allocations: 275.6 kB / 0.843 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.6525, allocations: 100 kB / 0.8431 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.6542, allocations: 1.004 MB / 0.8441 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.6542, allocations: 0 / 0.8441 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/0.6543, allocations: 41.44 kB / 0.8441 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.6543, allocations: 19.66 kB / 0.8441 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.6559, allocations: 0.7801 MB / 0.8449 GB, free: 5.379 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.004261/0.6601, allocations: 2.628 MB / 0.8475 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.6619, allocations: 0.8039 MB / 0.8482 GB, free: 3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007371/0.6626, allocations: 398.1 kB / 0.8486 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/0.663, allocations: 105.8 kB / 0.8487 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.663, allocations: 41.81 kB / 0.8488 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.184e-06/0.663, allocations: 0 / 0.8488 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.004877/0.6679, allocations: 1.691 MB / 0.8504 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.668, allocations: 63.84 kB / 0.8505 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008438/0.6688, allocations: 0.7287 MB / 0.8512 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.647e-05/0.6689, allocations: 44.36 kB / 0.8512 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.6693, allocations: 0.5329 MB / 0.8518 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.6695, allocations: 288.6 kB / 0.852 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.6698, allocations: 157.1 kB / 0.8522 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.6699, allocations: 332.4 kB / 0.8525 GB, free: 248 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/0.6706, allocations: 312.5 kB / 0.8528 GB, free: 100 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/0.6714, allocations: 387.9 kB / 0.8532 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.6728, allocations: 0.681 MB / 0.8538 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.6728, allocations: 11.69 kB / 0.8538 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003176/0.676, allocations: 1.233 MB / 0.855 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.676, allocations: 8 kB / 0.8551 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.676, allocations: 0 / 0.8551 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008256/0.6769, allocations: 245 kB / 0.8553 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009418/0.6778, allocations: 203.5 kB / 0.8555 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00638/0.6842, allocations: 4.828 MB / 0.8602 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.6848, allocations: 81.64 kB / 0.8603 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.6849, allocations: 55.98 kB / 0.8603 GB, free: 8.66 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.0004167/0.6854, allocations: 229.4 kB / 0.8605 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.6856, allocations: 107.3 kB / 0.8606 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/0.6899, allocations: 1.822 MB / 0.8624 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.6899, allocations: 8 kB / 0.8624 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.6899, allocations: 7.984 kB / 0.8624 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.6899, allocations: 3.984 kB / 0.8624 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004897/0.6948, allocations: 2.172 MB / 0.8646 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.6948, allocations: 6.516 kB / 0.8646 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.6958, allocations: 195.6 kB / 0.8648 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007982/0.6966, allocations: 251.2 kB / 0.865 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.502e-05/0.6967, allocations: 31.98 kB / 0.865 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006267/0.703, allocations: 4.83 MB / 0.8697 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.703, allocations: 4.062 kB / 0.8697 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004/0.707, allocations: 1.718 MB / 0.8714 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/0.7074, allocations: 183 kB / 0.8716 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.7075, allocations: 27.94 kB / 0.8716 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.7081, allocations: 39.97 kB / 0.8717 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.7082, allocations: 79.34 kB / 0.8717 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-05/0.7083, allocations: 51.97 kB / 0.8718 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006876/0.709, allocations: 0.5038 MB / 0.8723 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.709, allocations: 0 / 0.8723 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001269/0.7103, allocations: 490.7 kB / 0.8728 GB, free: 11.56 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.0009704/0.7112, allocations: 0.5611 MB / 0.8733 GB, free: 11 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.7139, allocations: 1.208 MB / 0.8745 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.7139, allocations: 4 kB / 0.8745 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.7157, allocations: 0.8865 MB / 0.8753 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.7168, allocations: 238.9 kB / 0.8756 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.7211, allocations: 2.42 MB / 0.8779 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.7216, allocations: 498.8 kB / 0.8784 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.7221, allocations: 185.7 kB / 0.8786 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of SimCode: time 5.41e-07/0.7221, allocations: 0 / 0.8786 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of Templates: time 0.04019/0.7623, allocations: 32.69 MB / 0.9105 GB, free: 4.797 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/jenkins1/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: 11.092197366990149]