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.0007773/0.0007773, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007892/0.0007892, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8658/0.8658, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 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.4916/0.4916, allocations: 80.18 MB / 340.1 MB, free: 7.555 MB / 314.7 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.222e-06/1.222e-06, allocations: 0 / 0.4936 GB, free: 6.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.371e-05, allocations: 3.406 kB / 0.4936 GB, free: 6.336 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.4184/0.4184, allocations: 277.5 MB / 0.7646 GB, free: 5.77 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02303/0.4414, allocations: 29.8 MB / 0.7937 GB, free: 9.852 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.4434, allocations: 154.6 kB / 0.7938 GB, free: 9.699 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002369/0.4458, allocations: 1.287 MB / 0.7951 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006182/0.452, allocations: 3.697 MB / 0.7987 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005962/0.4579, allocations: 3.528 MB / 0.8021 GB, free: 1.141 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003619/0.4616, allocations: 4.357 MB / 0.8064 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00058/0.4621, allocations: 0.4986 MB / 0.8069 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003424/0.4656, allocations: 3.258 MB / 0.8101 GB, free: 8.945 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009884/0.4665, allocations: 1.192 MB / 0.8112 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.4668, allocations: 232 kB / 0.8114 GB, free: 7.523 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007672/0.4744, allocations: 6.498 MB / 0.8178 GB, free: 1.023 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.4747, allocations: 0.5911 MB / 0.8184 GB, free: 440 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006677/0.4754, allocations: 0.9896 MB / 0.8193 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005617/0.481, allocations: 5.285 MB / 0.8245 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.481, allocations: 0 / 0.8245 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.242e-06/0.481, allocations: 0 / 0.8245 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.755e-05/0.4811, allocations: 0 / 0.8245 GB, free: 10.14 MB / 0.6355 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.003823/0.4849, allocations: 3.744 MB / 0.8281 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4849, allocations: 9.469 kB / 0.8282 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002072/0.487, allocations: 0.6537 MB / 0.8288 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.4889, allocations: 1.731 MB / 0.8305 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005599/0.4895, allocations: 0.6048 MB / 0.8311 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.4897, allocations: 219.9 kB / 0.8313 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.4922, allocations: 2.32 MB / 0.8335 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.4923, allocations: 0 / 0.8335 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.4924, allocations: 88 kB / 0.8336 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/0.4925, allocations: 76.05 kB / 0.8337 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.4949, allocations: 1.968 MB / 0.8356 GB, free: 14.34 MB / 0.6511 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.005974/0.5009, allocations: 5.855 MB / 0.8413 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.5033, allocations: 1.854 MB / 0.8432 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.5045, allocations: 0.9543 MB / 0.8441 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003731/0.5049, allocations: 217.8 kB / 0.8443 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.5049, allocations: 48.56 kB / 0.8443 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=174): time 3.697e-06/0.5049, allocations: 0 / 0.8443 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of matching and sorting (n=176): time 0.009113/0.514, allocations: 6.089 MB / 0.8503 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.514, allocations: 69.52 kB / 0.8504 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.5154, allocations: 1.492 MB / 0.8518 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.208e-05/0.5155, allocations: 53.7 kB / 0.8519 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005007/0.516, allocations: 1.135 MB / 0.853 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.5163, allocations: 0.6157 MB / 0.8536 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.5167, allocations: 331.4 kB / 0.8539 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.335e-05/0.5167, allocations: 305.1 kB / 0.8542 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008507/0.5176, allocations: 0.6676 MB / 0.8548 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009455/0.5185, allocations: 0.8491 MB / 0.8557 GB, free: 9.516 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.5204, allocations: 1.554 MB / 0.8572 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5204, allocations: 6.938 kB / 0.8572 GB, free: 7.918 MB / 0.6667 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.003618/0.524, allocations: 2.588 MB / 0.8597 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.524, allocations: 8 kB / 0.8597 GB, free: 5.297 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.524, allocations: 4 kB / 0.8597 GB, free: 5.293 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009403/0.525, allocations: 0.5312 MB / 0.8602 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.5257, allocations: 375.5 kB / 0.8606 GB, free: 4.379 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007075/0.5328, allocations: 9.374 MB / 0.8698 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006066/0.5334, allocations: 87.92 kB / 0.8698 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.5335, allocations: 127.9 kB / 0.87 GB, free: 10.29 MB / 0.6823 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.0005381/0.5341, allocations: 385.6 kB / 0.8703 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.5343, allocations: 234.5 kB / 0.8705 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004807/0.5391, allocations: 3.89 MB / 0.8743 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.5392, allocations: 16 kB / 0.8744 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.5392, allocations: 12 kB / 0.8744 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.5392, allocations: 7.969 kB / 0.8744 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005433/0.5446, allocations: 4.429 MB / 0.8787 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.5446, allocations: 4.219 kB / 0.8787 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/0.5453, allocations: 355.5 kB / 0.879 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.5464, allocations: 0.5354 MB / 0.8796 GB, free: 324 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.612e-05/0.5465, allocations: 75.95 kB / 0.8796 GB, free: 248 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006721/0.5533, allocations: 9.314 MB / 0.8887 GB, free: 6.422 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5533, allocations: 3.938 kB / 0.8887 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004458/0.5577, allocations: 3.638 MB / 0.8923 GB, free: 2.723 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/0.5582, allocations: 362.2 kB / 0.8926 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.5583, allocations: 36 kB / 0.8927 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/0.5589, allocations: 88.03 kB / 0.8928 GB, free: 2.246 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.5591, allocations: 173.6 kB / 0.8929 GB, free: 2.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.5592, allocations: 112.1 kB / 0.893 GB, free: 1.969 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001072/0.5603, allocations: 0.9987 MB / 0.894 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.5603, allocations: 0 / 0.894 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001692/0.5619, allocations: 0.9323 MB / 0.8949 GB, free: 16 kB / 0.698 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.001166/0.5631, allocations: 1.086 MB / 0.896 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002824/0.5659, allocations: 2.505 MB / 0.8984 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5659, allocations: 0 / 0.8984 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/0.5675, allocations: 1.73 MB / 0.9001 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001931/0.5695, allocations: 0.7584 MB / 0.9009 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004889/0.5744, allocations: 4.709 MB / 0.9055 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/0.575, allocations: 1.064 MB / 0.9065 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007334/0.5758, allocations: 396.2 kB / 0.9069 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.5758, allocations: 0 / 0.9069 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of Templates: time 0.2233/0.7991, allocations: 92.56 MB / 0.9973 GB, free: 235.5 MB / 0.7136 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: 10.866995551623404]