Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.0008018/0.0008018, 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.0008191/0.0008191, 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.8464/0.8464, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6206/0.6206, allocations: 116 MB / 376 MB, free: 4.16 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5545 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.071e-05, allocations: 2.281 kB / 0.5545 GB, free: 12.85 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.4072/0.4072, allocations: 191.3 MB / 0.7413 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01051/0.4177, allocations: 12.52 MB / 0.7535 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006716/0.4184, allocations: 79.16 kB / 0.7536 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.4195, allocations: 0.5764 MB / 0.7542 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003038/0.4225, allocations: 1.914 MB / 0.756 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.4254, allocations: 1.719 MB / 0.7577 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.4266, allocations: 1.986 MB / 0.7596 GB, free: 9.859 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.4269, allocations: 186.9 kB / 0.7598 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.4289, allocations: 1.616 MB / 0.7614 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004449/0.4293, allocations: 0.5074 MB / 0.7619 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.914e-05/0.4294, allocations: 93.56 kB / 0.762 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003305/0.4327, allocations: 3.319 MB / 0.7652 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.4329, allocations: 258.8 kB / 0.7655 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.4331, allocations: 446.8 kB / 0.7659 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.4353, allocations: 2.541 MB / 0.7684 GB, free: 2.555 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4353, allocations: 4 kB / 0.7684 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4353, allocations: 0 / 0.7684 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.4353, allocations: 0 / 0.7684 GB, free: 2.551 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002209/0.4376, allocations: 1.857 MB / 0.7702 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4376, allocations: 19.97 kB / 0.7702 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009799/0.4386, allocations: 310.8 kB / 0.7705 GB, free: 336 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.4397, allocations: 0.8869 MB / 0.7714 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.4398, allocations: 299.6 kB / 0.7717 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.807e-05/0.4399, allocations: 95.98 kB / 0.7718 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.441, allocations: 1.01 MB / 0.7727 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.441, allocations: 7.938 kB / 0.7728 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.612e-05/0.4411, allocations: 40 kB / 0.7728 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.4411, allocations: 24 kB / 0.7728 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.4421, allocations: 0.8353 MB / 0.7736 GB, free: 13 MB / 0.6198 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.002877/0.445, allocations: 2.725 MB / 0.7763 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.4462, allocations: 0.8192 MB / 0.7771 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.4466, allocations: 380.7 kB / 0.7775 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.4468, allocations: 100.6 kB / 0.7776 GB, free: 8.914 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.4468, allocations: 47.16 kB / 0.7776 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=80): time 1.743e-06/0.4468, allocations: 0 / 0.7776 GB, free: 8.859 MB / 0.6198 GB Notification: Performance of matching and sorting (n=80): time 0.002831/0.4496, allocations: 1.75 MB / 0.7793 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.4497, allocations: 60.06 kB / 0.7794 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.4502, allocations: 0.7834 MB / 0.7801 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.4503, allocations: 41.7 kB / 0.7802 GB, free: 6.172 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.4505, allocations: 0.5555 MB / 0.7807 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.4507, allocations: 285.5 kB / 0.781 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.4508, allocations: 150.6 kB / 0.7811 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.232e-05/0.4509, allocations: 337.9 kB / 0.7814 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.4513, allocations: 298.7 kB / 0.7817 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.4517, allocations: 384.8 kB / 0.7821 GB, free: 4.148 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000831/0.4525, allocations: 0.6878 MB / 0.7828 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4525, allocations: 0 / 0.7828 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001756/0.4543, allocations: 1.167 MB / 0.7839 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.4543, allocations: 4 kB / 0.7839 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.4543, allocations: 7.984 kB / 0.7839 GB, free: 2.246 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/0.4548, allocations: 234 kB / 0.7841 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/0.4551, allocations: 175.7 kB / 0.7843 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/0.4584, allocations: 4.833 MB / 0.789 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.4587, allocations: 79.53 kB / 0.7891 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.4588, allocations: 59.91 kB / 0.7892 GB, free: 12.57 MB / 0.6355 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 (84): * Single equations (assignments): 81 * 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 {(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.0002487/0.459, allocations: 225.8 kB / 0.7894 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.4591, allocations: 123.2 kB / 0.7895 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.4615, allocations: 1.72 MB / 0.7912 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4615, allocations: 8 kB / 0.7912 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4615, allocations: 8.312 kB / 0.7912 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4615, allocations: 7.922 kB / 0.7912 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.4639, allocations: 2.026 MB / 0.7932 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.4639, allocations: 3.984 kB / 0.7932 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.4643, allocations: 168 kB / 0.7933 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000387/0.4647, allocations: 234.3 kB / 0.7936 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.82e-05/0.4647, allocations: 35.92 kB / 0.7936 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/0.468, allocations: 4.783 MB / 0.7983 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.468, allocations: 4.031 kB / 0.7983 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.47, allocations: 1.665 MB / 0.7999 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.4702, allocations: 187 kB / 0.8001 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/0.4703, allocations: 24.06 kB / 0.8001 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.4705, allocations: 43.97 kB / 0.8001 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.4706, allocations: 72.52 kB / 0.8002 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.4707, allocations: 43.98 kB / 0.8003 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004449/0.4711, allocations: 0.5408 MB / 0.8008 GB, free: 216 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4711, allocations: 4 kB / 0.8008 GB, free: 212 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009384/0.4721, allocations: 0.5067 MB / 0.8013 GB, free: 15.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.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 (76): * Single equations (assignments): 73 * 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%), (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.0007665/0.4728, allocations: 0.586 MB / 0.8019 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.4743, allocations: 1.177 MB / 0.803 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4743, allocations: 4 kB / 0.803 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.4753, allocations: 0.8123 MB / 0.8038 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.4762, allocations: 367.6 kB / 0.8042 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.4787, allocations: 2.294 MB / 0.8064 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.4791, allocations: 0.5003 MB / 0.8069 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003473/0.4794, allocations: 180.4 kB / 0.8071 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of SimCode: time 6.62e-07/0.4794, allocations: 0 / 0.8071 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of Templates: time 0.02554/0.5049, allocations: 34.22 MB / 0.8405 GB, free: 7.43 MB / 0.6823 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.51808537170291]