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.001361/0.001361, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001429/0.001429, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.739/0.739, allocations: 100.9 MB / 413.3 MB, free: 2.859 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.002458/0.002458, allocations: 93.5 kB / 0.5646 GB, free: 35.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1209, allocations: 74.61 MB / 0.6374 GB, free: 5.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02037/0.1413, allocations: 16.14 MB / 0.6532 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007809/0.1491, allocations: 6.214 MB / 0.6593 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.1496, allocations: 35.69 kB / 0.6593 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007635/0.1503, allocations: 258.2 kB / 0.6595 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.1518, allocations: 0.5473 MB / 0.6601 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008749/0.1526, allocations: 354.8 kB / 0.6604 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.1537, allocations: 0.8126 MB / 0.6612 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002497/0.154, allocations: 98.03 kB / 0.6613 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006764/0.1547, allocations: 370.4 kB / 0.6616 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/0.1551, allocations: 270.5 kB / 0.6619 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.176e-05/0.1552, allocations: 44 kB / 0.6619 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000762/0.1559, allocations: 331.6 kB / 0.6623 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1561, allocations: 111.5 kB / 0.6624 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002976/0.1564, allocations: 242.6 kB / 0.6626 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.1576, allocations: 0.8288 MB / 0.6634 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1576, allocations: 3.984 kB / 0.6634 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1576, allocations: 3.938 kB / 0.6634 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.1577, allocations: 0 / 0.6634 GB, free: 11.24 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.001703/0.1594, allocations: 0.9167 MB / 0.6643 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1594, allocations: 9.469 kB / 0.6643 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.1596, allocations: 88.45 kB / 0.6644 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008994/0.1605, allocations: 454.2 kB / 0.6648 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.1606, allocations: 36.94 kB / 0.6649 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.1606, allocations: 40 kB / 0.6649 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007479/0.1614, allocations: 463.8 kB / 0.6654 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.1614, allocations: 0 / 0.6654 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.1614, allocations: 16 kB / 0.6654 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1615, allocations: 8 kB / 0.6654 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.1622, allocations: 423.7 kB / 0.6658 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.1645, allocations: 1.411 MB / 0.6672 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.1652, allocations: 381.3 kB / 0.6675 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.1655, allocations: 165.7 kB / 0.6677 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.1665, allocations: 0.6087 MB / 0.6683 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1665, allocations: 38.89 kB / 0.6683 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.703e-06/0.1665, allocations: 0 / 0.6683 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.005561/0.1721, allocations: 1.306 MB / 0.6696 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.1721, allocations: 85.05 kB / 0.6697 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005333/0.1727, allocations: 454.7 kB / 0.6701 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.1727, allocations: 33.7 kB / 0.6701 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002514/0.173, allocations: 300.6 kB / 0.6704 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.1731, allocations: 150.7 kB / 0.6706 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.1732, allocations: 66.14 kB / 0.6706 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1734, allocations: 374.7 kB / 0.671 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.1736, allocations: 120.8 kB / 0.6711 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002945/0.1739, allocations: 198.3 kB / 0.6713 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.1745, allocations: 333.9 kB / 0.6716 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1745, allocations: 4 kB / 0.6716 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002695/0.1772, allocations: 0.8029 MB / 0.6724 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1772, allocations: 8.875 kB / 0.6724 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1772, allocations: 0 / 0.6724 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/0.1798, allocations: 493.3 kB / 0.6729 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.18, allocations: 63.91 kB / 0.6729 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.182, allocations: 2.075 MB / 0.675 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.1823, allocations: 31.73 kB / 0.675 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.1823, allocations: 19.98 kB / 0.675 GB, free: 14.94 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0002243/0.1825, allocations: 173.8 kB / 0.6752 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1826, allocations: 51.67 kB / 0.6752 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/0.1854, allocations: 0.8573 MB / 0.6761 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1854, allocations: 4 kB / 0.6761 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1854, allocations: 4 kB / 0.6761 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1854, allocations: 3.984 kB / 0.6761 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003241/0.1887, allocations: 1.219 MB / 0.6773 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1887, allocations: 4 kB / 0.6773 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.1889, allocations: 55.97 kB / 0.6773 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002474/0.1914, allocations: 489.2 kB / 0.6778 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.1914, allocations: 15.98 kB / 0.6778 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.1933, allocations: 2.07 MB / 0.6798 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1933, allocations: 3.938 kB / 0.6798 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/0.1962, allocations: 1.087 MB / 0.6809 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.1964, allocations: 79.59 kB / 0.681 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.1965, allocations: 27.81 kB / 0.681 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.1967, allocations: 12.06 kB / 0.681 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.1968, allocations: 31.7 kB / 0.681 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.1968, allocations: 15.98 kB / 0.681 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004167/0.1972, allocations: 326.9 kB / 0.6814 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1972, allocations: 0 / 0.6814 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006705/0.1979, allocations: 179.6 kB / 0.6815 GB, free: 8.008 MB / 0.5137 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 (26): * Single equations (assignments): 24 * 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.0004285/0.1983, allocations: 286.9 kB / 0.6818 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009004/0.1992, allocations: 454.3 kB / 0.6822 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1992, allocations: 0 / 0.6822 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.1998, allocations: 298.9 kB / 0.6825 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.2005, allocations: 143 kB / 0.6827 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.2026, allocations: 1.113 MB / 0.6837 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.2029, allocations: 275.4 kB / 0.684 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.2031, allocations: 74.12 kB / 0.6841 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.574e-05/0.2032, allocations: 43.42 kB / 0.6841 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of SimCode: time 5.71e-07/0.2032, allocations: 0 / 0.6841 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of Templates: time 0.01861/0.2218, allocations: 10.38 MB / 0.6943 GB, free: 11.05 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/jenkins/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: 5.544279092922807]