Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001791/0.001791, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002181/0.002181, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.7205/0.7205, allocations: 94.63 MB / 407.8 MB, free: 8.879 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.Processes.Tests.ConvectivePipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_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_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.002626/0.002626, allocations: 88.95 kB / 0.5562 GB, free: 38.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1123, allocations: 73.05 MB / 0.6275 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02046/0.1328, allocations: 16.14 MB / 0.6433 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008233/0.141, allocations: 6.214 MB / 0.6493 GB, free: 9.258 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005776/0.1416, allocations: 31.69 kB / 0.6494 GB, free: 9.227 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008748/0.1425, allocations: 254.2 kB / 0.6496 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00175/0.1442, allocations: 0.5551 MB / 0.6501 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/0.1452, allocations: 350.8 kB / 0.6505 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.1462, allocations: 0.8126 MB / 0.6513 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.1464, allocations: 98.09 kB / 0.6514 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006778/0.1471, allocations: 374.4 kB / 0.6517 GB, free: 6.789 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.1475, allocations: 266.4 kB / 0.652 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.867e-05/0.1476, allocations: 40 kB / 0.652 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007922/0.1484, allocations: 339.7 kB / 0.6523 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1485, allocations: 107.4 kB / 0.6524 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.1487, allocations: 234.7 kB / 0.6527 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.1499, allocations: 0.8403 MB / 0.6535 GB, free: 4.977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1499, allocations: 0 / 0.6535 GB, free: 4.977 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1499, allocations: 4 kB / 0.6535 GB, free: 4.973 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1499, allocations: 0 / 0.6535 GB, free: 4.973 MB / 494.1 MB 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.001686/0.1516, allocations: 0.909 MB / 0.6544 GB, free: 4.031 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1517, allocations: 8.031 kB / 0.6544 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.1519, allocations: 84.47 kB / 0.6545 GB, free: 3.941 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009324/0.1529, allocations: 462.1 kB / 0.6549 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.1529, allocations: 36.94 kB / 0.6549 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.153, allocations: 40 kB / 0.655 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008232/0.1538, allocations: 467.8 kB / 0.6554 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1538, allocations: 0 / 0.6554 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.949e-05/0.1538, allocations: 19.98 kB / 0.6554 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1539, allocations: 11.94 kB / 0.6555 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.1546, allocations: 419.7 kB / 0.6559 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.1569, allocations: 1.411 MB / 0.6572 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.1576, allocations: 377.4 kB / 0.6576 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.158, allocations: 172.7 kB / 0.6578 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.159, allocations: 0.6009 MB / 0.6583 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.159, allocations: 38.89 kB / 0.6584 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.764e-06/0.159, allocations: 0 / 0.6584 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.005796/0.1648, allocations: 1.302 MB / 0.6597 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.1649, allocations: 85.05 kB / 0.6597 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/0.1655, allocations: 458.8 kB / 0.6602 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.1655, allocations: 29.7 kB / 0.6602 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.1657, allocations: 300.6 kB / 0.6605 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.1659, allocations: 146.7 kB / 0.6606 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.166, allocations: 78.16 kB / 0.6607 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.1662, allocations: 370.8 kB / 0.6611 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.1664, allocations: 124.8 kB / 0.6612 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.1667, allocations: 194.2 kB / 0.6614 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/0.1673, allocations: 337.9 kB / 0.6617 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1673, allocations: 0 / 0.6617 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002749/0.1701, allocations: 0.8029 MB / 0.6625 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1701, allocations: 4 kB / 0.6625 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1701, allocations: 4 kB / 0.6625 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/0.1728, allocations: 497.2 kB / 0.663 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.173, allocations: 63.91 kB / 0.663 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00209/0.1751, allocations: 2.075 MB / 0.665 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.1754, allocations: 35.77 kB / 0.6651 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.1754, allocations: 16 kB / 0.6651 GB, free: 8.664 MB / 0.4981 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.0002565/0.1757, allocations: 173.7 kB / 0.6653 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.1758, allocations: 55.62 kB / 0.6653 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.1787, allocations: 0.8536 MB / 0.6661 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1787, allocations: 8 kB / 0.6661 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1787, allocations: 0 / 0.6661 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1787, allocations: 7.984 kB / 0.6662 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003453/0.1822, allocations: 1.219 MB / 0.6673 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1822, allocations: 0 / 0.6673 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.1824, allocations: 51.97 kB / 0.6674 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002671/0.185, allocations: 497.2 kB / 0.6679 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.1851, allocations: 12 kB / 0.6679 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/0.1872, allocations: 2.067 MB / 0.6699 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.1872, allocations: 0 / 0.6699 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/0.1903, allocations: 1.095 MB / 0.671 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.1905, allocations: 91.48 kB / 0.6711 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.1906, allocations: 11.94 kB / 0.6711 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.1908, allocations: 12 kB / 0.6711 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.1909, allocations: 31.94 kB / 0.6711 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.1909, allocations: 12 kB / 0.6711 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000426/0.1914, allocations: 326.9 kB / 0.6714 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1914, allocations: 3.938 kB / 0.6714 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006494/0.192, allocations: 191.6 kB / 0.6716 GB, free: 1.734 MB / 0.4981 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.0004138/0.1924, allocations: 279 kB / 0.6719 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009213/0.1933, allocations: 458.2 kB / 0.6723 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1933, allocations: 0 / 0.6723 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005825/0.1939, allocations: 302.4 kB / 0.6726 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.1947, allocations: 147.5 kB / 0.6728 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.1968, allocations: 1.14 MB / 0.6739 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1971, allocations: 275.4 kB / 0.6741 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.1972, allocations: 47.42 kB / 0.6742 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of SimCode: time 4.4e-07/0.1972, allocations: 7.938 kB / 0.6742 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of Templates: time 0.01806/0.2152, allocations: 13.51 MB / 0.6874 GB, free: 1.512 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_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_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.724144373089075]