Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.001597/0.001597, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001783/0.001783, allocations: 158.2 kB / 22.45 MB, free: 5.375 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.433/1.433, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7498/0.7498, allocations: 80.21 MB / 339.4 MB, free: 10.88 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.4929 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.64e-05, allocations: 2.281 kB / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5194/0.5195, allocations: 210 MB / 0.6979 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.538, allocations: 16.96 MB / 0.7145 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.5397, allocations: 92.91 kB / 0.7146 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/0.5419, allocations: 0.7273 MB / 0.7153 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006598/0.5485, allocations: 2.249 MB / 0.7175 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006846/0.5554, allocations: 2.215 MB / 0.7196 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004718/0.5601, allocations: 2.54 MB / 0.7221 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008091/0.5609, allocations: 255.4 kB / 0.7224 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005688/0.5666, allocations: 1.919 MB / 0.7242 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.568, allocations: 0.6568 MB / 0.7249 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.5683, allocations: 131.2 kB / 0.725 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008365/0.5767, allocations: 3.945 MB / 0.7288 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005323/0.5772, allocations: 353.5 kB / 0.7292 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.5786, allocations: 0.569 MB / 0.7297 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007274/0.5859, allocations: 3.189 MB / 0.7329 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5859, allocations: 1 kB / 0.7329 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5859, allocations: 3.094 kB / 0.7329 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.15e-05/0.586, allocations: 1 kB / 0.7329 GB, free: 2.887 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.005389/0.5913, allocations: 2.33 MB / 0.7351 GB, free: 17.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.5914, allocations: 10.44 kB / 0.7351 GB, free: 17.8 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.5947, allocations: 438 kB / 0.7356 GB, free: 17.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00255/0.5973, allocations: 1.054 MB / 0.7366 GB, free: 17.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005311/0.5978, allocations: 0.5475 MB / 0.7371 GB, free: 16.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003193/0.5981, allocations: 136.2 kB / 0.7373 GB, free: 16.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.6012, allocations: 1.426 MB / 0.7386 GB, free: 16.65 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.6013, allocations: 1.156 kB / 0.7386 GB, free: 16.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.6014, allocations: 52.72 kB / 0.7387 GB, free: 16.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.6014, allocations: 30.75 kB / 0.7387 GB, free: 16.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/0.6047, allocations: 1.276 MB / 0.74 GB, free: 16.64 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.006783/0.6115, allocations: 3.493 MB / 0.7434 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.6143, allocations: 1.246 MB / 0.7446 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/0.6156, allocations: 0.6293 MB / 0.7452 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004679/0.616, allocations: 151.2 kB / 0.7454 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.6161, allocations: 49.59 kB / 0.7454 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=113): time 3.196e-06/0.6161, allocations: 0 / 0.7454 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=113): time 0.009283/0.6253, allocations: 2.823 MB / 0.7482 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.6254, allocations: 63.84 kB / 0.7482 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.6265, allocations: 0.8806 MB / 0.7491 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.6267, allocations: 43.39 kB / 0.7491 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003463/0.627, allocations: 0.6593 MB / 0.7498 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.6273, allocations: 417 kB / 0.7502 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003301/0.6277, allocations: 206.1 kB / 0.7504 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6278, allocations: 346.9 kB / 0.7507 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009942/0.6288, allocations: 462.5 kB / 0.7511 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.6299, allocations: 0.5615 MB / 0.7517 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002101/0.632, allocations: 1.014 MB / 0.7527 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.632, allocations: 0.5625 kB / 0.7527 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004606/0.6366, allocations: 1.761 MB / 0.7544 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.6366, allocations: 8.281 kB / 0.7544 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.6367, allocations: 1 kB / 0.7544 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.6379, allocations: 382.7 kB / 0.7548 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.6391, allocations: 247.5 kB / 0.755 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009689/0.6487, allocations: 6.876 MB / 0.7617 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.6501, allocations: 122.2 kB / 0.7618 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.6502, allocations: 71.34 kB / 0.7619 GB, free: 8.902 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,2,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005969/0.6508, allocations: 265.2 kB / 0.7622 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003476/0.6512, allocations: 139.8 kB / 0.7623 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005729/0.6569, allocations: 2.546 MB / 0.7648 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.6569, allocations: 11.47 kB / 0.7648 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.6569, allocations: 3.969 kB / 0.7648 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/0.6569, allocations: 5.719 kB / 0.7648 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006651/0.6636, allocations: 2.922 MB / 0.7676 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.6636, allocations: 4.031 kB / 0.7677 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.6647, allocations: 235.5 kB / 0.7679 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.6658, allocations: 398.6 kB / 0.7683 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.666, allocations: 46.33 kB / 0.7683 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009284/0.6752, allocations: 6.768 MB / 0.7749 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6752, allocations: 0 / 0.7749 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006443/0.6817, allocations: 2.495 MB / 0.7773 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006298/0.6823, allocations: 237.9 kB / 0.7776 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001982/0.6825, allocations: 22.81 kB / 0.7776 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008628/0.6834, allocations: 74.92 kB / 0.7777 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/0.6836, allocations: 108.8 kB / 0.7778 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.6837, allocations: 66.95 kB / 0.7778 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007258/0.6844, allocations: 0.5998 MB / 0.7784 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6844, allocations: 0 / 0.7784 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001832/0.6863, allocations: 0.6406 MB / 0.779 GB, free: 2.406 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (2,2,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.00124/0.6875, allocations: 0.7156 MB / 0.7797 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003982/0.6915, allocations: 1.778 MB / 0.7815 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6915, allocations: 0 / 0.7815 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.6937, allocations: 1.207 MB / 0.7827 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.6959, allocations: 443.9 kB / 0.7831 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/0.7013, allocations: 2.874 MB / 0.7859 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.7019, allocations: 0.6256 MB / 0.7865 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001787/0.7037, allocations: 0.8474 MB / 0.7873 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005629/0.7042, allocations: 194.3 kB / 0.7875 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of SimCode: time 7.91e-07/0.7042, allocations: 1.969 kB / 0.7875 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of Templates: time 0.04892/0.7531, allocations: 28.36 MB / 0.8152 GB, free: 5.992 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.8916682079434395]