Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001508/0.001508, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001542/0.001542, allocations: 216.9 kB / 23.01 MB, free: 4.609 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.342/1.342, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.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.7169/0.7169, allocations: 100.3 MB / 413.5 MB, free: 3.711 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_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|heatCapacitor.T|heatCapacitor1.T|thermalConvection.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_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.002487/0.002487, allocations: 83.67 kB / 0.5645 GB, free: 35.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1219, allocations: 74.46 MB / 0.6372 GB, free: 7.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.ConvectivePipe_serial): time 0.02825/0.1502, allocations: 23.35 MB / 0.66 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.1618, allocations: 9.571 MB / 0.6693 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008182/0.1626, allocations: 43.62 kB / 0.6694 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.1637, allocations: 405.2 kB / 0.6698 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.1661, allocations: 0.823 MB / 0.6706 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.1674, allocations: 474.3 kB / 0.671 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.1691, allocations: 1.174 MB / 0.6722 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003357/0.1694, allocations: 151.9 kB / 0.6723 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009121/0.1703, allocations: 0.494 MB / 0.6728 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006998/0.171, allocations: 445.7 kB / 0.6732 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1711, allocations: 60 kB / 0.6733 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.1725, allocations: 0.5229 MB / 0.6738 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.1727, allocations: 159.3 kB / 0.6739 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004926/0.1732, allocations: 441.5 kB / 0.6744 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.1753, allocations: 1.206 MB / 0.6755 GB, free: 15.75 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1753, allocations: 7.875 kB / 0.6756 GB, free: 15.74 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1753, allocations: 0 / 0.6756 GB, free: 15.74 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 3.158e-05/0.1753, allocations: 0 / 0.6756 GB, free: 15.74 MB / 0.5138 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.002421/0.1777, allocations: 1.208 MB / 0.6767 GB, free: 14.5 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1778, allocations: 8.031 kB / 0.6767 GB, free: 14.49 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003002/0.1781, allocations: 124.2 kB / 0.6769 GB, free: 14.37 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.1793, allocations: 0.5725 MB / 0.6774 GB, free: 13.77 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.1793, allocations: 49.25 kB / 0.6775 GB, free: 13.72 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.1794, allocations: 64 kB / 0.6775 GB, free: 13.66 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.1805, allocations: 0.6769 MB / 0.6782 GB, free: 12.96 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.1806, allocations: 4 kB / 0.6782 GB, free: 12.96 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.1806, allocations: 24 kB / 0.6782 GB, free: 12.93 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/0.1806, allocations: 16 kB / 0.6782 GB, free: 12.92 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.1817, allocations: 0.6454 MB / 0.6789 GB, free: 12.27 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/0.1857, allocations: 2.972 MB / 0.6818 GB, free: 9.059 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1868, allocations: 0.6291 MB / 0.6824 GB, free: 8.41 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004181/0.1873, allocations: 260.1 kB / 0.6826 GB, free: 8.152 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001805/0.1891, allocations: 1.068 MB / 0.6837 GB, free: 7.062 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.1891, allocations: 39.22 kB / 0.6837 GB, free: 7.016 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=66): time 1.744e-06/0.1891, allocations: 0 / 0.6837 GB, free: 7.016 MB / 0.5138 GB Notification: Performance of matching and sorting (n=66): time 0.009849/0.199, allocations: 2.213 MB / 0.6859 GB, free: 4.785 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.199, allocations: 93.69 kB / 0.686 GB, free: 4.676 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007372/0.1998, allocations: 0.5943 MB / 0.6865 GB, free: 4.074 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.1998, allocations: 37.7 kB / 0.6866 GB, free: 4.031 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.2001, allocations: 384.9 kB / 0.6869 GB, free: 3.652 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.2003, allocations: 238 kB / 0.6872 GB, free: 3.418 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.2005, allocations: 114.3 kB / 0.6873 GB, free: 3.301 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2006, allocations: 338 kB / 0.6876 GB, free: 2.965 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.201, allocations: 209.2 kB / 0.6878 GB, free: 2.758 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/0.2015, allocations: 298.8 kB / 0.6881 GB, free: 2.441 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.2024, allocations: 0.5397 MB / 0.6886 GB, free: 1.871 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2024, allocations: 4 kB / 0.6886 GB, free: 1.867 MB / 0.5138 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004956/0.2073, allocations: 1.385 MB / 0.69 GB, free: 476 kB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2073, allocations: 4 kB / 0.69 GB, free: 472 kB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2074, allocations: 4 kB / 0.69 GB, free: 468 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004929/0.2123, allocations: 0.943 MB / 0.6909 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.2126, allocations: 103.8 kB / 0.691 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.2154, allocations: 2.854 MB / 0.6938 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.2157, allocations: 55.56 kB / 0.6938 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.2158, allocations: 28 kB / 0.6939 GB, free: 12.3 MB / 0.5294 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.0002954/0.2161, allocations: 207.8 kB / 0.6941 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.2162, allocations: 83.44 kB / 0.6941 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005238/0.2215, allocations: 1.49 MB / 0.6956 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2215, allocations: 4 kB / 0.6956 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2215, allocations: 11.88 kB / 0.6956 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2215, allocations: 0 / 0.6956 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006097/0.2276, allocations: 2.119 MB / 0.6977 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.2276, allocations: 4 kB / 0.6977 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.2279, allocations: 72.09 kB / 0.6977 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004917/0.2328, allocations: 0.9391 MB / 0.6987 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.147e-05/0.2329, allocations: 23.98 kB / 0.6987 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/0.2356, allocations: 2.85 MB / 0.7015 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2356, allocations: 0 / 0.7015 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005453/0.2411, allocations: 1.779 MB / 0.7032 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003156/0.2414, allocations: 135.2 kB / 0.7033 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.2415, allocations: 15.95 kB / 0.7034 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003621/0.2418, allocations: 19.98 kB / 0.7034 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.2419, allocations: 44.52 kB / 0.7034 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.072e-05/0.242, allocations: 24.17 kB / 0.7034 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005626/0.2425, allocations: 431 kB / 0.7038 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.2425, allocations: 0 / 0.7038 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008746/0.2434, allocations: 299.3 kB / 0.7041 GB, free: 1.48 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.000627/0.244, allocations: 388.9 kB / 0.7045 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.2454, allocations: 0.668 MB / 0.7052 GB, free: 424 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2454, allocations: 0 / 0.7052 GB, free: 424 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007614/0.2462, allocations: 431 kB / 0.7056 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.2473, allocations: 222.1 kB / 0.7058 GB, free: 15.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002844/0.2501, allocations: 1.593 MB / 0.7073 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.2508, allocations: 0.9541 MB / 0.7083 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.2509, allocations: 63.42 kB / 0.7083 GB, free: 13.1 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.2509, allocations: 0 / 0.7083 GB, free: 13.1 MB / 0.545 GB Notification: Performance of Templates: time 0.0289/0.2798, allocations: 22.43 MB / 0.7302 GB, free: 6.707 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.ConvectivePipe_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 9.183408227982]