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.001848/0.001848, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002314/0.002314, allocations: 217.3 kB / 22.25 MB, free: 5.121 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.977 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.7949/0.7949, allocations: 100.3 MB / 412.7 MB, free: 3.633 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.002627/0.002627, allocations: 86.55 kB / 0.5638 GB, free: 35.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1144, allocations: 74.46 MB / 0.6365 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02106/0.1354, allocations: 17.72 MB / 0.6538 GB, free: 5.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008405/0.1438, allocations: 6.868 MB / 0.6605 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005158/0.1443, allocations: 35.69 kB / 0.6605 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007477/0.1451, allocations: 286 kB / 0.6608 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.1465, allocations: 0.5551 MB / 0.6613 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008549/0.1473, allocations: 366.7 kB / 0.6617 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.1483, allocations: 0.8088 MB / 0.6625 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.1486, allocations: 102 kB / 0.6626 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000664/0.1492, allocations: 378.3 kB / 0.6629 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004106/0.1496, allocations: 298.4 kB / 0.6632 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.108e-05/0.1497, allocations: 40 kB / 0.6633 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000983/0.1507, allocations: 371.6 kB / 0.6636 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.1508, allocations: 111.5 kB / 0.6637 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000314/0.1511, allocations: 302.2 kB / 0.664 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.1524, allocations: 0.8326 MB / 0.6648 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1524, allocations: 0 / 0.6648 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1524, allocations: 0 / 0.6648 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.1525, allocations: 0 / 0.6648 GB, free: 9.988 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.001683/0.1541, allocations: 0.9207 MB / 0.6657 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1542, allocations: 17.45 kB / 0.6657 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.1544, allocations: 76.47 kB / 0.6658 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.1553, allocations: 466.1 kB / 0.6663 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.1553, allocations: 32.94 kB / 0.6663 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.1554, allocations: 40 kB / 0.6663 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/0.1562, allocations: 467.8 kB / 0.6668 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.1562, allocations: 0 / 0.6668 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.1562, allocations: 16 kB / 0.6668 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.1562, allocations: 12 kB / 0.6668 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007568/0.157, allocations: 427.7 kB / 0.6672 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.1599, allocations: 2.03 MB / 0.6692 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007333/0.1606, allocations: 383.9 kB / 0.6695 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.1609, allocations: 165.7 kB / 0.6697 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/0.1622, allocations: 0.7772 MB / 0.6705 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.1623, allocations: 46.88 kB / 0.6705 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.753e-06/0.1623, allocations: 0 / 0.6705 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.006306/0.1686, allocations: 1.305 MB / 0.6718 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.1686, allocations: 88.98 kB / 0.6719 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005995/0.1692, allocations: 479 kB / 0.6723 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.1693, allocations: 33.7 kB / 0.6724 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.1695, allocations: 288.7 kB / 0.6726 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1696, allocations: 146.8 kB / 0.6728 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.1698, allocations: 78.12 kB / 0.6728 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001868/0.17, allocations: 366.8 kB / 0.6732 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.1702, allocations: 124.8 kB / 0.6733 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.1705, allocations: 197.8 kB / 0.6735 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.1711, allocations: 335.8 kB / 0.6738 GB, free: 368 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1711, allocations: 3.984 kB / 0.6738 GB, free: 364 kB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002978/0.1741, allocations: 0.7952 MB / 0.6746 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.1741, allocations: 8 kB / 0.6746 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1741, allocations: 0 / 0.6746 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/0.177, allocations: 497.2 kB / 0.6751 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.1773, allocations: 67.91 kB / 0.6752 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.1794, allocations: 2.113 MB / 0.6772 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.1796, allocations: 31.78 kB / 0.6772 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.1797, allocations: 19.94 kB / 0.6773 GB, free: 12.68 MB / 0.5137 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.0002396/0.1799, allocations: 165.8 kB / 0.6774 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.18, allocations: 63.56 kB / 0.6775 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003121/0.1832, allocations: 0.8619 MB / 0.6783 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.1832, allocations: 7.938 kB / 0.6783 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1832, allocations: 4 kB / 0.6783 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1832, allocations: 0 / 0.6783 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/0.1869, allocations: 1.351 MB / 0.6797 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1869, allocations: 3.938 kB / 0.6797 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.1871, allocations: 47.98 kB / 0.6797 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/0.1899, allocations: 493.2 kB / 0.6802 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.1899, allocations: 16 kB / 0.6802 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002013/0.1919, allocations: 2.107 MB / 0.6823 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1919, allocations: 0 / 0.6823 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.1952, allocations: 1.104 MB / 0.6833 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.1954, allocations: 99.42 kB / 0.6834 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.1955, allocations: 12 kB / 0.6834 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.1957, allocations: 11.94 kB / 0.6834 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.1958, allocations: 31.94 kB / 0.6835 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.1959, allocations: 12.06 kB / 0.6835 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004402/0.1963, allocations: 350.8 kB / 0.6838 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1963, allocations: 0 / 0.6838 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006595/0.197, allocations: 191.6 kB / 0.684 GB, free: 5.504 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 (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.0004513/0.1974, allocations: 300.4 kB / 0.6843 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009462/0.1984, allocations: 465.6 kB / 0.6847 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1984, allocations: 0 / 0.6847 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.1989, allocations: 299 kB / 0.685 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009076/0.1998, allocations: 162 kB / 0.6852 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.2019, allocations: 1.128 MB / 0.6863 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.2025, allocations: 0.8744 MB / 0.6871 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002493/0.2027, allocations: 79.39 kB / 0.6872 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.2028, allocations: 43.44 kB / 0.6872 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.2028, allocations: 0 / 0.6872 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of Templates: time 0.02042/0.2232, allocations: 10.9 MB / 0.6979 GB, free: 7.293 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.872968359384686]