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.00151/0.00151, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001723/0.001723, allocations: 158 kB / 23.01 MB, free: 4.59 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.357/1.357, allocations: 177.2 MB / 203.4 MB, free: 9.027 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.7002/0.7002, allocations: 79.61 MB / 339.4 MB, free: 11.05 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.00245/0.00245, allocations: 87.69 kB / 0.4924 GB, free: 26.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.111, allocations: 74.58 MB / 0.5652 GB, free: 6.055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.0189/0.1299, allocations: 16.14 MB / 0.581 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007807/0.1377, allocations: 6.21 MB / 0.587 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005137/0.1382, allocations: 35.69 kB / 0.5871 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007321/0.139, allocations: 250.2 kB / 0.5873 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.1404, allocations: 0.5551 MB / 0.5878 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.1412, allocations: 350.8 kB / 0.5882 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009263/0.1421, allocations: 0.8204 MB / 0.589 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.1423, allocations: 90 kB / 0.5891 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006211/0.1429, allocations: 374.4 kB / 0.5894 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.1433, allocations: 282.4 kB / 0.5897 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.271e-05/0.1434, allocations: 36 kB / 0.5897 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007288/0.1441, allocations: 327.7 kB / 0.59 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.1442, allocations: 111.4 kB / 0.5901 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.1445, allocations: 230.8 kB / 0.5904 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.1457, allocations: 0.8403 MB / 0.5912 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1457, allocations: 4 kB / 0.5912 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.91e-07/0.1457, allocations: 0 / 0.5912 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.1457, allocations: 0 / 0.5912 GB, free: 11.32 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.001567/0.1472, allocations: 0.9167 MB / 0.5921 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1473, allocations: 12.03 kB / 0.5921 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.1475, allocations: 84.45 kB / 0.5922 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008434/0.1483, allocations: 454.2 kB / 0.5926 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.1484, allocations: 40.94 kB / 0.5926 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.1485, allocations: 40 kB / 0.5927 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.1492, allocations: 463.8 kB / 0.5931 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1492, allocations: 0 / 0.5931 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.1492, allocations: 19.98 kB / 0.5931 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.1492, allocations: 12 kB / 0.5932 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000667/0.1499, allocations: 415.7 kB / 0.5935 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.1521, allocations: 1.411 MB / 0.5949 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.1528, allocations: 385.3 kB / 0.5953 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.1531, allocations: 161.7 kB / 0.5954 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009514/0.154, allocations: 0.601 MB / 0.596 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.154, allocations: 42.89 kB / 0.5961 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.423e-06/0.154, allocations: 4 kB / 0.5961 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.005641/0.1597, allocations: 1.302 MB / 0.5973 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.1597, allocations: 85.05 kB / 0.5974 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.1603, allocations: 458.8 kB / 0.5979 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.1603, allocations: 33.7 kB / 0.5979 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.1606, allocations: 300.6 kB / 0.5982 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.1607, allocations: 146.8 kB / 0.5983 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.1608, allocations: 70.19 kB / 0.5984 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.161, allocations: 366.8 kB / 0.5987 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.1612, allocations: 132.9 kB / 0.5989 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.1615, allocations: 194.8 kB / 0.5991 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.162, allocations: 339.3 kB / 0.5994 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1621, allocations: 0 / 0.5994 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002684/0.1647, allocations: 0.7989 MB / 0.6002 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1648, allocations: 11.92 kB / 0.6002 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.1648, allocations: 4 kB / 0.6002 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/0.1674, allocations: 497.2 kB / 0.6006 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.1676, allocations: 63.91 kB / 0.6007 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.1696, allocations: 2.079 MB / 0.6027 GB, free: 15.05 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.1699, allocations: 35.72 kB / 0.6028 GB, free: 15.01 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.1699, allocations: 19.98 kB / 0.6028 GB, free: 14.99 MB / 0.5138 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.0002533/0.1702, allocations: 172.3 kB / 0.603 GB, free: 14.82 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1703, allocations: 51.67 kB / 0.603 GB, free: 14.77 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002828/0.1731, allocations: 0.857 MB / 0.6038 GB, free: 13.89 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.1731, allocations: 8 kB / 0.6039 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1731, allocations: 0 / 0.6039 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1731, allocations: 0 / 0.6039 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.1764, allocations: 1.219 MB / 0.605 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.1764, allocations: 4 kB / 0.605 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.1766, allocations: 47.92 kB / 0.6051 GB, free: 12.56 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002527/0.1791, allocations: 497.2 kB / 0.6056 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.1792, allocations: 16 kB / 0.6056 GB, free: 12.05 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.181, allocations: 2.067 MB / 0.6076 GB, free: 9.852 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.181, allocations: 3.938 kB / 0.6076 GB, free: 9.848 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00305/0.1841, allocations: 1.099 MB / 0.6087 GB, free: 8.719 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.1843, allocations: 79.55 kB / 0.6088 GB, free: 8.641 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.1844, allocations: 23.83 kB / 0.6088 GB, free: 8.617 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.1846, allocations: 8 kB / 0.6088 GB, free: 8.609 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/0.1847, allocations: 35.69 kB / 0.6088 GB, free: 8.574 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.1847, allocations: 12 kB / 0.6088 GB, free: 8.562 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0003923/0.1851, allocations: 326.9 kB / 0.6091 GB, free: 8.246 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/0.1851, allocations: 0 / 0.6091 GB, free: 8.246 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0006308/0.1857, allocations: 183.6 kB / 0.6093 GB, free: 8.066 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 (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.000417/0.1862, allocations: 283 kB / 0.6096 GB, free: 7.781 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0008822/0.187, allocations: 454.3 kB / 0.61 GB, free: 7.324 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.187, allocations: 0 / 0.61 GB, free: 7.324 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.1875, allocations: 298.4 kB / 0.6103 GB, free: 7.02 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.1883, allocations: 146.2 kB / 0.6104 GB, free: 6.887 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1902, allocations: 1.119 MB / 0.6115 GB, free: 5.734 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.1905, allocations: 267.6 kB / 0.6118 GB, free: 5.449 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0002241/0.1907, allocations: 77.23 kB / 0.6119 GB, free: 5.375 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.1908, allocations: 44.48 kB / 0.6119 GB, free: 5.332 MB / 0.5138 GB Notification: Performance of SimCode: time 5.71e-07/0.1908, allocations: 0 / 0.6119 GB, free: 5.332 MB / 0.5138 GB Notification: Performance of Templates: time 0.01805/0.2088, allocations: 9.592 MB / 0.6213 GB, free: 11.88 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 ida -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.430338134989142]