Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.0014/0.0014, allocations: 114.3 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.001647/0.001647, allocations: 211.9 kB / 22.25 MB, free: 5.086 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 8.035 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.7644/0.7644, allocations: 94.56 MB / 407 MB, free: 9.227 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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") translateModel(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial") [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.002666/0.002666, allocations: 88.84 kB / 0.5554 GB, free: 38.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1267, allocations: 73.06 MB / 0.6268 GB, free: 16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02853/0.1552, allocations: 23.35 MB / 0.6496 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.1679, allocations: 9.571 MB / 0.6589 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009297/0.1689, allocations: 47.56 kB / 0.659 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.1701, allocations: 413.1 kB / 0.6594 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.1726, allocations: 0.819 MB / 0.6602 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.1739, allocations: 474.3 kB / 0.6606 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001706/0.1756, allocations: 1.166 MB / 0.6617 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003211/0.1759, allocations: 148 kB / 0.6619 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008929/0.1768, allocations: 0.5018 MB / 0.6624 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006361/0.1774, allocations: 445.8 kB / 0.6628 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.1775, allocations: 60 kB / 0.6629 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.179, allocations: 0.5229 MB / 0.6634 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.1792, allocations: 163.2 kB / 0.6635 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004691/0.1797, allocations: 441.5 kB / 0.6639 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.1818, allocations: 1.206 MB / 0.6651 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1818, allocations: 4 kB / 0.6651 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1818, allocations: 0 / 0.6651 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.909e-05/0.1818, allocations: 0 / 0.6651 GB, free: 8.543 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002448/0.1842, allocations: 1.216 MB / 0.6663 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1843, allocations: 12.02 kB / 0.6663 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.1846, allocations: 112.3 kB / 0.6664 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.1858, allocations: 0.5918 MB / 0.667 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.1858, allocations: 45.31 kB / 0.6671 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.1859, allocations: 64 kB / 0.6671 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.1871, allocations: 0.6731 MB / 0.6678 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.1871, allocations: 7.938 kB / 0.6678 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.405e-05/0.1872, allocations: 24 kB / 0.6678 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1872, allocations: 16 kB / 0.6678 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.1883, allocations: 0.6414 MB / 0.6684 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004315/0.1926, allocations: 2.972 MB / 0.6714 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.1938, allocations: 0.6407 MB / 0.672 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.1943, allocations: 255.6 kB / 0.6722 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/0.1963, allocations: 1.056 MB / 0.6733 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.1963, allocations: 39.22 kB / 0.6733 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=66): time 2.155e-06/0.1963, allocations: 0 / 0.6733 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66): time 0.01046/0.2068, allocations: 2.217 MB / 0.6755 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.2068, allocations: 85.77 kB / 0.6755 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008653/0.2077, allocations: 0.5943 MB / 0.6761 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/0.2077, allocations: 33.7 kB / 0.6761 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.2081, allocations: 392.9 kB / 0.6765 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/0.2083, allocations: 242 kB / 0.6768 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.2085, allocations: 114.3 kB / 0.6769 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2087, allocations: 338 kB / 0.6772 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003954/0.2091, allocations: 209.2 kB / 0.6774 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/0.2095, allocations: 298.8 kB / 0.6777 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009184/0.2105, allocations: 0.5397 MB / 0.6782 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2105, allocations: 4 kB / 0.6782 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00543/0.2159, allocations: 1.385 MB / 0.6796 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2159, allocations: 5.719 kB / 0.6796 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2159, allocations: 4 kB / 0.6796 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005369/0.2213, allocations: 0.943 MB / 0.6805 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.2217, allocations: 103.8 kB / 0.6806 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/0.2247, allocations: 2.841 MB / 0.6834 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.2252, allocations: 67.64 kB / 0.6834 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.2253, allocations: 27.98 kB / 0.6834 GB, free: 5.086 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003648/0.2256, allocations: 193.7 kB / 0.6836 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.2258, allocations: 83.42 kB / 0.6837 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005599/0.2314, allocations: 1.499 MB / 0.6852 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.2314, allocations: 4 kB / 0.6852 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.2314, allocations: 8.125 kB / 0.6852 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.2315, allocations: 3.984 kB / 0.6852 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006569/0.238, allocations: 2.119 MB / 0.6873 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.238, allocations: 8.031 kB / 0.6873 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.2384, allocations: 71.91 kB / 0.6873 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005244/0.2436, allocations: 0.939 MB / 0.6883 GB, free: 60 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.427e-05/0.2437, allocations: 16 kB / 0.6883 GB, free: 44 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.2466, allocations: 2.85 MB / 0.6911 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2466, allocations: 4.125 kB / 0.6911 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005942/0.2526, allocations: 1.783 MB / 0.6928 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.2529, allocations: 135.2 kB / 0.6929 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.673e-05/0.253, allocations: 20 kB / 0.6929 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.2534, allocations: 16 kB / 0.693 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.2535, allocations: 40.56 kB / 0.693 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.2536, allocations: 24 kB / 0.693 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005812/0.2541, allocations: 431 kB / 0.6934 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2541, allocations: 3.938 kB / 0.6934 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009249/0.2551, allocations: 299.3 kB / 0.6937 GB, free: 10.26 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,11), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006241/0.2557, allocations: 391.5 kB / 0.6941 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.2571, allocations: 0.6757 MB / 0.6948 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2571, allocations: 0 / 0.6948 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007885/0.2579, allocations: 422.9 kB / 0.6952 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.2591, allocations: 217.8 kB / 0.6954 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.2619, allocations: 1.563 MB / 0.6969 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.2626, allocations: 0.9502 MB / 0.6978 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004079/0.263, allocations: 106.5 kB / 0.6979 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.2631, allocations: 59.42 kB / 0.698 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.2631, allocations: 0 / 0.698 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of Templates: time 0.03088/0.294, allocations: 16.52 MB / 0.7141 GB, free: 5.465 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.378598469309509]