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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6029/0.6029, allocations: 90.3 MB / 394.8 MB, free: 3.852 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002357/0.002357, allocations: 80.2 kB / 0.5387 GB, free: 1.613 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.473, allocations: 70.83 MB / 0.6078 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.8287/1.302, allocations: 309.7 MB / 0.9103 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04281/1.344, allocations: 38.25 MB / 0.9477 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/1.348, allocations: 47.84 kB / 0.9477 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004559/1.353, allocations: 1.388 MB / 0.9491 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/1.363, allocations: 3.26 MB / 0.9522 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0106/1.374, allocations: 3.464 MB / 0.9556 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006987/1.381, allocations: 3.482 MB / 0.959 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/1.382, allocations: 486 kB / 0.9595 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005736/1.388, allocations: 2.208 MB / 0.9616 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003175/1.391, allocations: 1.445 MB / 0.9631 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001183/1.392, allocations: 230.8 kB / 0.9633 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.016/1.408, allocations: 6.803 MB / 0.9699 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0012/1.41, allocations: 0.5503 MB / 0.9705 GB, free: 476 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003309/1.413, allocations: 1.316 MB / 0.9717 GB, free: 80 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01874/1.432, allocations: 4.719 MB / 0.9764 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.432, allocations: 0 / 0.9764 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.743e-06/1.432, allocations: 0 / 0.9764 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001732/1.432, allocations: 0 / 0.9764 GB, free: 14.86 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01174/1.444, allocations: 3.414 MB / 0.9797 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.444, allocations: 10.88 kB / 0.9797 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004536/1.448, allocations: 0.5785 MB / 0.9803 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/1.451, allocations: 1.257 MB / 0.9815 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004593/1.451, allocations: 414.8 kB / 0.9819 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/1.451, allocations: 210 kB / 0.9821 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004488/1.456, allocations: 2.321 MB / 0.9844 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/1.456, allocations: 2.656 kB / 0.9844 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/1.456, allocations: 86.25 kB / 0.9844 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.804e-05/1.456, allocations: 75.33 kB / 0.9845 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003711/1.46, allocations: 1.883 MB / 0.9863 GB, free: 10.64 MB / 0.7012 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.01314/1.473, allocations: 9.167 MB / 0.9953 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/1.477, allocations: 1.855 MB / 0.9971 GB, free: 2.301 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/1.479, allocations: 0.9921 MB / 0.9981 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002602/1.482, allocations: 2.608 MB / 1.001 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/1.482, allocations: 55.3 kB / 1.001 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 3.276e-06/1.482, allocations: 0 / 1.001 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.01737/1.499, allocations: 6.562 MB / 1.007 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/1.499, allocations: 69.41 kB / 1.007 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/1.501, allocations: 1.197 MB / 1.008 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/1.501, allocations: 57.7 kB / 1.008 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007479/1.502, allocations: 0.8937 MB / 1.009 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007683/1.503, allocations: 0.6215 MB / 1.01 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006155/1.503, allocations: 323.5 kB / 1.01 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.504, allocations: 309.1 kB / 1.01 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/1.505, allocations: 0.6974 MB / 1.011 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/1.507, allocations: 0.8528 MB / 1.012 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/1.51, allocations: 1.581 MB / 1.014 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.51, allocations: 112 / 1.014 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007037/1.517, allocations: 2.686 MB / 1.016 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/1.517, allocations: 4 kB / 1.016 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.517, allocations: 4 kB / 1.016 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/1.519, allocations: 0.5607 MB / 1.017 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/1.521, allocations: 425.5 kB / 1.017 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/1.536, allocations: 10.15 MB / 1.027 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.538, allocations: 87.97 kB / 1.027 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/1.538, allocations: 124 kB / 1.027 GB, free: 3.082 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (168): * Single equations (assignments): 163 * 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 {(3,1,88.9%), (2,17,100.0%), (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.0009275/1.539, allocations: 371.5 kB / 1.028 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/1.539, allocations: 178.8 kB / 1.028 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009377/1.549, allocations: 4.025 MB / 1.032 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/1.549, allocations: 20 kB / 1.032 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.549, allocations: 4 kB / 1.032 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/1.549, allocations: 11.95 kB / 1.032 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/1.561, allocations: 5.166 MB / 1.037 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.561, allocations: 4 kB / 1.037 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001998/1.563, allocations: 407.2 kB / 1.037 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001897/1.564, allocations: 0.5765 MB / 1.038 GB, free: 8.324 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/1.565, allocations: 83.94 kB / 1.038 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/1.578, allocations: 10.13 MB / 1.048 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.579, allocations: 4 kB / 1.048 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009207/1.588, allocations: 3.71 MB / 1.051 GB, free: 9.715 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.589, allocations: 407.6 kB / 1.052 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002693/1.589, allocations: 43.98 kB / 1.052 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/1.59, allocations: 79.94 kB / 1.052 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003989/1.591, allocations: 164.3 kB / 1.052 GB, free: 9.02 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002267/1.591, allocations: 119.9 kB / 1.052 GB, free: 8.902 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001268/1.592, allocations: 0.8261 MB / 1.053 GB, free: 8.078 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7.1e-08/1.592, allocations: 0 / 1.053 GB, free: 8.078 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002942/1.595, allocations: 0.8776 MB / 1.054 GB, free: 7.199 MB / 0.7637 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%), (3,1,88.9%), (3,1,88.9%), (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.002196/1.597, allocations: 1.043 MB / 1.055 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006118/1.603, allocations: 2.602 MB / 1.057 GB, free: 3.605 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/1.603, allocations: 2.625 kB / 1.057 GB, free: 3.605 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004118/1.607, allocations: 1.836 MB / 1.059 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004048/1.612, allocations: 0.5389 MB / 1.06 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/1.623, allocations: 4.52 MB / 1.064 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001775/1.624, allocations: 1.467 MB / 1.065 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003726/1.628, allocations: 1.395 MB / 1.067 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/1.629, allocations: 299.2 kB / 1.067 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of SimCode: time 1.743e-06/1.629, allocations: 0 / 1.067 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of Templates: time 0.08611/1.715, allocations: 43.07 MB / 1.109 GB, free: 14.86 MB / 0.8262 GB " [Timeout remaining time 658] 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: 8.662421660497785]