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.001251/0.001251, allocations: 80.91 kB / 19.76 MB, free: 1.898 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.001353/0.001353, allocations: 163.6 kB / 23.01 MB, free: 4.574 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.349/1.349, allocations: 177.2 MB / 203.4 MB, free: 9.25 MB / 190.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.7079/0.7079, allocations: 79.61 MB / 339.4 MB, free: 11.52 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.002439/0.002439, allocations: 88.22 kB / 0.4924 GB, free: 26.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1094, allocations: 74.58 MB / 0.5652 GB, free: 6.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.01879/0.1282, allocations: 16.07 MB / 0.5809 GB, free: 6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007669/0.1359, allocations: 6.19 MB / 0.5869 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005404/0.1364, allocations: 31.69 kB / 0.587 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000682/0.1371, allocations: 254.2 kB / 0.5872 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.1385, allocations: 0.5513 MB / 0.5877 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007988/0.1393, allocations: 354.8 kB / 0.5881 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008736/0.1401, allocations: 0.8126 MB / 0.5889 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.1403, allocations: 102 kB / 0.589 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007338/0.1411, allocations: 0.4982 MB / 0.5895 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003566/0.1414, allocations: 278.4 kB / 0.5897 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.419e-05/0.1415, allocations: 40 kB / 0.5898 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000732/0.1422, allocations: 327.7 kB / 0.5901 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1424, allocations: 111.4 kB / 0.5902 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.1426, allocations: 242.7 kB / 0.5904 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.1438, allocations: 0.8326 MB / 0.5912 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1438, allocations: 4 kB / 0.5912 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1438, allocations: 0 / 0.5912 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.1438, allocations: 0 / 0.5912 GB, free: 11.36 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.001579/0.1454, allocations: 0.9245 MB / 0.5921 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1454, allocations: 13.47 kB / 0.5921 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.1456, allocations: 84.45 kB / 0.5922 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/0.1465, allocations: 454.2 kB / 0.5927 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.1465, allocations: 32.94 kB / 0.5927 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.1466, allocations: 44 kB / 0.5927 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.1473, allocations: 459.8 kB / 0.5932 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1474, allocations: 4 kB / 0.5932 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.1474, allocations: 20 kB / 0.5932 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1474, allocations: 8 kB / 0.5932 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006889/0.1481, allocations: 411.7 kB / 0.5936 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.1504, allocations: 1.415 MB / 0.595 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.1511, allocations: 383.6 kB / 0.5953 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.1514, allocations: 165.6 kB / 0.5955 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009983/0.1524, allocations: 0.601 MB / 0.5961 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.1524, allocations: 46.81 kB / 0.5961 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.743e-06/0.1524, allocations: 4 kB / 0.5961 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.005687/0.1581, allocations: 1.294 MB / 0.5974 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.1581, allocations: 92.97 kB / 0.5975 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.1587, allocations: 454.8 kB / 0.5979 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.1587, allocations: 37.7 kB / 0.598 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.159, allocations: 296.6 kB / 0.5982 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.1591, allocations: 150.8 kB / 0.5984 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.1592, allocations: 74.19 kB / 0.5985 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1594, allocations: 366.8 kB / 0.5988 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.1596, allocations: 125 kB / 0.5989 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.1599, allocations: 194.9 kB / 0.5991 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005561/0.1605, allocations: 337.8 kB / 0.5994 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1605, allocations: 0 / 0.5994 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002689/0.1632, allocations: 0.799 MB / 0.6002 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1632, allocations: 11.94 kB / 0.6002 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1632, allocations: 0 / 0.6002 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/0.1658, allocations: 497.2 kB / 0.6007 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.166, allocations: 67.91 kB / 0.6008 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.168, allocations: 2.075 MB / 0.6028 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.1683, allocations: 31.73 kB / 0.6028 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.1683, allocations: 16 kB / 0.6028 GB, free: 15.05 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.0002407/0.1685, allocations: 173.7 kB / 0.603 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.1687, allocations: 51.81 kB / 0.603 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.1714, allocations: 0.8603 MB / 0.6039 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1714, allocations: 8 kB / 0.6039 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1714, allocations: 0 / 0.6039 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1714, allocations: 7.984 kB / 0.6039 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.1747, allocations: 1.215 MB / 0.6051 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1747, allocations: 0 / 0.6051 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.1749, allocations: 51.91 kB / 0.6051 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/0.1775, allocations: 493.3 kB / 0.6056 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.1775, allocations: 19.98 kB / 0.6056 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.1794, allocations: 2.059 MB / 0.6076 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1794, allocations: 12.09 kB / 0.6076 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.1825, allocations: 1.091 MB / 0.6087 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.1827, allocations: 79.59 kB / 0.6088 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.1828, allocations: 23.83 kB / 0.6088 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.183, allocations: 11.98 kB / 0.6088 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.1831, allocations: 27.7 kB / 0.6089 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.1831, allocations: 19.98 kB / 0.6089 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004003/0.1835, allocations: 318.9 kB / 0.6092 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1835, allocations: 0 / 0.6092 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006314/0.1842, allocations: 187.7 kB / 0.6094 GB, free: 8.117 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.0003933/0.1846, allocations: 283.1 kB / 0.6096 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009351/0.1855, allocations: 454.3 kB / 0.6101 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1855, allocations: 0 / 0.6101 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.186, allocations: 306.3 kB / 0.6103 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007798/0.1868, allocations: 151.9 kB / 0.6105 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.1887, allocations: 1.107 MB / 0.6116 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.189, allocations: 271.6 kB / 0.6118 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.1892, allocations: 76.48 kB / 0.6119 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.1893, allocations: 44.48 kB / 0.6119 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.1893, allocations: 0 / 0.6119 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of Templates: time 0.01717/0.2065, allocations: 9.59 MB / 0.6213 GB, free: 11.93 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -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: 5.300120098982006]