Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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.001552/0.001552, allocations: 76.23 kB / 19.18 MB, free: 2.52 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.001674/0.001674, allocations: 165 kB / 22.45 MB, free: 5.371 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.397/1.397, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 179] 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.7366/0.7366, allocations: 80.19 MB / 339.4 MB, free: 10.86 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_parallel,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|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,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|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.4929 GB, free: 25.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.842e-05, allocations: 9.656 kB / 0.4929 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5628/0.5628, allocations: 277.5 MB / 0.7638 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02879/0.5916, allocations: 29.81 MB / 0.7929 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003442/0.5951, allocations: 152 kB / 0.7931 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003949/0.599, allocations: 1.278 MB / 0.7943 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009613/0.6086, allocations: 3.702 MB / 0.7979 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008247/0.6169, allocations: 3.519 MB / 0.8014 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005072/0.622, allocations: 4.367 MB / 0.8056 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.6232, allocations: 0.5026 MB / 0.8061 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006319/0.6295, allocations: 3.24 MB / 0.8093 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.6318, allocations: 1.205 MB / 0.8105 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003395/0.6321, allocations: 230.1 kB / 0.8107 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01191/0.644, allocations: 6.487 MB / 0.817 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007222/0.6447, allocations: 0.5994 MB / 0.8176 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.6463, allocations: 0.9846 MB / 0.8186 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.009651/0.656, allocations: 5.281 MB / 0.8237 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.656, allocations: 4 kB / 0.8237 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.656, allocations: 2.594 kB / 0.8237 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.773e-05/0.656, allocations: 0 / 0.8237 GB, free: 6.852 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.007562/0.6636, allocations: 3.738 MB / 0.8274 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.6636, allocations: 17.41 kB / 0.8274 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004494/0.6681, allocations: 0.6537 MB / 0.8281 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003446/0.6716, allocations: 1.731 MB / 0.8297 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000592/0.6722, allocations: 0.6009 MB / 0.8303 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000379/0.6725, allocations: 220 kB / 0.8305 GB, free: 136 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004769/0.6773, allocations: 2.316 MB / 0.8328 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/0.6773, allocations: 2.625 kB / 0.8328 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/0.6776, allocations: 93.12 kB / 0.8329 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.6777, allocations: 76.05 kB / 0.833 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004503/0.6822, allocations: 1.972 MB / 0.8349 GB, free: 11.57 MB / 0.6231 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.01052/0.6927, allocations: 5.857 MB / 0.8406 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004469/0.6971, allocations: 1.853 MB / 0.8424 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.6992, allocations: 0.9563 MB / 0.8434 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006919/0.6999, allocations: 215.7 kB / 0.8436 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.7, allocations: 52.56 kB / 0.8436 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=174): time 3.496e-06/0.7, allocations: 0 / 0.8436 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of matching and sorting (n=176): time 0.01718/0.7172, allocations: 6.084 MB / 0.8496 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.7172, allocations: 69.41 kB / 0.8496 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.7192, allocations: 1.488 MB / 0.8511 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.7193, allocations: 57.7 kB / 0.8511 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000893/0.7202, allocations: 1.129 MB / 0.8522 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005384/0.7207, allocations: 0.6251 MB / 0.8528 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005799/0.7213, allocations: 323.5 kB / 0.8531 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7214, allocations: 305.1 kB / 0.8534 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.723, allocations: 0.6676 MB / 0.8541 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.7248, allocations: 0.8438 MB / 0.8549 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003444/0.7282, allocations: 1.559 MB / 0.8564 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.7282, allocations: 4 kB / 0.8564 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006657/0.7349, allocations: 2.585 MB / 0.859 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.7349, allocations: 8.109 kB / 0.859 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.7349, allocations: 12.19 kB / 0.859 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/0.7368, allocations: 0.528 MB / 0.8595 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/0.7383, allocations: 373.6 kB / 0.8599 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/0.7518, allocations: 9.381 MB / 0.869 GB, free: 8.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.7532, allocations: 91.98 kB / 0.8691 GB, free: 7.977 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/0.7534, allocations: 124 kB / 0.8692 GB, free: 7.855 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (173): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,2,100.0%), (2,17,100.0%), (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.0008571/0.7543, allocations: 379.7 kB / 0.8696 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005162/0.7548, allocations: 238.5 kB / 0.8698 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008658/0.7635, allocations: 3.885 MB / 0.8736 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.7635, allocations: 16 kB / 0.8736 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.7635, allocations: 8 kB / 0.8736 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.7635, allocations: 7.969 kB / 0.8736 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009999/0.7735, allocations: 4.434 MB / 0.878 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.7735, allocations: 0 / 0.878 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.7751, allocations: 359 kB / 0.8783 GB, free: 14.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/0.7769, allocations: 0.5492 MB / 0.8788 GB, free: 14.03 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/0.777, allocations: 71.95 kB / 0.8789 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/0.79, allocations: 9.309 MB / 0.888 GB, free: 4.191 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.79, allocations: 3.938 kB / 0.888 GB, free: 4.188 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008553/0.7986, allocations: 3.635 MB / 0.8916 GB, free: 0.5195 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008618/0.7995, allocations: 362.2 kB / 0.8919 GB, free: 168 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.7998, allocations: 40 kB / 0.8919 GB, free: 128 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.8009, allocations: 83.92 kB / 0.892 GB, free: 44 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003615/0.8013, allocations: 173.4 kB / 0.8922 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/0.8015, allocations: 111.9 kB / 0.8923 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001378/0.8029, allocations: 0.991 MB / 0.8933 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8029, allocations: 0 / 0.8933 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002784/0.8057, allocations: 0.9323 MB / 0.8942 GB, free: 13.82 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.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 (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001937/0.8076, allocations: 1.092 MB / 0.8952 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005656/0.8133, allocations: 2.513 MB / 0.8977 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.8133, allocations: 0 / 0.8977 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003312/0.8166, allocations: 1.72 MB / 0.8994 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/0.8202, allocations: 0.7631 MB / 0.9001 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008642/0.8288, allocations: 4.652 MB / 0.9047 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001127/0.83, allocations: 1.06 MB / 0.9057 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002965/0.8329, allocations: 1.442 MB / 0.9071 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009587/0.8339, allocations: 320.3 kB / 0.9074 GB, free: 280 kB / 0.6856 GB Notification: Performance of SimCode: time 7.41e-07/0.8339, allocations: 0 / 0.9074 GB, free: 280 kB / 0.6856 GB Notification: Performance of Templates: time 0.08283/0.9167, allocations: 47.65 MB / 0.9539 GB, free: 1.387 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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.901555709540844]