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.001681/0.001681, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002008/0.002008, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.756/0.756, allocations: 94.62 MB / 407 MB, free: 8.918 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002589/0.002589, allocations: 94.94 kB / 0.5554 GB, free: 38.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1221, allocations: 73.05 MB / 0.6268 GB, free: 15.69 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.5524/0.6745, allocations: 205.8 MB / 0.8278 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02755/0.7021, allocations: 20.3 MB / 0.8476 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.7039, allocations: 89.84 kB / 0.8477 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.7062, allocations: 0.7062 MB / 0.8484 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005824/0.712, allocations: 2.086 MB / 0.8504 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005893/0.7179, allocations: 2.185 MB / 0.8525 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003045/0.7209, allocations: 2.253 MB / 0.8547 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006277/0.7215, allocations: 250.2 kB / 0.855 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.7246, allocations: 1.474 MB / 0.8564 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.726, allocations: 0.768 MB / 0.8572 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003688/0.7264, allocations: 134 kB / 0.8573 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008037/0.7344, allocations: 3.939 MB / 0.8611 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006029/0.735, allocations: 343.7 kB / 0.8615 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.7363, allocations: 0.676 MB / 0.8621 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006925/0.7433, allocations: 3.028 MB / 0.8651 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.7433, allocations: 0 / 0.8651 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7433, allocations: 4 kB / 0.8651 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.153e-05/0.7433, allocations: 0 / 0.8651 GB, free: 4.77 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.005037/0.7484, allocations: 2.325 MB / 0.8674 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.7484, allocations: 8.031 kB / 0.8674 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/0.7515, allocations: 430.5 kB / 0.8678 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.7539, allocations: 1.024 MB / 0.8688 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005064/0.7544, allocations: 0.5022 MB / 0.8693 GB, free: 316 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002702/0.7547, allocations: 131.9 kB / 0.8694 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/0.7579, allocations: 1.454 MB / 0.8708 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.7579, allocations: 3.938 kB / 0.8708 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.758, allocations: 52 kB / 0.8709 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.7581, allocations: 28 kB / 0.8709 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.7609, allocations: 1.181 MB / 0.872 GB, free: 13.41 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.007072/0.7679, allocations: 3.481 MB / 0.8754 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/0.7711, allocations: 1.248 MB / 0.8767 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001711/0.7728, allocations: 0.6699 MB / 0.8773 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005585/0.7734, allocations: 144.9 kB / 0.8775 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.7734, allocations: 47.56 kB / 0.8775 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 3.947e-06/0.7734, allocations: 0 / 0.8775 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.009242/0.7827, allocations: 2.735 MB / 0.8802 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.7827, allocations: 64.41 kB / 0.8802 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.7839, allocations: 0.847 MB / 0.8811 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.7841, allocations: 45.7 kB / 0.8811 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/0.7846, allocations: 0.6502 MB / 0.8817 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004769/0.7851, allocations: 416.4 kB / 0.8821 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.7854, allocations: 206.9 kB / 0.8823 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.7856, allocations: 341.9 kB / 0.8827 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.7869, allocations: 0.4905 MB / 0.8831 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.7882, allocations: 0.5918 MB / 0.8837 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002531/0.7907, allocations: 1.047 MB / 0.8847 GB, free: 228 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.7907, allocations: 0 / 0.8847 GB, free: 228 kB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005533/0.7963, allocations: 1.921 MB / 0.8866 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.7963, allocations: 4 kB / 0.8866 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.7963, allocations: 4 kB / 0.8866 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.7977, allocations: 415 kB / 0.887 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/0.7992, allocations: 299.7 kB / 0.8873 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.8093, allocations: 6.871 MB / 0.894 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.8104, allocations: 123.3 kB / 0.8941 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.8106, allocations: 72.06 kB / 0.8942 GB, free: 6.098 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (112): * Single equations (assignments): 108 * 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 {(3,1,88.9%), (3,1,88.9%), (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.0006017/0.8112, allocations: 267.3 kB / 0.8945 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.8115, allocations: 139.1 kB / 0.8946 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006856/0.8184, allocations: 2.71 MB / 0.8972 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.8184, allocations: 12 kB / 0.8972 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.8184, allocations: 4 kB / 0.8972 GB, free: 2.941 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.8184, allocations: 7.969 kB / 0.8973 GB, free: 2.934 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007975/0.8264, allocations: 3.176 MB / 0.9004 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.8264, allocations: 4.906 kB / 0.9004 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/0.8281, allocations: 291.6 kB / 0.9006 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/0.8294, allocations: 420.5 kB / 0.901 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.8295, allocations: 47.97 kB / 0.9011 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009913/0.8395, allocations: 6.882 MB / 0.9078 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8395, allocations: 0 / 0.9078 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00682/0.8463, allocations: 2.606 MB / 0.9104 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006748/0.8469, allocations: 230.7 kB / 0.9106 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.8471, allocations: 31.98 kB / 0.9106 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008437/0.848, allocations: 75.88 kB / 0.9107 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.8482, allocations: 108.8 kB / 0.9108 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.8483, allocations: 64.06 kB / 0.9108 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000847/0.8492, allocations: 0.5862 MB / 0.9114 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8492, allocations: 0 / 0.9114 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00171/0.8509, allocations: 0.6195 MB / 0.912 GB, free: 3.281 MB / 0.6544 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%), (3,1,88.9%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.8521, allocations: 0.6747 MB / 0.9127 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004457/0.8565, allocations: 1.838 MB / 0.9145 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8565, allocations: 0 / 0.9145 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003052/0.8596, allocations: 1.332 MB / 0.9158 GB, free: 15.32 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.861, allocations: 281.3 kB / 0.916 GB, free: 15.05 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.867, allocations: 3.098 MB / 0.9191 GB, free: 11.91 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/0.8677, allocations: 0.6208 MB / 0.9197 GB, free: 11.25 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001841/0.8695, allocations: 0.8281 MB / 0.9205 GB, free: 10.43 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005467/0.8701, allocations: 191.3 kB / 0.9207 GB, free: 10.25 MB / 0.67 GB Notification: Performance of SimCode: time 7.52e-07/0.8701, allocations: 4 kB / 0.9207 GB, free: 10.25 MB / 0.67 GB Notification: Performance of Templates: time 0.04671/0.9168, allocations: 27.18 MB / 0.9472 GB, free: 15.32 MB / 0.7012 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: 7.279039211571217]