Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.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.001213/0.001213, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00132/0.00132, allocations: 216.7 kB / 23.01 MB, free: 4.609 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.343/1.343, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 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.7285/0.7285, allocations: 100.3 MB / 413.5 MB, free: 3.723 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe") [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.002375/0.002375, allocations: 83.3 kB / 0.5645 GB, free: 35.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1103, allocations: 74.46 MB / 0.6372 GB, free: 7.223 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01961/0.1299, allocations: 17.72 MB / 0.6545 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008015/0.1379, allocations: 6.864 MB / 0.6612 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004946/0.1384, allocations: 39.62 kB / 0.6612 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000758/0.1392, allocations: 290 kB / 0.6615 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.1407, allocations: 0.5512 MB / 0.662 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.1416, allocations: 370.6 kB / 0.6624 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.1427, allocations: 0.8088 MB / 0.6632 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.1429, allocations: 102 kB / 0.6633 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.1436, allocations: 378.3 kB / 0.6636 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004558/0.1441, allocations: 298.5 kB / 0.6639 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.911e-05/0.1442, allocations: 36 kB / 0.664 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008883/0.145, allocations: 371.6 kB / 0.6643 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.1452, allocations: 111.5 kB / 0.6644 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.1455, allocations: 306.2 kB / 0.6647 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.1468, allocations: 0.8287 MB / 0.6655 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1468, allocations: 0 / 0.6655 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1468, allocations: 0 / 0.6655 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.1468, allocations: 0 / 0.6655 GB, free: 10.07 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001532/0.1483, allocations: 0.9245 MB / 0.6664 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1484, allocations: 12.03 kB / 0.6664 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.1486, allocations: 76.47 kB / 0.6665 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000833/0.1494, allocations: 466.1 kB / 0.667 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.1494, allocations: 32.94 kB / 0.667 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.1495, allocations: 40 kB / 0.667 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.1502, allocations: 459.8 kB / 0.6675 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1502, allocations: 8 kB / 0.6675 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.1502, allocations: 16 kB / 0.6675 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.1503, allocations: 12 kB / 0.6675 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.1509, allocations: 423.7 kB / 0.6679 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.1535, allocations: 2.03 MB / 0.6699 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006796/0.1541, allocations: 387.3 kB / 0.6703 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.1544, allocations: 165.7 kB / 0.6704 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/0.1556, allocations: 0.785 MB / 0.6712 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1557, allocations: 42.83 kB / 0.6712 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.333e-06/0.1557, allocations: 4 kB / 0.6712 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.00592/0.1616, allocations: 1.302 MB / 0.6725 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.1617, allocations: 96.95 kB / 0.6726 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.1622, allocations: 475 kB / 0.673 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.1622, allocations: 33.7 kB / 0.6731 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.1625, allocations: 288.7 kB / 0.6734 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.1626, allocations: 150.7 kB / 0.6735 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.1627, allocations: 74.14 kB / 0.6736 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1629, allocations: 366.8 kB / 0.6739 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.1631, allocations: 128.8 kB / 0.674 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.1634, allocations: 185.8 kB / 0.6742 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005293/0.1639, allocations: 343.8 kB / 0.6745 GB, free: 448 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1639, allocations: 0 / 0.6745 GB, free: 448 kB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002785/0.1667, allocations: 0.7952 MB / 0.6753 GB, free: 15.63 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1667, allocations: 10.19 kB / 0.6753 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1667, allocations: 4.031 kB / 0.6753 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002724/0.1694, allocations: 497.2 kB / 0.6758 GB, free: 15.12 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.1697, allocations: 67.91 kB / 0.6759 GB, free: 15.06 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001927/0.1716, allocations: 2.107 MB / 0.6779 GB, free: 12.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.1718, allocations: 31.78 kB / 0.678 GB, free: 12.79 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.1719, allocations: 19.94 kB / 0.678 GB, free: 12.77 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.1721, allocations: 166.9 kB / 0.6781 GB, free: 12.59 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1722, allocations: 63.58 kB / 0.6782 GB, free: 12.53 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.1751, allocations: 0.8649 MB / 0.679 GB, free: 11.64 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1751, allocations: 7.938 kB / 0.6791 GB, free: 11.64 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1751, allocations: 144 / 0.6791 GB, free: 11.64 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.1751, allocations: 7.984 kB / 0.6791 GB, free: 11.63 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.1786, allocations: 1.351 MB / 0.6804 GB, free: 10.21 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1786, allocations: 0 / 0.6804 GB, free: 10.21 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.1788, allocations: 47.92 kB / 0.6804 GB, free: 10.17 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/0.1813, allocations: 0.4895 MB / 0.6809 GB, free: 9.672 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.1814, allocations: 12 kB / 0.6809 GB, free: 9.66 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.1832, allocations: 2.097 MB / 0.683 GB, free: 7.418 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1832, allocations: 0 / 0.683 GB, free: 7.418 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.1862, allocations: 1.111 MB / 0.684 GB, free: 6.277 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.1864, allocations: 99.42 kB / 0.6841 GB, free: 6.18 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.1864, allocations: 8 kB / 0.6842 GB, free: 6.172 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.1867, allocations: 12 kB / 0.6842 GB, free: 6.16 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.1868, allocations: 36 kB / 0.6842 GB, free: 6.125 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.1868, allocations: 12 kB / 0.6842 GB, free: 6.113 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0003989/0.1872, allocations: 346.8 kB / 0.6845 GB, free: 5.777 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/0.1872, allocations: 0 / 0.6845 GB, free: 5.777 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0006105/0.1878, allocations: 191.6 kB / 0.6847 GB, free: 5.59 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance.inlet.m_flow,heatCapacitor.T) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004069/0.1882, allocations: 295 kB / 0.685 GB, free: 5.293 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0008691/0.1891, allocations: 465.7 kB / 0.6854 GB, free: 4.824 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1891, allocations: 0 / 0.6854 GB, free: 4.824 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0004928/0.1896, allocations: 294.8 kB / 0.6857 GB, free: 4.523 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008333/0.1904, allocations: 170.3 kB / 0.6859 GB, free: 4.367 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.1923, allocations: 1.153 MB / 0.687 GB, free: 3.172 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.1928, allocations: 0.8705 MB / 0.6879 GB, free: 2.273 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1929, allocations: 51.42 kB / 0.6879 GB, free: 2.227 MB / 0.5138 GB Notification: Performance of SimCode: time 4.01e-07/0.1929, allocations: 4 kB / 0.6879 GB, free: 2.223 MB / 0.5138 GB Notification: Performance of Templates: time 0.01689/0.2098, allocations: 13.65 MB / 0.7012 GB, free: 4.594 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe.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.583161239977926]