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.001728/0.001728, allocations: 113 kB / 18.94 MB, free: 2.934 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.001965/0.001965, allocations: 209.3 kB / 22.25 MB, free: 5.082 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.996 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.7913/0.7913, allocations: 94.55 MB / 407 MB, free: 9.188 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.002664/0.002664, allocations: 87.62 kB / 0.5554 GB, free: 38.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1239, allocations: 73.06 MB / 0.6268 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe): time 0.02192/0.1458, allocations: 17.72 MB / 0.6441 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009219/0.155, allocations: 6.868 MB / 0.6508 GB, free: 7.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006376/0.1557, allocations: 31.69 kB / 0.6508 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008014/0.1565, allocations: 290 kB / 0.6511 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.1581, allocations: 0.5473 MB / 0.6516 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009978/0.1591, allocations: 366.7 kB / 0.652 GB, free: 6.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.1603, allocations: 0.8165 MB / 0.6528 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002438/0.1605, allocations: 98.03 kB / 0.6529 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006713/0.1612, allocations: 362.5 kB / 0.6532 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.1616, allocations: 310.4 kB / 0.6535 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.271e-05/0.1617, allocations: 40 kB / 0.6535 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009922/0.1627, allocations: 375.6 kB / 0.6539 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.1628, allocations: 115.4 kB / 0.654 GB, free: 3.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.1631, allocations: 298.2 kB / 0.6543 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1645, allocations: 0.8403 MB / 0.6551 GB, free: 2.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1645, allocations: 0 / 0.6551 GB, free: 2.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1645, allocations: 0 / 0.6551 GB, free: 2.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.1645, allocations: 4 kB / 0.6551 GB, free: 2.828 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.00177/0.1663, allocations: 0.9129 MB / 0.656 GB, free: 1.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.1663, allocations: 11.97 kB / 0.656 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.1665, allocations: 80.45 kB / 0.6561 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.1674, allocations: 458.2 kB / 0.6565 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.1674, allocations: 32.94 kB / 0.6566 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.1675, allocations: 44 kB / 0.6566 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.1683, allocations: 471.8 kB / 0.6571 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1683, allocations: 3.938 kB / 0.6571 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.1683, allocations: 20 kB / 0.6571 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1683, allocations: 8 kB / 0.6571 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/0.1691, allocations: 423.7 kB / 0.6575 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.1719, allocations: 2.022 MB / 0.6595 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/0.1726, allocations: 386.9 kB / 0.6598 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.1729, allocations: 164.7 kB / 0.66 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.1742, allocations: 0.7804 MB / 0.6608 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.1743, allocations: 46.89 kB / 0.6608 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=41): time 1.503e-06/0.1743, allocations: 0 / 0.6608 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.006341/0.1806, allocations: 1.302 MB / 0.6621 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.1807, allocations: 97.02 kB / 0.6622 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006156/0.1813, allocations: 474.9 kB / 0.6626 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.1814, allocations: 37.7 kB / 0.6627 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/0.1816, allocations: 292.7 kB / 0.6629 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.1817, allocations: 146.8 kB / 0.6631 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.1819, allocations: 70.12 kB / 0.6631 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002133/0.1821, allocations: 374.7 kB / 0.6635 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.1823, allocations: 124.8 kB / 0.6636 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.1826, allocations: 185.8 kB / 0.6638 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.1832, allocations: 335 kB / 0.6641 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1832, allocations: 0 / 0.6641 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002938/0.1861, allocations: 0.8069 MB / 0.6649 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1862, allocations: 8 kB / 0.6649 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.1862, allocations: 3.984 kB / 0.6649 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.1891, allocations: 0.4895 MB / 0.6654 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.1893, allocations: 59.91 kB / 0.6655 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00215/0.1915, allocations: 2.11 MB / 0.6675 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.1918, allocations: 35.75 kB / 0.6675 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.1918, allocations: 19.94 kB / 0.6676 GB, free: 5.523 MB / 0.4981 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.0002445/0.192, allocations: 165.8 kB / 0.6677 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.1922, allocations: 59.62 kB / 0.6678 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.1953, allocations: 0.866 MB / 0.6686 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1953, allocations: 4 kB / 0.6686 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1953, allocations: 4 kB / 0.6686 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.1953, allocations: 3.984 kB / 0.6686 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00376/0.1991, allocations: 1.343 MB / 0.6699 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1991, allocations: 0 / 0.6699 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.1993, allocations: 51.97 kB / 0.67 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002785/0.2021, allocations: 0.4933 MB / 0.6705 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.2021, allocations: 15.98 kB / 0.6705 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.2042, allocations: 2.09 MB / 0.6725 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2042, allocations: 0 / 0.6725 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00334/0.2075, allocations: 1.119 MB / 0.6736 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/0.2077, allocations: 91.48 kB / 0.6737 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.2078, allocations: 15.94 kB / 0.6737 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.2081, allocations: 11.94 kB / 0.6737 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.362e-05/0.2081, allocations: 36 kB / 0.6738 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.2082, allocations: 12 kB / 0.6738 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004442/0.2086, allocations: 350.8 kB / 0.6741 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2086, allocations: 3.938 kB / 0.6741 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006825/0.2093, allocations: 191.6 kB / 0.6743 GB, free: 14.34 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.0004571/0.2097, allocations: 305.1 kB / 0.6746 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009757/0.2107, allocations: 449.9 kB / 0.675 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2107, allocations: 0 / 0.675 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.2112, allocations: 302.9 kB / 0.6753 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008919/0.2121, allocations: 157.8 kB / 0.6755 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.2142, allocations: 1.123 MB / 0.6766 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.2148, allocations: 0.8705 MB / 0.6774 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002696/0.215, allocations: 84.52 kB / 0.6775 GB, free: 11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.2152, allocations: 51.36 kB / 0.6775 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.2152, allocations: 0 / 0.6775 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.02076/0.2359, allocations: 10.91 MB / 0.6882 GB, free: 140 kB / 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/jenkins/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: 6.171002845279872]